Hi everyone! Updates to the course will be available on Udemy!
The coupon for the FULL PAID version of the course:
https://www.udemy.com/course/testingt...
public void openGoogleChrome() throws InterruptedException {
System.setProperty("webdriver.chrome.driver", "C:\\Users\\User\\IdeaProjects\\SimpleAutomation\\drivers\\chromedriver.exe");
ChromeOptions options = new ChromeOptions();
options.addArguments("--start-maximized");
//options.addArguments("--window-size=500,500");
options.addArguments("--lang=es");
//options.addArguments("--incognito");
//options.addArguments("--headless");
//options.setExperimentalOption("useAutomationExtension", false);
//options.setExperimentalOption("excludeSwitches", Collections.singletonList("enable-automation"));
WebDriver driver = new ChromeDriver(options);
driver.manage().deleteAllCookies();
driver.get("https://www.testing101.net/testing");
Thread.sleep(10000);
driver.quit();
}
⏰
00:00 intro
01:40 start-maximized (full screen chrome window)
03:17 windows-size=500,500 (xxs, xs, s, m, l, xl, xxxxl)
04:30 lang=es (multilanguage)
06:14 incognito (secret agent)
07:04 headless (an invisibility cloak for a chrome window)
07:55 Chrome is free! "Chrome is controlled by automated software"
Watch video Google Chrome Browser Options - Simple Automation Tutorials with Selenium Java online without registration, duration hours minute second in high quality. This video was added by user Software Testing 101 10 August 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 527 once and liked it 4 people.