Headless Testing becomes easy now with Chrome and Firefox

  Headless Testing with Chrome and Firefox using Selenium WebDriver(latest version) becomes easy now:- -For Chrome (latest Version): System.setProperty("webdriver.chrome.driver","chromedriver exe path"); ChromeOptions chromeOptions = new ChromeOptions(); chromeOptions.addArguments("--headless"); driver = new ChromeDriver(chromeOptions); -For Firefox 57(Quantum): System.setProperty("webdriver.firefox.driver","firefoxdriver exe path"); FirefoxOptions firefoxOptions = new FirefoxOptions(); firefoxOptions.setCapability("marionette", true); firefoxOptions.setHeadless(true); driver = new FirefoxDriver(firefoxOptions);

Advertisements

Penetration Testing With Selenium

  Penetration testingΒ is one of those things that people don'tΒ often think about while they are building a product. It's usually seen as a phase of testing that is performed by a third party who has expertise in that area once a release has passed normal testing. The problem withΒ thisΒ view is that fixing security problems at … Continue reading Penetration Testing With Selenium