Raizekas

Untitled

Apr 12th, 2021
47
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package selenium;
  2.  
  3. import org.openqa.selenium.WebDriver;
  4. import org.openqa.selenium.chrome.ChromeDriver;
  5.  
  6. public class SeleniumValdymas
  7. {
  8.  
  9. public static WebDriver initChromeDriver()
  10. {
  11. System.setProperty("webdriver.chrome.driver", "C:\\chromedriver.exe");
  12. WebDriver driver = new ChromeDriver();
  13. return driver;
  14. }
  15. }
  16.  
RAW Paste Data