selenium icon indicating copy to clipboard operation
selenium copied to clipboard

Selenium WebDriver click(), hover() are not working on few elements in Chrome 91, everything working fine up-to chrome 89

Open subrato29 opened this issue 5 years ago • 4 comments

🐛 Bug Report

The overall issue is that, the test automation code use to work fine till Chrome browser 89, but while upgrading to Chrome 91, same code base is not working in few places. Below are some instances.

We have tried WebDriver hover() or click(), but it's not displaying hovering options use to get visible, which use to work fine till Chrome 89 without an issue.

div class="abstract-tooltip-container cFWAbstractTooltip" data-aura-class="cFWAbstractTooltip"> button class="slds-button_neutral slds-button" role="button" aria-label="Select From Dropdown Menu"> /div

Environment

OS: Windows 10 Browser: Chrome Browser version: 91 Browser Driver version: Compatible with Chrome browser 91 Language Bindings version: Java 1.8 Selenium WebDriver version: 3.141.59

subrato29 avatar Jun 17 '21 16:06 subrato29

From the description you provide, it does probably seem to be an issue related to Chrome rather than Selenium.

Please submit Chrome/ChromeDriver issues to the Chromium team, either at https://bugs.chromium.org/p/chromium or https://bugs.chromium.org/p/chromedriver.

diemol avatar Jun 17 '21 20:06 diemol

But manual hovering work in Chrome 91. I think Selenium hover() library needs to update as per Latest Chrome browser (version 91) update.

subrato29 avatar Jun 17 '21 20:06 subrato29

@subrato29, manual interactions with the browser is not actually the same as interacting with it through WebDriver.

WebDriver is a W3C standard and browser drivers for Chrome, Firefox, Safari, Edge, IE, comply to it. That is why there is no need to release a new version or "update" Selenium when a new browser driver is released. You could see this as a implicit contract.

It is completely possible that a new browser or browser driver release contains a bug, which is why it is important to report those situations to their issue tracker (linked above for Chrome and ChromeDriver).

Something else to note is that we cannot completely figure out if it is a bug or not from the issue description, as most of the fields have been ignored. When creating an issue for the Chrome/ChromeDriver team, please be sure to include a way to reproduce it (ideally with a WebDriver script).

diemol avatar Jun 18 '21 09:06 diemol

@subrato29, manual interactions with the browser is not actually the same as interacting with it through WebDriver.

WebDriver is a W3C standard and browser drivers for Chrome, Firefox, Safari, Edge, IE, comply to it. That is why there is no need to release a new version or "update" Selenium when a new browser driver is released. You could see this as a implicit contract.

It is completely possible that a new browser or browser driver release contains a bug, which is why it is important to report those situations to their issue tracker (linked above for Chrome and ChromeDriver).

Something else to note is that we cannot completely figure out if it is a bug or not from the issue description, as most of the fields have been ignored. When creating an issue for the Chrome/ChromeDriver team, please be sure to include a way to reproduce it (ideally with a WebDriver script).

Hello, I used below code for Selenium WebDriver(3.x) Java code. opt.setExperimentalOption("w3c", false);

Now I see same all the selenium webdriver codes doing issues with Chrome 91 are working fine.

subrato29 avatar Jun 29 '21 04:06 subrato29