selenium: WebDriver Not Compatible with Chrome/65.0.3325.146 on LINUX

Meta -

OS: LINUX Selenium Version: 3 .7. 1 Browser:
Chrome/65.0.3325.146

–>

Browser Version:
Chrome/65.0.3325.146 (64-bit)

Expected Behavior -

Webdriver should be able to click on webelement

Actual Behavior -

Test Failed: org.testng.TestException: The following element is not clickable: [[[ChromeDriver: chrome on LINUX (d03e89e10987409f7705777f68e0204c)] -> id: topbar__login]]

searchFuncationality Test Failed: org.openqa.selenium.WebDriverException: unknown error: call function result missing 'value' (Session info: chrome=65.0.3325.146) (Driver info: chromedriver=2.33.506092 (733a02544d189eeb751fe0d7ddca79a0ee28cce4),platform=Linux 3.10.0-693.2.2.el7.x86_64 x86_64) (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 0 milliseconds Build info: version: '3.7.1', revision: '8a0099a', time: '2017-11-06T21:01:39.354Z' System info: host: 'ip-10-30-74-198.eu-west-1.compute.internal', ip: '10.30.74.198', os.name: 'Linux', os.arch: 'amd64', os.version: '3.10.0-693.2.2.el7.x86_64', java.version: '1.8.0_152' Driver info: org.openqa.selenium.chrome.ChromeDriver Capabilities {acceptSslCerts: true, applicationCacheEnabled: false, browserConnectionEnabled: false, browserName: chrome, chrome: {chromedriverVersion: 2.33.506092 (733a02544d189e..., userDataDir: /tmp/.org.chromium.Chromium...}, cssSelectorsEnabled: true, databaseEnabled: false, handlesAlerts: true, hasTouchScreen: false, javascriptEnabled: true, locationContextEnabled: true, mobileEmulationEnabled: false, nativeEvents: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: LINUX, platformName: LINUX, rotatable: false, setWindowRect: true, takesHeapSnapshot: true, takesScreenshot: true, unexpectedAlertBehaviour: , unhandledPromptBehavior: , version: 65.0.3325.146, webStorageEnabled: true} Session ID: 56e57cfa83a7d0ff79500c238608a779

addProductToCart Test Failed: org.testng.TestException: The following element is not clickable: [[[ChromeDriver: chrome on LINUX (f10c1eab1c3034045e01555ef00bef63)] -> css selector: .product-item-link]]

Steps to reproduce -

Pre-requisite: setup a Linux OS and Chrome/65.0.3325.146 (64-bit)

Create a selenium script to perform click operation.

NOTE:

Chrome/65.0.3325.146 (64-bit) and MAC OS: test suite is working as expected on MAC OS.

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Reactions: 2
  • Comments: 43 (9 by maintainers)

Most upvoted comments

you need to upgrade chromedriver to version 2.36 to use Chrome 65

Closing the issue as there is no reproduction scenario provided.

I am using chromedriver 2.37 and chrome browser 65 but still facing the same issue i,e web element is not clickable.

@cgoldberg Regarding the --disable-infobars flag being removed from Chrome 65, what are we supposed to use in it’s place to remove that banner?

This also appears to affect non-headless chrome v65.

Chrome 65 should not be compatible with chromedriver 2.33 💔

I found the release notes a kinda easy overview to see which versions are compatible: https://chromedriver.storage.googleapis.com/2.36/notes.txt

Chrome and chromedriver should have matched version.

for example :

Chrome driver 2.37 Supports Chrome v64-66 Chrome driver 2.36 Supports Chrome v63-65 For more Details go to

https://sites.google.com/a/chromium.org/chromedriver/downloads

In your case You are using chrome 65 and driver 2.35 so you need to update driver to

2.36

Steps:-

Go to https://chromedriver.storage.googleapis.com/index.html?path=2.36/ and download chrome driver . Now extract the chromedriver and replace the driver inside of /path-to-your-project/vendor/laravel/dusk/bin/chromedriver-linux (Incase of linux) Now Its done . https://aammui.com/question/cannot-set-property-value-of-null-laravel-dusk

Please stop writing about all chrome-related problems to the same issue report!

Also, for issues please provide a concise reproducible test case and describe what results you are seeing and what results you expect.

I have also had problems using the CSS selectors to find elemenets (RemoteWebDriver) when upgrading to 2.36 (due to the Chrome 65 update which broke my previous integration with 2.33 ) I moved to 2.35 instead and now everything is working…

I’ve found out how to fix it:

Just pass a user-agent (you can find some here):

Capybara.register_driver :chrome do |app|
  Capybara::Selenium::Driver.new app, browser: :chrome,
    options: Selenium::WebDriver::Chrome::Options.new(args:
      ['headless', 'disable-gpu', "--user-agent='Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.75 Safari/535.7'"])
end

Capybara.javascript_driver = :chrome

if you are having issues with chromedriver, you should submit them to the chromedriver tracker.

and when you do… please be much more descriptive than “seeing weird elements not being visible”

@cgoldberg

  • I’ve tried upgrading the Chrome driver 2.36 on the Linux operating system, however, I am having test failures and reason, “Element not clickable”
  • Tried with headless and normal chrome browser

Additionally – this banner is now a back: “Chrome is being controlled by automated test software” and doing this chromeOptions.AddArgument("--disable-infobars"); doesn’t supress it anymore like it used to.