Tag Archives: firefox

profiling in selenium webdriver

Firefox options and profiling in Selenium WebDriver: //How to remove log statements in console: System.setProperty(FirefoxDriver.SystemProperty.BROWSER_LOGFILE,”null”); //Set binary path of a browser FirefoxOptions fo = new FirefoxOptions(); fo.setBinary(“path to exe”); //page load strategy fo.setPageLoadStrategy(PageLoadStrategy.NONE); //or fo.setPageLoadStrategy(PageLoadStrategy.EAGER); //or //Tell selenium to launch specific firefox profile //First, Exit the firefox (Don’t click on cross button to close the… Read More »