MarketSquare / webdrivermanager

Python module to facilitate downloading and deploying WebDriver binaries for Chrome, Firefox, Opera & Edge
https://pypi.org/project/webdrivermanager/
MIT License
100 stars 38 forks source link

Chromedriver version installed #54

Closed davidwickerhf closed 3 years ago

davidwickerhf commented 3 years ago

First of all, I wanted to thank @rasjani for this great project that saved my life countless times already! I am encountering a small issue when the driver is being installed: is there a way to tell the WebDriverManager to check for a local Chrome version before installing the appropriate chrome driver? I apologize if this question has already been asked/answered... Thank you, David

rasjani commented 3 years ago

Yes there is - it came in the latest Release but its not documented for a reason as i wanted to get possible bug reports before people go nuts about it. Its not implemented for all browsers. Ill leave longer comment and document it a bit later

davidwickerhf commented 3 years ago

Alright! Thank you for that I'll check through the code if I can find a way to set it that way and if there are any issues I'll get back to you

rasjani commented 3 years ago

if version is defined as "compatible", it should try to probe the browser version ;)

davidwickerhf commented 3 years ago

@rasjani sorry, is this test feature included in the pip download or should I install the package by cloning the repo with the new commits? Thank you and sorry for the redundant question

rasjani commented 3 years ago

As said on earlier reply: "it came in the latest Release".. eg 0.10.0. https://pypi.org/project/webdrivermanager/0.10.0/