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,520 points
58 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
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,470 points
2,143 views
0 votes
1 answer
0 votes
1 answer
0 votes
3 answers

How to specify "ENTER" button functionality in Selenium WebDriver code?

using OpenQA.Selenium.Interactions; Actions builder = new Actions(driver); ...READ MORE

answered Feb 12 in Selenium by anonymous
5,485 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,050 points
160 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
547 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
146 views
0 votes
1 answer
0 votes
1 answer

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.