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 2,133 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
• 59,230 points
2,107 views
0 votes
1 answer
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,500 points
13,686 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,190 points
9,149 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,910 points
7,227 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 3, 2020 in Selenium by Sri
• 3,190 points
7,879 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP