How to launch Edge browser with Selenium Webdriver?

0 votes
How to launch Edge browser with Selenium Webdriver?
Jul 15 in Selenium by Tamanna
1,407 views

1 answer to this question.

0 votes

Hey Tamanna, you can use following lines of code to launch Microsoft Edge driver with Selenium Webdriver:

       // Set the driver path
       System.setProperty("webdriver.edge.driver", "C://EdgeDriver.exe");

       // Start Edge Session
       WebDriver driver = new EdgeDriver();

       driver.get("https://google.com");

       driver.quit();
answered Jul 15 by Anvi
• 13,960 points

Related Questions In Selenium

0 votes
1 answer

How to open a browser window in full screen using Selenium WebDriver with C#

Simply Use this: driver.Manage().Window.Maximize(); READ MORE

answered Jun 7, 2018 in Selenium by Samarpit
• 5,150 points
4,519 views
0 votes
1 answer

How can I download Microsoft WebDriver/Edge Driver to use with Selenium?

Hi William, to download Microsoft Webdriver or ...READ MORE

answered Jul 15 in Selenium by Abha
• 27,180 points
1,152 views
0 votes
1 answer

How to launch Chrome browser using Selenium Webdriver on MAC?

Hey Lucas, you can launch chrome browser ...READ MORE

answered Jul 18 in Selenium by Abha
• 27,180 points
513 views
0 votes
1 answer

Finding WebDriver element with Class Name in java

The better way to handle this element ...READ MORE

answered Apr 10, 2018 in Selenium by nsv999
• 5,110 points
1,126 views
0 votes
1 answer
0 votes
1 answer

Geo-location microphone camera pop up

To Allow or Block the notification, access using Selenium and you have to ...READ MORE

answered May 11, 2018 in Selenium by Samarpit
• 5,150 points
1,239 views
0 votes
1 answer

How to use such xpath to find web elements

It's much simpler to use: #MyDiv123 > div.super or ...READ MORE

answered Jun 14, 2018 in Selenium by Samarpit
• 5,150 points
988 views
0 votes
1 answer
0 votes
1 answer