use of com.github.sergueik.jprotractor.NgWebDriver in project selenium_java by sergueik.
the class NgButtonIntegrationTest method setup.
@BeforeClass
public static void setup() throws IOException {
isCIBuild = CommonFunctions.checkEnvironment();
seleniumDriver = CommonFunctions.getSeleniumDriver();
seleniumDriver.manage().window().setSize(new Dimension(width, height));
seleniumDriver.manage().timeouts().pageLoadTimeout(50, TimeUnit.SECONDS).implicitlyWait(implicitWait, TimeUnit.SECONDS).setScriptTimeout(10, TimeUnit.SECONDS);
wait = new WebDriverWait(seleniumDriver, flexibleWait);
wait.pollingEvery(pollingInterval, TimeUnit.MILLISECONDS);
actions = new Actions(seleniumDriver);
ngDriver = new NgWebDriver(seleniumDriver);
}
use of com.github.sergueik.jprotractor.NgWebDriver in project selenium_java by sergueik.
the class NgCustomWaitIntegrationTest method setup.
@BeforeClass
public static void setup() throws IOException {
isCIBuild = CommonFunctions.checkEnvironment();
seleniumDriver = CommonFunctions.getSeleniumDriver();
seleniumDriver.manage().timeouts().pageLoadTimeout(50, TimeUnit.SECONDS).implicitlyWait(implicitWait, TimeUnit.SECONDS).setScriptTimeout(10, TimeUnit.SECONDS);
wait = new WebDriverWait(seleniumDriver, flexibleWait);
wait.pollingEvery(pollingInterval, TimeUnit.MILLISECONDS);
ngDriver = new NgWebDriver(seleniumDriver);
}
use of com.github.sergueik.jprotractor.NgWebDriver in project selenium_java by sergueik.
the class NgDatePickerIntegrationTest method setup.
@BeforeClass
public static void setup() throws IOException {
isCIBuild = CommonFunctions.checkEnvironment();
driver = CommonFunctions.getSeleniumDriver();
driver.manage().window().setSize(new Dimension(width, height));
driver.manage().timeouts().pageLoadTimeout(50, TimeUnit.SECONDS).implicitlyWait(implicitWait, TimeUnit.SECONDS).setScriptTimeout(10, TimeUnit.SECONDS);
wait = new WebDriverWait(driver, flexibleWait);
wait.pollingEvery(pollingInterval, TimeUnit.MILLISECONDS);
actions = new Actions(driver);
ngDriver = new NgWebDriver(driver);
}
use of com.github.sergueik.jprotractor.NgWebDriver in project selenium_java by sergueik.
the class NgWay2AutomationIntegrationTest method setup.
@BeforeClass
public static void setup() throws IOException {
isCIBuild = CommonFunctions.checkEnvironment();
seleniumDriver = CommonFunctions.getSeleniumDriver();
seleniumDriver.manage().window().setSize(new Dimension(width, height));
seleniumDriver.manage().timeouts().pageLoadTimeout(50, TimeUnit.SECONDS).implicitlyWait(implicitWait, TimeUnit.SECONDS).setScriptTimeout(10, TimeUnit.SECONDS);
wait = new WebDriverWait(seleniumDriver, flexibleWait);
wait.pollingEvery(pollingInterval, TimeUnit.MILLISECONDS);
actions = new Actions(seleniumDriver);
ngDriver = new NgWebDriver(seleniumDriver);
CommonFunctions.setHighlightTimeout(1000);
}
use of com.github.sergueik.jprotractor.NgWebDriver in project selenium_java by sergueik.
the class Program method setupBeforeSuite.
@BeforeSuite(alwaysRun = true)
public void setupBeforeSuite(ITestContext context) throws InterruptedException {
driver = new FirefoxDriver();
driver.manage().timeouts().pageLoadTimeout(50, TimeUnit.SECONDS).implicitlyWait(implicitWait, TimeUnit.SECONDS).setScriptTimeout(10, TimeUnit.SECONDS);
wait = new WebDriverWait(driver, flexibleWait);
wait.pollingEvery(pollingInterval, TimeUnit.MILLISECONDS);
actions = new Actions(driver);
ngDriver = new NgWebDriver(driver);
}
Aggregations