-
Aloha Carlos! First of all, thank you for a fantastic product, we love it here! We have an issue in a machine where we have the driver installed manually since the machine can not be exposed to the internet, but Pyleniumio still tries to download the version. The location of the cache is unknow to us, so we can’t manually put the executable there. Any ideas? Mahalo! Andres |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hello Andres!
For example, if your machine has Google Chrome version
For example, if I downloaded the chromedriver and left it in my {
"driver": {
"browser": "chrome",
"remote_url": "",
"wait_time": 10,
"page_load_wait_time": 0,
"options": [],
"capabilities": {},
"version": "latest",
"experimental_options": null,
"extension_paths": [],
"webdriver_kwargs": {},
"local_path": "/Users/carlos/Downloads/chromedriver"
},
"logging": {
"screenshots_on": true
},
"viewport": {
"maximize": true,
"width": 1440,
"height": 900,
"orientation": "portrait"
}
} Now all of the tests in my suite would run against the local chromedriver 🎉 |
Beta Was this translation helpful? Give feedback.
Hello Andres!
For example, if your machine has Google Chrome version
93.0.4577.63
installed, then WebDriverManager will look within~/.wdm
folder for a chromedriver executable that matches that version. If one doesn't exist, then it will download it and use that - all automatically.For example, if I downloaded the chromedriver and left it in my
/Downloads
folder, my pylenium.json would look like this (observe thedriver.local_path
field):