Checkout our demo site to practice selenium https://magento.softwaretestingboard.com/

0 like 0 dislike
1.4k views
by The go-to Tester (158 points)
edited by

I use chromedriver 2.23 and selenium-webdriver 2.53.1. When the number of my tests exceeded 1000 I started getting an error "The HTTP request to the remote WebDriver timed out after 60 seconds" on some tests. My tests run on CI server Teamcity and when I try to reproduce error on local machine I've got nothing.  Please tell me where to start looking at how to resolve this error?

1 Answer

0 like 0 dislike
by The go-to Tester (181 points)
selected by
 
Best answer
First thing you should look at how your browsers are closing. I suspect that your browser instances on the CI server is not getting closed.

Also, implement the Grid if you have not done yet. This will help you distribute the load and more stable tests.

And also you should look at your perfmonitor and see if there are any existing chromedriver.exe process running. Too many of those process will slowdown execution and you may encounter the error above.

Clean up your %temp% folder and retsart your CI server once.

 

Hope that helps!


This site is for software testing professionals, where you can ask all your questions and get answers from 1300+ masters of the profession. Click here to submit yours now!

1.4k questions

1.6k answers

866 comments

1.9k users

...