Closed lukeis closed 8 years ago
Sorry, in windows 7 with FF 10.0.2 it does not work too
Reported by dbrandib
on 2012-03-02 00:06:09
In windows 7 with 2.19.0 it works
Reported by dbrandib
on 2012-03-02 00:26:57
In ubuntu 8.04 with FF 10.0.2 and selenium 2.19.0 it does not work
Reported by dbrandib
on 2012-03-02 00:41:51
Clicking on links inside divs isn't broken *in general*, we have tests that cover this
functionality and are passing. Please provide a code example (i.e. HTML/CSS/JS + Selenium
code) to reproduce the problem - as is there's no actionable information in this bug
report.
Reported by jari.bakken
on 2012-03-05 06:56:06
NeedsClarification
Hi again,
html code is very simple:
<div id="mydiv">
<a href="http://mysite.net" target="_blank"><img width="300" height="250" border="0"
alt="" src="http://mysite.net/images/image.jpg" id="img5668168"></a>
</div>
I try to test the link to the new page using the following code in selenium Remote
Control:
driver.get("mysite.net");
driver.findElement(By.xpath("//div[@id='mydiv']")).click();
After check it is some OS and FF version, these are the scenarios I checked:
Windows 7, FF 10.0.2, Selenium 2.18.0 ->KO
Windows 7, FF 10.0.2, Selenium 2.19.0 ->OK
Ubuntu 8.04, FF 19.0.2, Selnium 2.18.0 ->KO
Ubuntu 8.04, FF 19.0.2, Selnium 2.19.0 ->KO
What I have verified is that the following code works properly:
driver.get("mysite.net");
driver.findElement(By.xpath("//div[@id='mydiv']/a")).click();
If I add xpath to a element, click works but without a, clicking in div it does not
work.
hope it helps to find the issue.
Regards
Reported by dbrandib
on 2012-03-05 12:18:09
Reported by barancev
on 2012-05-11 06:01:46
Closing the issue due to its age and inactivity. If it is still actual please ask to
reopen and provide an executable scenario and a sample page to reproduce it.
Reported by barancev
on 2013-08-24 06:37:37
Invalid
Reported by luke.semerau
on 2015-09-17 18:14:55
Originally reported on Google Code with ID 3476
Reported by
dbrandib
on 2012-03-01 23:45:27