amitbanerjee28 / sikuli-api

Automatically exported from code.google.com/p/sikuli-api
0 stars 0 forks source link

ImageElement.click() doesn't do anything (although image is recognized) #34

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a simple application with Sikuli that recognizes an image in a page 
and clicks it

SikuliFirefoxDriver driver = new SikuliFirefoxDriver();         
driver.get("http://www.wesite.com/");

ImageElement image = driver.findImageElement(new 
File("/image/path").toURI().toURL());
image.click();

2. Run it
3. Nothing happens

What is the expected output? What do you see instead?
By debugging, I can see that the ImageElement is recognized (it's x and y 
values are correct) but clicking on the element doesn't do anything.
I've tried several buttons in the same page (both HTML and within Flash 
content) but nothing never happens.

What version of the product are you using? On what operating system?
Sikuli webdriver 1.0.1 over Ubuntu 12.04 64 bit. OpenCV 2.4.

Original issue reported on code.google.com by enrico.sartorello@gmail.com on 17 Mar 2013 at 5:32

GoogleCodeExporter commented 8 years ago
use Selenium webdriver instead:
http://docs.seleniumhq.org/docs/03_webdriver.jsp

Original comment by miglecz on 24 Jul 2013 at 10:58

GoogleCodeExporter commented 8 years ago
Sikuli Firefox driver click on image element doesn't trigger an event.

Original comment by chaithr...@gmail.com on 26 Aug 2013 at 1:47