Tag Archives: webdriver

How to Solve webdriver-manager Error

#When using webdriver manager to run crawlers frequently, the following errors are often reported

HTTPSConnectionPool(host=’chromedriver.storage.googleapis.com’, port=443): Max retries exceeded with url: /LATEST_ RELEASE_ 96.0.4664 (caused by newconnectionerror (‘& lt; urlib3. Connection. Httpsconnection object at 0x051bd478 & gt;: failed to establish a new connection: [winerror 10060] the connection attempt failed because the connector did not reply correctly after a period of time or the connected host did not respond.))

#Solution

Enter chrome.py

Then enter manager.py

Enter the above method and add the following two lines to get_latest_release_version()

Error when uirecorder starts webdriver service

 

1. Start the webdriver service before executing the script recorded by uirecorder

Error: error: missing C: \ users \ B \ node_modules\selenium-standalone\.selenium\chromedrive

r\2.31-x64-chromedriver

 

2. Post the error to Google. There is an answer in GitHub. Install selenium standone(

https://github.com/vvo/selenium-standalone )

npm   install   selenium- standalone@latest  – g  # OK

selenium-standalone   install  # Here again, an error is prompted

selenium-standalone   start

 

2. Selenium, chrome, ie, Firefox, and edge are all installed successfully during the sale standalone install. The

when geckodriver-v0.18.0-win64.zip , the downloads link is wrong, not found. So I went to GitHub to download it

https://github.com/mozilla/geckodriver/releases/

 

 

start webdriver service : switch the directory to selenium sever directory in CMD, C: \ users \ 17972 \ appdata \ roaming \ NPM \ node_modules\selenium-standalone\.selenium\selenium-server   Execute the command Java – jar 3.141.5-server.jar (refer to

https://www.cnblogs.com/ivy001/p/8952708.html  )