How to use webdriver in selenium?

0 votes
How can I make use of the webdriver in selenium? I am using chrome for it. Please help
Dec 20, 2018 in Selenium by Jino
• 5,560 points
88 views

1 answer to this question.

0 votes

In Java, in order to call the webdriver first you will have to set the past and then will have to create an Instance for the webdriver.

So this way you can use the webdriver.

Eg:

System.setProperty("webdriver.chrome.driver","C:\\Your\\path\\chromedriver.exe");\\set the path
WebDriver driver = new ChromeDriver();\\create an instance 

Using the above two statement you are good to go.

You can take a look on this question also
https://www.edureka.co/community/33306/can-someone-explain-the-meaning-webdriver-new-chromedriver

answered Dec 20, 2018 by Shuvodip

Related Questions In Selenium

0 votes
1 answer

How to use Actions class in Selenium Webdriver?

In seleniun webdriver it is not mandatory ...READ MORE

answered Apr 4, 2018 in Selenium by Damon Salvatore
• 5,510 points
2,506 views
0 votes
1 answer

How to use firefox webdriver (geckodriver) in selenium?

Firefox v47+ with selenium 2.53, you need ...READ MORE

answered Jan 8 in Selenium by Nabarupa
1,608 views
0 votes
1 answer
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
973 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
1,130 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
870 views
0 votes
1 answer
0 votes
1 answer