https://github.com/mikesir87/selenium-maven
https://github.com/mikesir87/selenium-maven
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/mikesir87/selenium-maven
- Owner: mikesir87
- Created: 2013-07-03T19:46:00.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2013-07-03T21:03:19.000Z (almost 12 years ago)
- Last Synced: 2025-04-01T15:54:18.062Z (about 2 months ago)
- Language: Java
- Size: 129 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Selenium Maven test helper
## Introduction
This repo demonstrates the ability of being able to use a simple
AbstractRemoteSeleniumTest
class with some Maven configuration to run Selenium test cases on any available Selenium Remote Server.## Usage
To run the test cases, one only needs to run Maven with the following profile:
mvn -P selenium-remote
### Configuration options
The available configuration options are available at the command-line for Selenium test case execution:
OptionDescriptionOptionsDefault
selenium.host
the host that should be used when connecting to the Selenium Remote ServerAny host name or IP Addresslocalhost
selenium.port
the port that should be used when connecting to the Selenium Remote ServerAny number4444
selenium.browsers
the browsers that should be launched during the test case execution. Value is space-limited list of desired browsers
chrome ie firefox opera safari
chrome firefox
## Examples
To run Selenium test cases using a Selenium Remote Server running on your own local machine:
mvn clean install -P selenium-remote
To run Selenium test cases on a remote server at "seleniumRunner.local" and port 1234:
mvn clean install -P selenium-remote -Dselenium.host=seleniumRunner.local -Dselenium.port=1234
To run Selenium test cases on my local machine, but on Internet Explorer, Chrome, and Firefox:
mvn clean install -P selenium-remote -Dselenium.browsers="ie chrome firefox"