Search in sources :

Example 6 with OperaDriver

use of org.openqa.selenium.opera.OperaDriver in project ifml2php by Dipiert.

the class Page_test method loadOperaDriver.

private static void loadOperaDriver() {
    System.setProperty("webdriver.opera.driver", "drivers/operadriver");
    OperaOptions operaOptions = new OperaOptions();
    operaOptions.addArguments("--no-sandbox");
    drivers.add(new OperaDriver(operaOptions));
}
Also used : OperaDriver(org.openqa.selenium.opera.OperaDriver) OperaOptions(org.openqa.selenium.opera.OperaOptions)

Aggregations

OperaDriver (org.openqa.selenium.opera.OperaDriver)6 OperaOptions (org.openqa.selenium.opera.OperaOptions)4 WebDriver (org.openqa.selenium.WebDriver)3 ChromeDriver (org.openqa.selenium.chrome.ChromeDriver)2 ChromeOptions (org.openqa.selenium.chrome.ChromeOptions)2 EdgeDriver (org.openqa.selenium.edge.EdgeDriver)2 FirefoxDriver (org.openqa.selenium.firefox.FirefoxDriver)2 FirefoxOptions (org.openqa.selenium.firefox.FirefoxOptions)2 InternetExplorerDriver (org.openqa.selenium.ie.InternetExplorerDriver)2 InternetExplorerOptions (org.openqa.selenium.ie.InternetExplorerOptions)2 RemoteWebDriver (org.openqa.selenium.remote.RemoteWebDriver)2 SafariDriver (org.openqa.selenium.safari.SafariDriver)2 InvalidBrowserException (com.coveros.selenified.exceptions.InvalidBrowserException)1 File (java.io.File)1 URL (java.net.URL)1 Before (org.junit.Before)1 EdgeOptions (org.openqa.selenium.edge.EdgeOptions)1 HtmlUnitDriver (org.openqa.selenium.htmlunit.HtmlUnitDriver)1 PhantomJSDriver (org.openqa.selenium.phantomjs.PhantomJSDriver)1 DesiredCapabilities (org.openqa.selenium.remote.DesiredCapabilities)1