Java JavaScript HTML CSS Other
Clone or download
mach6 Headless chrome/firefox support changes and misc
- Removed TravisCICapabilitiyBuilder -- no longer needed
- Added test for headless chrome and firefox capability builders
- Use firefox-esr instead on travisci
- extract method refactoring in Chrome and Firefox capability builder
  classes
Latest commit 248163c Nov 24, 2017
Permalink
Failed to load latest commit information.
.github Seed SeLion 2.0.0-SNAPSHOT with Selenium 3-beta Nov 2, 2016
appium-provider In latest version of appium, browserName capability needs to be set e… Sep 28, 2017
archetype Update copyright and misc updates for mobile driver providers Mar 10, 2017
client Headless chrome/firefox support changes and misc Jan 23, 2018
codegen-maven Refactor codegen and add a cli-only version of it Jun 23, 2017
codegen updates for travis ci Jul 27, 2017
common fix typo Jul 25, 2017
dataproviders Seed SeLion 2.0.0-SNAPSHOT with Selenium 3-beta Nov 2, 2016
iosdriver-provider Update copyright and misc updates for mobile driver providers Mar 10, 2017
project-bom Bump gson version Aug 22, 2017
sample-apps common interface for android and ios Jul 12, 2016
selendroid-provider Update copyright and misc updates for mobile driver providers Mar 10, 2017
server Bump to selenium 3.7.1 Nov 13, 2017
utilities Headless chrome/firefox support changes and misc Jan 23, 2018
.editorconfig Seed SeLion 2.0.0-SNAPSHOT with Selenium 3-beta Nov 2, 2016
.gitattributes Adding unit tests for SeLion-Grid Jun 2, 2015
.gitignore Add brower build targets to travis Nov 2, 2016
.travis.yml Headless chrome/firefox support changes and misc Jan 23, 2018
AUTHORS Increment to next develop target 1.2.0-SNAPSHOT Jul 19, 2016
CHANGELOG Add CHANGELOG Nov 2, 2016
LICENSE Introducing SeLion, the source code Sep 2, 2014
README.md Fix gitter.im badge graphic Apr 10, 2017
pom.xml Bump to selenium 3.7.1 Nov 13, 2017

README.md

Build Status

Codacy Badge

Gitter

SeLion

Enabling Test Automation in Java

SeLion builds on top of TestNG and Selenium to provide a set of capabilities that get you up and running with WebDriver in a short time. It can be used for testing web and mobile applications.

  • A client module which you can add as a Maven dependency.
    • Annotation based WebDriver session management.
    • Runtime Reporter for real-time test execution status.
    • Swap out browser targets at run-time.
    • Automate native, hybrid, and web applications on iOS and Android devices.
    • and more
  • A set of TestNG compatible data providers which allow you to access test data from Excel, YAML, JSON, and XML.
  • A maven archetype for creating new SeLion based projects.
  • A customized Selenium Grid2 component.
  • A Code generator Maven plugin for generating Java "page objects" out of YAML.

Documentation

Project documentation including prerequisites, compilation, usage, and more is at http://paypal.github.io/SeLion/html/documentation.html

Create a new project using the SeLion maven archetype

mvn archetype:generate -B -DartifactId=Sample -Dversion=1.0.0 -DgroupId=com.mycompany.myproject \
 -DarchetypeGroupId=com.paypal.selion -DarchetypeArtifactId=SeLion-Archetype -DarchetypeVersion=1.2.0

Client module (includes SeLion DataProviders)

<dependency>
    <groupId>com.paypal.selion</groupId>
    <artifactId>SeLion</artifactId>
    <version>1.2.0</version>
</dependency>

SeLion-DataProviders only

<dependency>
  <groupId>com.paypal.selion</groupId>
  <artifactId>SeLion-DataProviders</artifactId>
  <version>1.2.0</version>
</dependency

SeLion Grid enhancements -- Required for local run support with the Client module

<dependency>
  <groupId>com.paypal.selion</groupId>
  <artifactId>SeLion-Grid</artifactId>
  <version>1.2.0</version>
</dependency

SeLion Code Generator Maven plugin -- Adds "page object" code generation

<plugin>
    <groupId>com.paypal.selion</groupId>
    <artifactId>SeLion-Code-Generator</artifactId>
    <version>1.2.0</version>
    <executions>
        <execution>
            <phase>generate-sources</phase>
            <goals>
                <goal>generate</goal>
            </goals>
        </execution>
    </executions>
    <configuration>
        <basePackage>coo.foo.bar</basePackage>
    </configuration>
</plugin>

Run the SeLion Grid as a standalone selenium server

java -jar SeLion-Grid-1.2.0-jar-with-dependencies.jar

Run the SeLion Grid as a selenium hub

java -jar SeLion-Grid-1.2.0-jar-with-dependencies.jar -role hub

Run the SeLion Grid as a selenium web node

java -jar SeLion-Grid-1.2.0-jar-with-dependencies.jar -role node

Run the SeLion Grid as a Selendroid node (beta feature)

java -cp SeLion-Grid-1.2.0-jar-with-dependencies.jar com.paypal.selion.grid.SelendroidJarSpawner

Run the SeLion Grid as an ios-driver node (beta feature)

java -cp SeLion-Grid-1.2.0-jar-with-dependencies.jar com.paypal.selion.grid.IOSDriverJarSpawner

Run the SeLion Grid as an Appium node (beta feature)

java -cp SeLion-Grid-1.2.0-jar-with-dependencies.jar com.paypal.selion.grid.AppiumSpawner

Run the SeLion Grid as a Sauce labs proxy

java -cp SeLion-Grid-1.2.0-jar-with-dependencies.jar -role hub -type sauce

Contact

Feel free to ask questions and/or share ideas.

Submitting bugs and feature requests

We use GitHub for tracking issues. Please scan the list of GitHub Issues before filing a new one.

Contributing

Your contribution is welcome and appreciated!

  • Code Development is done on the develop branch.
  • Documentation is done on the gh-pages branch.
  1. Complete and return either the Personal or Corporate CLA.
  2. Make sure your ~/.gitconfig file has your full name with proper use of case as user.name and your real email address as user.email. GitHub has a nice write-up on this.
  3. Make sure you rebase off of the latest upstream version before submitting your pull request.

Areas that need contribution

  1. Project Documentation and/or Project Website.
  2. Project Tests and/or Testing.
  3. Any open item from GitHub Issues.
  4. Support for additional data formats such as CSV for data driven testing.

Projects we depend on that need contributors

Current version

1.2.0 (Selenium 2.53.x based)

Development version

2.0.0-SNAPSHOT (Selenium 3.x based)

License

Code - Apache Software License v2.0

Documentation and Site - Creative Commons Attribution 4.0 International License