How to set chromedriver in selenium ?

+1 vote
How to set chromedriver in selenium ?

I am creating an instance of chrome driver but unable to call it?

Can someone help?
Dec 14, 2018 in Selenium by Nitesh
• 2,870 points
39 views

1 answer to this question.

0 votes
System.setProperty("webdriver.chrome.driver","Your\\path\\to\\chromedriver.exe");
WebDriver wd = new ChromeDriver();//create an instance for webdriver named wd of type chrome

This way you can use your chromedriver.

answered Dec 14, 2018 by Aniket

Related Questions In Selenium

0 votes
0 answers
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
6,368 views
0 votes
1 answer

Selenium ChromeDriver issue - Want to run it in background, but not as headless browser

This is a flaw with ChromeDriver. Tried ...READ MORE

answered Mar 26, 2018 in Selenium by nsv999
• 5,050 points
764 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
259 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
627 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
255 views
+9 votes
13 answers

How to automate gmail login process using selenium webdriver in java?

Check the below code: Here is the working ...READ MORE

answered Apr 24, 2018 in Selenium by Vardy
• 2,280 points
47,519 views
0 votes
5 answers