1

Sometimes, when my script is run by jenkins i get an error:

HOOK-ERROR in after_step: TimeoutException: Message: timeout
(Session info: chrome=69.0.3497.92)
(Driver info: chromedriver=2.35.528139 
(47ead77cb35ad2a9a83248b292151462a66cd881),platform=Linux 4.4.0-128-generic x86_64)

i cannot reproduce this situation on my local machine. Do you have any idea how can i check and fix it?

undetected Selenium
  • 183,867
  • 41
  • 278
  • 352
qchar90
  • 404
  • 1
  • 5
  • 11

1 Answers1

1

This error message...

HOOK-ERROR in after_step: TimeoutException: Message: timeout
(Session info: chrome=69.0.3497.92)
(Driver info: chromedriver=2.35.528139 

...implies that the ChromeDriver was unable to initiate/spawn a new WebBrowser i.e. Chrome Browser session.

Your main issue is the incompatibility between the version of the binaries you are using as follows:

  • You are using chromedriver=2.35
  • Release Notes of chromedriver=2.35 clearly mentions the following :

Supports Chrome v62-64

  • You are using chrome=69.0
  • Release Notes of ChromeDriver v2.43 clearly mentions the following :

Supports Chrome v69-71

So there is a clear mismatch between the ChromeDriver v2.35 and the Chrome Browser v69.0


Solution

  • Upgrade JDK to recent levels JDK 8u191.
  • Upgrade Selenium to current levels Version 3.14.0.
  • Upgrade ChromeDriver to current ChromeDriver v2.42 level.
  • Keep Chrome version between Chrome v69-71 levels. (as per ChromeDriver v2.43 release notes)
  • Clean your Project Workspace through your IDE and Rebuild your project with required dependencies only.
  • If your base Web Client version is too old, then uninstall it through Revo Uninstaller and install a recent GA and released version of Web Client.
  • Execute your @Test.
undetected Selenium
  • 183,867
  • 41
  • 278
  • 352