Ragini
Ragini

Reputation: 1529

Managing different versions of Browser (Chrome for example) while using Selenium 4.9.1 in C#

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 :-

  1. While using Selenium Webdriver with C#, what should one use for handling different versions of the Browser ? WebdriverManager or Selenium Manager ?

  2. Is there any advantage of one over the other ?

Upvotes: 1

Views: 661

Answers (1)

Boni García
Boni García

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

Related Questions