Skip to content
This repository has been archived by the owner on Nov 29, 2018. It is now read-only.

Webdriver can't click link in div on windows. #2064

Closed
lukeis opened this issue Mar 2, 2016 · 10 comments
Closed

Webdriver can't click link in div on windows. #2064

lukeis opened this issue Mar 2, 2016 · 10 comments

Comments

@lukeis
Copy link
Member

lukeis commented Mar 2, 2016

Originally reported on Google Code with ID 2064


OS: Windows 7: 32bit
Browser: Firefox 5.0
WebDriver Version: 2.0

Webdriver can't click link in div on windows, but can on both Linux & OSX using the
same browser version.  Webdriver finds the control, the click method is called and
returns without error, but the link is never clicked.

See attached code.

Reported by trampus on 2011-07-15 22:33:28


- _Attachment: [test.java](https://storage.googleapis.com/google-code-attachments/selenium/issue-2064/comment-0/test.java)_
@lukeis
Copy link
Member Author

lukeis commented Mar 2, 2016

This is working fine for me - which click is failing for you? If you add a Thread.sleep(5000)
before that particular click, does it start working?

Reported by dawagner on 2011-07-18 10:36:40

  • Status changed: NeedsClarification
  • Labels added: OpSys-Windows, Component-WebDriver, Browser-Firefox

@lukeis
Copy link
Member Author

lukeis commented Mar 2, 2016

No adding the sleep doesn't change anything.  I even kicked it up to Thread.sleep(8000)
before calling click, and still nothing.

Reported by trampus on 2011-07-18 17:49:23

@lukeis
Copy link
Member Author

lukeis commented Mar 2, 2016

Oh it is the dialog click that is failing for me.

Reported by trampus on 2011-07-18 17:51:24

@lukeis
Copy link
Member Author

lukeis commented Mar 2, 2016

I am seeing this issue as well.

OS: Windows 7 (SP1): 64bit
Browser: Firefox 5.0
WebDriver Version: 2.0

Reported by petertszeto on 2011-07-29 22:54:29

@lukeis
Copy link
Member Author

lukeis commented Mar 2, 2016

Upgrade firefox to the latest version.
This solves the issue for me.

Reported by francis.xavier1431 on 2011-11-14 14:10:46

@lukeis
Copy link
Member Author

lukeis commented Mar 2, 2016

I got the same issue though running Firefox 8.0 and WebDriver 2.12.0. 
Does anyone have any idea to work around ? Thanks. 

Reported by luvinhthinh.mono on 2011-11-22 09:49:27

@lukeis
Copy link
Member Author

lukeis commented Mar 2, 2016

I hit this yesterday, after a while confused as to why things had stopped working.
to get around it if the link is the child of a div, clickign it's parent div appears
to work.
in other places this didn't work, in which case for the time being I read the href
attribute of the link and just navigate direct to the url. not really the same and
I'd like to switch it back when this is working again.

Reported by daniel@demigoth.org on 2011-11-25 10:56:46

@lukeis
Copy link
Member Author

lukeis commented Mar 2, 2016

I am facing this issue in FF8.0.  I revert back to FF3.6 and its working fine.  Need
webdriver to support FF8.0.  I even tried with Webdriver 2.13 but of no help.

Reported by syedameen1 on 2011-11-29 16:48:48

@lukeis
Copy link
Member Author

lukeis commented Mar 2, 2016

Please file a new issue with a test case which reliably reproduces the problem, if you're
stil having problems

Reported by dawagner on 2012-04-11 22:47:35

  • Status changed: Invalid

@lukeis
Copy link
Member Author

lukeis commented Mar 2, 2016

Reported by luke.semerau on 2015-09-17 18:13:16

  • Labels added: Restrict-AddIssueComment-Commit

@lukeis lukeis closed this as completed Mar 2, 2016
@SeleniumHQ SeleniumHQ locked and limited conversation to collaborators Mar 4, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant