Hello I am looking to update my chrome driver to the latest version but ant find any information on updating the driver just info on installing it. What do I need to do to update the driver to the latest version?
相关问题
- Selecting an item from a combo box selenium driver
- Selenium in Java is not finding element when using
- How to send text to the search field through Selen
- What is the difference in “find_element_by_xpath”
- Why Isn't My Windows 10 PC Waking Up after a S
chromedriver is a single self-contained executable file. Just replace your existing version with a newer one.
Recently I found that
chromedriver
has almost one-to-one version accordance now (there was three-last-releases support policy forchromedriver 2.46
). See version selection guide here: https://sites.google.com/a/chromium.org/chromedriver/downloads/version-selectionI've wrote simple powershell script for updating
chromedriver
automatically.Run this script when you need to update
crhomedriver
(I run this script as build step in my CI, just before I run selenium web tests):You can configure relative directory where you need to place
chromedriver
with$chromeDriverRelativeDir
variable, relatively of script location.