How to launch Edge browser with Selenium Webdriver?

0 votes
How to launch Edge browser with Selenium Webdriver?
Jul 15 in Selenium by Tamanna
326 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
• 12,860 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,130 points
3,404 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
• 23,030 points
197 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
• 23,030 points
105 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,090 points
603 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,130 points
904 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,130 points
590 views
0 votes
1 answer
0 votes
1 answer