questions about sikulifirefoxdriver
I just discovered sikuli and I am having some trouble getting the SikuliFirefoxDriver to work the way I would like. I am trying to use Sikuli (and selenium) to click on buttons in a flash program running in my browser. If I try to do it manually by grabbing a screenshot of the desktop, it works:
ScreenRegion s = new DesktopScreenRe
Target target = new ImageTarget(new File("2button.
ScreenRegion r = s.find(target);
Mouse mouse = new DesktopMouse();
mouse.click(
but if I try to use the SikuliFirefoxDriver
ImageElement image = driver.
image.click();
I get a casting error when it finds the image:
Exception in thread "Thread-4" java.lang.
at org.sikuli.
at org.sikuli.
I don't understand why a String or a WebElement would show up there.
Also, how do I turn on OCR feature in SikuliFirefoxDr
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Dan for more information if necessary.