lahaler.blogg.se

Chrome webdriver latest version
Chrome webdriver latest version









The result of these steps will be a zip file with a chrome driver in the current directory (from where you ran the script). Version_response = requests.get(url + version)įinally, it's time to download the zip file (if it exists): if version_response.text:įile = requests.get(url_file + version_response.text + '/' + file_name)

chrome webdriver latest version

Now I'll let the user choose a version, and I get the version from the site: version = input() Then I'll save the necessary links into two varibles + I define the file name of the desired version of chrome driver: url = '' Let's have a look at a few lines in Python, I'll outline the main flow and you might want to build it more powerful (like command line parameters etc.)įirst I'll import requests: import requests You need to follow these steps, and you need to choose a tool in which you implement them.











Chrome webdriver latest version