I have setup selenium in a Intellij Idea. But when tried to create a simple instance it doesn’t recognize “get” method.
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