Webdriver Manager for Python is installed pip3 install webdriver-manager Selenium is upgraded to v4.0.0 pip3 install -U selenium With selenium4 as the key executable_path is deprecated you have to use an instance of the Service() class along with ChromeDriverManager().install() command as discussed below. This change is inline with the Selenium 4.0 Beta 1 changelog which mentions:ĭeprecate all but Options and Service arguments in driver instantiation. implies that the key executable_path will be deprecated in the upcoming releases. DeprecationWarning: executable_path has been deprecated, please pass in a Service object
0 Comments
Leave a Reply. |