Troubleshooting of selenium errors: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
Line 26: Line 26:
== How to resolve [WARNING]: This version of ChromeDriver only supports Chrome version xx or [WARNING]: This version of ChromeDriver has not been tested with Chrome version 86 ==
== How to resolve [WARNING]: This version of ChromeDriver only supports Chrome version xx or [WARNING]: This version of ChromeDriver has not been tested with Chrome version 86 ==


Situation
Situation: Updating the ChromeDriver
* [https://chromedriver.chromium.org/downloads Download] the same version of ChromeDriver with the version installed on the computer or server
* Before Updating, If you encounter “file in use” errors:
* You may need to stop the ChromeDriver in the process list if you could not overwrite the existing ChromeDriver file
** {{Win}} Open Command Prompt as Administrator, Run command: {{kbd | key=<nowiki>taskkill /IM "chromedriver.exe" /F</nowiki>}}
** {{Win}} (1) Open the command prompt with the administrative permission (2) and keyin {{kbd | key=<nowiki>taskkill /IM "chromedriver.exe" /F</nowiki>}} to stop the ChromeDriver process
* Two option to update the ChromeDriver
** {{Linux}}  
** Option 1: Manual Download: Download ChromeDriver from [https://chromedriver.chromium.org/downloads ChromeDriver Downloads]
* Overwrite the existing ChromeDriver file
** Option 2: Package Managers: On {{Mac}}/{{Linux}}, use [https://brew.sh/ Homebrew]. On {{Win}}, use [https://chocolatey.org/ Chocolatey].
* Ensure the version matches your installed Chrome browser. Replace the existing ChromeDriver file
 
 


== References ==
== References ==

Navigation menu