All Projects β†’ bonigarcia β†’ webdrivermanager-examples

bonigarcia / webdrivermanager-examples

Licence: Apache-2.0 License
JUnit tests with Selenium WebDriver and WebDriverManager

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to webdrivermanager-examples

testing-spring-boot-applications-masterclass
πŸƒ Everything You Need to Know About Testing Spring Boot Applications
Stars: ✭ 185 (+96.81%)
Mutual labels:  selenium, junit, junit5
Instagram-Giveaways-Winner
Instagram Bot which when given a post url will spam mentions to increase the chances of winning. Win Instagram Giveaways!
Stars: ✭ 95 (+1.06%)
Mutual labels:  selenium, selenium-webdriver
SeleniumDemo
Selenium automation test framework
Stars: ✭ 84 (-10.64%)
Mutual labels:  selenium, selenium-webdriver
ZZULI-healthreport
ιƒ‘ε·žθ½»ε·₯δΈšε€§ε­¦η–«ζƒ…ζ‰“ε‘
Stars: ✭ 95 (+1.06%)
Mutual labels:  selenium, selenium-webdriver
osgi-test
Testing support for OSGi. Includes JUnit 4 and JUnit 5 support and AssertJ support.
Stars: ✭ 22 (-76.6%)
Mutual labels:  junit, junit5
PhpScreenRecorder
A slim PHP wrapper around ffmpeg to record screen,best for recording your acceptance test using selenium, easy to use and clean OOP interface
Stars: ✭ 44 (-53.19%)
Mutual labels:  selenium, selenium-webdriver
bdd
JUnit 5 based BDD library to create and run stories and behaviors a.k.a BDD specification tests
Stars: ✭ 25 (-73.4%)
Mutual labels:  junit, junit5
spydriver
πŸ•΅οΈ Lightweight utility to intercept WebDriver and WebElement method calls.
Stars: ✭ 24 (-74.47%)
Mutual labels:  selenium, selenium-webdriver
Selenium.WebDriver.Extensions
Extensions for Selenium WebDriver including jQuery/Sizzle selector support.
Stars: ✭ 46 (-51.06%)
Mutual labels:  selenium, selenium-webdriver
atata-kendoui
A set of Atata components for Kendo UI
Stars: ✭ 17 (-81.91%)
Mutual labels:  selenium, selenium-webdriver
kick-off-web-scraping-python-selenium-beautifulsoup
A tutorial-based introduction to web scraping with Python.
Stars: ✭ 18 (-80.85%)
Mutual labels:  selenium, selenium-webdriver
ForgeModdingSkeleton
Skeletons for building Forge mods
Stars: ✭ 21 (-77.66%)
Mutual labels:  junit, junit5
resgen
Keep track of jobs you've applied to, automate resume & cover letter creation; generate PDFs from .odt templates on the fly while scraping the job post and tracking employer status.
Stars: ✭ 31 (-67.02%)
Mutual labels:  selenium, selenium-webdriver
Selenium.HtmlElements.Net
Elements model for Selenium.WebDriver
Stars: ✭ 26 (-72.34%)
Mutual labels:  selenium, selenium-webdriver
giulius-selenium-tests
A test harness that allows Selenium tests to be run using JUnit and test fixtures to be created and injected by a WebDriver-aware Guice
Stars: ✭ 12 (-87.23%)
Mutual labels:  selenium, junit
OpenYspider
εƒδΈ‡ηΊ§ε›Ύη‰‡ηˆ¬θ™«γ€θ§†ι’‘ηˆ¬θ™« [εΌ€ζΊη‰ˆζœ¬] Image Spider
Stars: ✭ 122 (+29.79%)
Mutual labels:  selenium, selenium-webdriver
PWAF
Python Webdriver Automation Framework
Stars: ✭ 37 (-60.64%)
Mutual labels:  selenium, selenium-webdriver
python-appium-framework
Complete Python Appium framework in 360 degree
Stars: ✭ 43 (-54.26%)
Mutual labels:  selenium, selenium-webdriver
demo-webdriverio-cucumber
E2E Tests with WebdriverIO and Cucumber
Stars: ✭ 28 (-70.21%)
Mutual labels:  selenium, selenium-webdriver
headless-chrome
Implementation of the new headless chrome with chromedriver and selenium.
Stars: ✭ 34 (-63.83%)
Mutual labels:  selenium, selenium-webdriver

Maven Central Build Status badge-jdk License badge Backers on Open Collective Sponsors on Open Collective Support badge Twitter Follow

WebDriverManager Examples

This repository contains JUnit examples to automate the Selenium WebDriver driver management using WebDriverManager. These examples are open-source, released under the terms of Apache 2.0 License.

Usage

In order to use WebDriverManager from tests in a Maven project, you need to add the following dependency in your pom.xml:

<dependency>
    <groupId>io.github.bonigarcia</groupId>
    <artifactId>webdrivermanager</artifactId>
    <version>${wdm.version}</version>
    <scope>test</scope>
</dependency>

... or in a Gradle project:

dependencies {
    testImplementation("io.github.bonigarcia:webdrivermanager:${wdm.version}")
}

Then you can let WebDriverManager to manage the drivers required by Selenium WebDriver (e.g., chromedriver, geckodriver). For example, as a JUnit test using Chrome browser:

class ChromeTest {

    WebDriver driver;

    @BeforeAll
    static void setupClass() {
        WebDriverManager.chromedriver().setup();
    }

    @BeforeEach
    void setupTest() {
        driver = new ChromeDriver();
    }

    @AfterEach
    void teardown() {
        driver.quit();
    }

    @Test
    void test() {
        // Your test code here
    }

}

... or using Firefox:

class FirefoxTest {

    WebDriver driver;

    @BeforeAll
    static void setupClass() {
        WebDriverManager.firefoxdriver().setup();
    }

    @BeforeEach
    void setupTest() {
        driver = new FirefoxDriver();
    }

    @AfterEach
    void teardown() {
        driver.quit();
    }

    @Test
    void test() {
        // Your test code here
    }

}

Help

If you have questions on how to use WebDriverManager properly with a special configuration or suchlike, please consider asking a question on Stack Overflow and tag it with webdrivermanager-java.

Support

WebDriverManager is part of OpenCollective, an online funding platform for open and transparent communities. You can support the project by contributing as a backer (i.e., a personal donation or recurring contribution) or as a sponsor (i.e., a recurring contribution by a company).

Backers

Sponsors

About

WebDriverManager (Copyright Β© 2015-2022) is a personal project of Boni Garcia licensed under Apache 2.0 License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].