sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #57387
Re: [Question #698070]: Basic use for multiple platforms/browsers
Question #698070 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/698070
Status: Open => Answered
RaiMan proposed the following answer:
--- Is there a way to exclude an area of a region?
A Region is the area on the screen, where a given image is searched in.
It is always a regular rectangle.
If you mean, that the given image to search for, has a part, that should be ignored, because it varies, then you can try with the transparency feature (transparent parts of the image are ignored):
https://sikulix-2014.readthedocs.io/en/latest/pattern.html#pattern (topic masking).
--- determining the browser
... is not possible with SikuliX, since SikuliX does not know anything about the application it is acting on (only pixels on the screen).
You have to use something, that runs in the browser and creates something you can detect with SikuliX (Javascript, ...).
search the net for possible solutions.
... or ask your developers ;-)
--
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.