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, 2020 in Selenium by Huzaifa
• 120 points

edited May 7, 2020 by Gitika 781 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, 2020 in Selenium by Sirajul
• 58,950 points
514 views
0 votes
1 answer
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,520 points
4,388 views
0 votes
2 answers

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,520 points
4,312 views
0 votes
2 answers

Problem while using InternetExplorerDriver in Selenium WebDriver

enable trusted connection  in internet explorer by ...READ MORE

answered Aug 31, 2020 in Selenium by Sri
• 3,010 points
5,231 views
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,890 points
3,116 views
0 votes
2 answers

How to use such xpath to find web elements

xpath are two types. 1) Absolute XPath:    /html/b ...READ MORE

answered Sep 2, 2020 in Selenium by Sri
• 3,010 points
3,610 views