Java Code Examples for com.codeborne.selenide.WebDriverRunner#closeWebDriver()
The following examples show how to use
com.codeborne.selenide.WebDriverRunner#closeWebDriver() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: InitialSetupHooks.java From akita with Apache License 2.0 | 5 votes |
/** * По завершению теста удаляет все куки и закрывает веб-браузер */ @After(order = 10) public void closeWebDriver() { if (hasWebDriverStarted()) { getWebDriver().manage().deleteAllCookies(); WebDriverRunner.closeWebDriver(); } }
Example 2
Source File: DownloadTestWithDockerAndProxy.java From testcontainers with MIT License | 5 votes |
@After public void tearDown() { proxyServer.shutdown(); WebDriverRunner.closeWebDriver(); Configuration.fileDownload = HTTPGET; Configuration.proxyEnabled = false; Configuration.proxyHost = null; Configuration.proxyPort = 0; }
Example 3
Source File: BaseMethodsTest.java From akita with Apache License 2.0 | 4 votes |
@AfterAll static void close() { WebDriverRunner.closeWebDriver(); }
Example 4
Source File: GoogleTestWithDockerNoVideo.java From testcontainers with MIT License | 4 votes |
@After public void tearDown() { WebDriverRunner.closeWebDriver(); }
Example 5
Source File: GoogleTestWithDocker.java From testcontainers with MIT License | 4 votes |
@After public void tearDown() { WebDriverRunner.closeWebDriver(); }
Example 6
Source File: GoogleTestWithFirefox.java From testcontainers with MIT License | 4 votes |
@After public void tearDown() { WebDriverRunner.closeWebDriver(); }
Example 7
Source File: PropertyLoaderTests.java From akita with Apache License 2.0 | 4 votes |
@AfterAll static void close() { WebDriverRunner.closeWebDriver(); }
Example 8
Source File: ManageBrowserStepsTest.java From akita with Apache License 2.0 | 4 votes |
@AfterAll static void close() { WebDriverRunner.closeWebDriver(); }
Example 9
Source File: ApiStepsTest.java From akita with Apache License 2.0 | 4 votes |
@AfterAll static void close() { WebDriverRunner.closeWebDriver(); wireMockServer.stop(); }
Example 10
Source File: InputFieldStepsTest.java From akita with Apache License 2.0 | 4 votes |
@AfterAll static void close() { WebDriverRunner.closeWebDriver(); }
Example 11
Source File: ListStepsTest.java From akita with Apache License 2.0 | 4 votes |
@AfterAll static void close() { WebDriverRunner.closeWebDriver(); }
Example 12
Source File: WebDriverHooks.java From justtestlah with Apache License 2.0 | 4 votes |
/** * Close the web driver. * * @param scenario Cucumber scenario */ @Override public void after(Scenario scenario) { LOG.info("Closing web driver"); WebDriverRunner.closeWebDriver(); }
Example 13
Source File: JsonApiStepsTest.java From akita with Apache License 2.0 | 4 votes |
@AfterAll static void close() { WebDriverRunner.closeWebDriver(); }
Example 14
Source File: ElementStepsTest.java From akita with Apache License 2.0 | 4 votes |
@AfterAll static void close() { WebDriverRunner.closeWebDriver(); }
Example 15
Source File: WebPageStepsTest.java From akita with Apache License 2.0 | 4 votes |
@AfterAll static void close() { WebDriverRunner.closeWebDriver(); }
Example 16
Source File: ManageBrowserCookieStepsTest.java From akita with Apache License 2.0 | 4 votes |
@AfterAll static void close() { WebDriverRunner.closeWebDriver(); }
Example 17
Source File: AbstractTest.java From selenium-grid-extensions with Apache License 2.0 | 4 votes |
@After public void tearDown() { WebDriverRunner.closeWebDriver(); }
Example 18
Source File: AkitaScenarioTest.java From akita with Apache License 2.0 | 4 votes |
@AfterAll static void close() { WebDriverRunner.closeWebDriver(); }
Example 19
Source File: AkitaPageTest.java From akita with Apache License 2.0 | 4 votes |
@AfterAll static void close() { WebDriverRunner.closeWebDriver(); }
Example 20
Source File: AllureSelenideTest.java From allure-java with Apache License 2.0 | 4 votes |
@BeforeEach @AfterEach void closeBrowser() { WebDriverRunner.closeWebDriver(); }