I have setup selenium in a Intellij Idea. But when tried to create a simple instance it doesn’t recognize “get” .
This is what I have done up to now.

WebDriver driver = new ChromeDriver();   
driver.get("google.com");  // get is in red and doesn't allow to import any package
Thread.sleep(5000); // Sleep also has same problem       

How can I fix this?
I have added jar files. I’m using java webdriver

Source link https://sqa.stackexchange.com/questions/34720/why-driver-get-method-is-not-


Please enter your comment!
Please enter your name here