/
Selenium extension

Selenium extension

 Selenium extension for Greenpepper

The project hosted at https://github.com/bonigarcia/webdrivermanager is superb to ease the download of the webdriver for selenium. To integrate and use it, the developers will have to use the following configuration.

Dependency

<dependency>
    <groupId>com.github.strator-dev.greenpepper</groupId>
    <artifactId>greenpepper-extensions-selenium2</artifactId>
    <version>${project.version}</version>
</dependency>

Configuration of the maven plugin

<plugin>
  <groupId>com.github.strator-dev.greenpepper</groupId>
  <artifactId>greenpepper-maven-plugin</artifactId>
  <version>${project.version}</version>
  <configuration>
    <systemUnderDevelopment>com.greenpepper.extensions.selenium2.SeleniumSystemUnderDevelopment</systemUnderDevelopment>
    <systemUnderDevelopmentArgs>chrome;true;2.35</systemUnderDevelopmentArgs>
    ...
  </configuration>
</plugin>

with the following parameters:

Position

Description

1

The browser name. Chosen between: htmlunit, chrome, firefox, edge, opera, ie

2

Activate the download of drivers (true) or deactivate it (false or not set).

3

Version of the driver to use. You need to check the version compatible with your browser.

Related content

GreenPepper Maven Plugin - Launching the index file from Chrome
GreenPepper Maven Plugin - Launching the index file from Chrome
More like this
GreenPepper Maven Plugin - Usage
GreenPepper Maven Plugin - Usage
More like this
GreenPepper Maven Plugin - Generate Fixtures
GreenPepper Maven Plugin - Generate Fixtures
More like this
GreenPepper Maven Plugin - Run all tests in a repository
GreenPepper Maven Plugin - Run all tests in a repository
More like this
GreenPepper 4.0 and GreenPepper Open 4.0.2
GreenPepper 4.0 and GreenPepper Open 4.0.2
More like this
GreenPepper Maven Plugin - freeze
GreenPepper Maven Plugin - freeze
More like this