Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Chromedriver 76] javascript error: Cannot read property 'left' of undefined #7498

Closed
CJMCT89 opened this issue Aug 15, 2019 · 6 comments
Closed

Comments

@CJMCT89
Copy link

CJMCT89 commented Aug 15, 2019

🐛 Bug Report

After upgrading to chromedriver 76, we are having an issue with dropdown elements in our scripts:
It seems to be an issue with the moveTo method in Selenium2Driver.php line 776
$this->wdSession->moveto(array('element' => $element->getID()));

Environment

OS: Windows 10
Browser: Chrome
Browser version: 76.0.3809.100
Browser Driver version: Chromedriver 76
Language Bindings version: Java 12.0.1, PHP 7+
Selenium Webdriver: 3.141.59

@CJMCT89
Copy link
Author

CJMCT89 commented Aug 15, 2019

Here is the full error:

2019-08-15 09:47:26: [ERROR] javascript error: Cannot read property 'left' of undefined
(Session info: chrome=76.0.3809.100)
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:25:53'
System info: host: 'MXL81622YV', ip: '', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '12.0.1'

@jimevans
Copy link
Member

Do the PHP language bindings properly support the W3C WebDriver Specification? if not, that needs to happen, since Chrome/chromedriver 75 and above use the spec-compliant dialect of the wire protocol by default.

@tburiak
Copy link

tburiak commented Aug 22, 2019

76 driver doesn't allow click, moveTo, etc on the element that is invisible or under scroll. You should check it.

@kkumar-g
Copy link

Facing the same issue on Chrome 76. Is there any workaround?
org.openqa.selenium.JavascriptException: javascript error: Cannot read property 'left' of undefined
(Session info: chrome=76.0.3809.100)
Build info: version: '3.8.1', revision: '6e95a6684b', time: '2017-12-01T19:05:32.194Z'

@barancev
Copy link
Member

@lock
Copy link

lock bot commented Sep 26, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Sep 26, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants