Reputation: 1529
We are using Selenium with C# for our GUI Tests. Currently we are using WebdriverManager to handle diffrerent versions of Chrome auotmatically. It works fine so far !
I recently tried to update Selenium Webdriver version to latest (4.9.1). I am aware that in Java when one has Selenium Webdriver version 4.0.0 onards, one does not need WebdriverManager anymore. It will be taken care by Selenium Webdriver. But in C# it does not seem so. I could not run tests wehn I removed WebdriverManager (Error - Session can not be cretaed). So my questions below :-
While using Selenium Webdriver with C#, what should one use for handling different versions of the Browser ? WebdriverManager or Selenium Manager ?
Is there any advantage of one over the other ?
Upvotes: 1
Views: 661
Reputation: 4858
I would use Selenium Manager directly since it is the official driver manager for Selenium WebDriver.
Note: I am the maintainer of WebDriverManager (for Java). But also, I am developing Selenium Manager. I don't know the details of WebDriverManager.Net, which is the one you are using.
Upvotes: 0