Import WebDriver and ChromeDriver packages but bug show that i not accessible

0 votes
Line1   package itinsync.autotrack;

Line2   import org.openqa.selenium.WebDriver;

Line3 i  mport org.openqa.selenium.chrome.ChromeDriver;

Line4   public class autotrack {

Line5   public static void main(String[] args) {

Line6   System.setProperty("webdriver.chrome.driver" , "C:\\DATA\\Office\\Selenium\\chromedriver_win32\\chromedriver.exe");

Line7   WebDriver driver = new ChromeDriver();

Line8   driver.get("https://www.gmail.com/");

Line9   driver.manage().window().maximize();

}

}

NOTE:

Issue in Line 2, 3 and 7.
May 7 in Selenium by Huzaifa
• 120 points

edited May 7 by Gitika 167 views
Could you please post the error log?

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In Selenium

+1 vote
2 answers
+3 votes
1 answer

How to read excel file numeric data of all rows and column in selenium? I have 10 rows and 5 column but I read Only String value not a Numeric value?

Hey, @Mahendra, check this thread https://www.edureka.co/community/52170/read-numeric-data-from-excel-sheet-using-selenium-webdriver It deals with ...READ MORE

answered Jan 27 in Selenium by Sirajul
• 53,110 points
244 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,510 points
2,674 views
0 votes
1 answer
0 votes
1 answer

How do i change the location where my file gets downloaded in Selenium Webdriver and firefox driver?

There are a couple of errors there. ...READ MORE

answered Apr 12, 2018 in Selenium by nsv999
• 5,510 points
2,714 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,510 points
2,641 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,870 points
2,075 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,870 points
2,191 views