The Import Org cannot be resolved for WebDriver & ChromeDriver

1,907 views
Skip to first unread message

rama12...@gmail.com

unread,
Jul 14, 2018, 1:26:32 PM7/14/18
to Selenium Users
Dear Team,


During Chrome Browser Launch, am facing the below issues.
can you please put your suggestions

1# The Import Org cannot be resolved for WebDriver & ChromeDriver.
2# ChromeDriver  & WebDriver cannot be resolved to a type.

Please find my below code and configuration used.

package SeleniumTest;

import org.openqa.selenium.WebDriver;

import org.openqa.selenium.chrome.ChromeDriver;

public class SeleniumWebDriver {

public static void main(String[] args) {

// TODO Auto-generated method stub

System.setProperty("webdriver.chrome.driver", "D:\\Salenium Java\\chromedriver win32\\chromedriver.exe");

// Initialize browser

WebDriver driver=new ChromeDriver();

}

}

 

I have attached all the JAR files and using the below configuration.


Java # 10

IDE # Photon

Selenium #selenium-java-3.13.0

Chrome Driver # Latest Available 32 bit windows.


Screen Shot for Reference#


Thanks

RC


Auto Generated Inline Image 1
Auto Generated Inline Image 2

Derek Phillips

unread,
Jul 20, 2018, 11:19:57 PM7/20/18
to Selenium Users
I ran into this same exact problem and i can say it is probably the IDE Photon. I downgraded to Oxygen and followed the same exact process to set up Appium and it worked.

Sindhu Jvs

unread,
Jul 23, 2018, 2:02:59 AM7/23/18
to seleniu...@googlegroups.com
Hi Everyone,
            
                     Can any one tell me in which tool will be used to write and execute the selenium code

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-users+unsubscribe@googlegroups.com.
To post to this group, send email to selenium-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/b1672b3f-0d93-4ab1-b56b-97e05371fba3%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

total-qa

unread,
Jul 23, 2018, 6:56:11 AM7/23/18
to Selenium Users
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages