Home > database >  Automating Edge Browser using VBA without downloading Selenium
Automating Edge Browser using VBA without downloading Selenium

Time:01-11

I had the Automation tools which are written considering the IE. Now, I want to re-write those same tools this time by considering the "Microsoft Edge" as the default browser. I could not find the alternative approach other than downloading the WebDriver which comes as part of the Selenium Package.

Can someone please help me on Automating the Edge browser without downloading/installing other softwares or Web drivers?

Thanks, Kanthi

CodePudding user response:

you can use webdrivermanager package. for that below is the depedency:

For Maven

<dependency>
    <groupId>io.github.bonigarcia</groupId>
    <artifactId>webdrivermanager</artifactId>
    <version>4.4.3</version>
</dependency>

For Gradle:

implementation group: 'io.github.bonigarcia', name: 'webdrivermanager', version: '4.4.3'

You can use below code in your class where u r initiating your browser:

WebDriverManager.edgedriver().setup()

CodePudding user response:

Which version of Selenium are you using? If you're using Selenium 3 or Selenium 4, the available languages are Java, Python, C#, Ruby, and JavaScript. You can refer to this doc for more information.

If you want to use Selenium to automate Edge in VBA, you can only use SeleniumBasic. You can refer to this thread for the detailed steps of automating Edge browser with SeleniumBasic.

  •  Tags:  
  • Related