yashaka / selene

User-oriented Web UI browser tests in Python

Home Page:https://yashaka.github.io/selene/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

migrate from webdriver-manager to official Selenium Manager

arturshevchenko opened this issue · comments

migrate to selenium 4.11 which allows manage drivers automatically

@arturshevchenko, what do you mean? Can you explain the issue in more details?

Currently the version of Selenium is not frozen in Selene, you can use whatever latest selenium version you want...

Do you mean «Migrate from WebDriver Manager to Selenium Manager»?

Selenium Manager was available also in earlier versions, not just 4.11... The question is only - is it fully ready to substitute WebDriver Manager?

now, you manage web driver using selenium-manager(external dependency) .
since 4.11 been released you can use directly native selenium manager -- which will handle web browser binaries and even browsers.
check this https://www.selenium.dev/blog/2023/whats-new-in-selenium-manager-with-selenium-4.11.0/

See my comment above)

In general - all my hands for using official versions of webdriver managers, if they are available. My only concern is this part from the link you provided:

Selenium Manager is still in beta, although it is becoming a relevant component of Selenium.

The killer feature of Selenium Manager is that it also downloads the browser (e.g. Chrome for Testing) not just driver...

But... Only Chrome browser is currently supported as "automatically downloadable".

Also I am not sure that even geckodriver is supported for case of Firefox...

image

We can fully migrate only when at least chrome and firefox are fully supported in context of driver binaries... Probably Edge is also important for us...

So here is where a help from the community needed - do an analysis and provide a proven list of what is supported and what is not – browser (Chrome, Firefox, Edge) per platform (Windows, MacOS, Linux)

Also, probably there is somewhere a doc on how to configure Selenium Manager in python code before setting up Chrome driver instance, but it would be good, if somebody provided here examples with direct comparison of WDM vs Selenium Manager.

will be released in 2.0.0rc6 soon ;)