Skip to content

Instantly share code, notes, and snippets.

@theoctober19th
Last active November 11, 2021 03:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save theoctober19th/3512b50aa7cf8a4c269f595e50fa0eb1 to your computer and use it in GitHub Desktop.
Save theoctober19th/3512b50aa7cf8a4c269f595e50fa0eb1 to your computer and use it in GitHub Desktop.
Selenium code corrected for Bismita
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.WebDriver;
public class Application {
public static void main(String[] args) {
System.setProperty("webdriver.chrome.driver","C:\\Users\\Dipak\\workspace\\SeleniumProject\\Drivers\\chromedrivers.exe");
WebDriver driver = new ChromeDriver();
String baseUrl ="https://www.amazon.com/ref=nav_logo";
driver.get(baseUrl);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment