Webdriver Utils


License

License

GroupId

GroupId

com.dev9
ArtifactId

ArtifactId

webdriver-utils
Last Version

Last Version

1.6
Release Date

Release Date

Type

Type

jar
Description

Description

Webdriver Utils
Webdriver Utils
Project Organization

Project Organization

Dev9, LLC.

Download webdriver-utils

How to add to project

<!-- https://jarcasting.com/artifacts/com.dev9/webdriver-utils/ -->
<dependency>
    <groupId>com.dev9</groupId>
    <artifactId>webdriver-utils</artifactId>
    <version>1.6</version>
</dependency>
// https://jarcasting.com/artifacts/com.dev9/webdriver-utils/
implementation 'com.dev9:webdriver-utils:1.6'
// https://jarcasting.com/artifacts/com.dev9/webdriver-utils/
implementation ("com.dev9:webdriver-utils:1.6")
'com.dev9:webdriver-utils:jar:1.6'
<dependency org="com.dev9" name="webdriver-utils" rev="1.6">
  <artifact name="webdriver-utils" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.dev9', module='webdriver-utils', version='1.6')
)
libraryDependencies += "com.dev9" % "webdriver-utils" % "1.6"
[com.dev9/webdriver-utils "1.6"]

Dependencies

compile (9)

Group / Artifact Type Version
org.seleniumhq.selenium : selenium-java jar 2.47.1
org.seleniumhq.selenium : selenium-remote-driver jar 2.47.1
org.projectlombok : lombok jar 1.16.6
com.typesafe : config jar 1.3.0
com.github.detro.ghostdriver : phantomjsdriver jar 1.1.0
com.opera : operadriver jar 1.5
com.googlecode.json-simple : json-simple jar 1.1.1
org.apache.logging.log4j : log4j-core jar 2.3
org.apache.logging.log4j : log4j-api jar 2.3

test (3)

Group / Artifact Type Version
org.testng : testng jar 6.9.6
org.jmockit : jmockit jar 1.19
org.assertj : assertj-core jar 3.1.0

Project Modules

There are no modules declared in this project.

Test Webdrivers

[Build Status] (https://travis-ci.org/dev9com/test-webdrivers) Maven central

This project contains easy to use webdriver implementations for both TestNG and JUnit. These libraries remove the initialization and teardown concerns, allowing the user to focus on writing UI tests.

Common Settings

  1. Add dependency to pom (or download and add to classpath) Maven Central
  2. Create a .conf file and define browser configuration in your resource directory
    • Create config file: src/test/resources/application.conf

    • Add the default browser:

        webdriver {
           browser: firefox
           type:    local
        }
      
    • Add any additional browser configurations by wrapping the webdriver object with a unique name:

        local-chrome {
           webdriver {
               browser:  chrome
               type:     local
           }
        }
      
    • The webdriver projects support remote jobs through SauceLabs. For this to work you must first define 2 environment variables SAUCELABS_USER assigned your SauceLabs username and SAUCELABS_KEY assigned your SauceLabs key. Once that is complete you can define a new webdriver config using the type: remote flag:

        remote-iexplore {
           webdriver {
               browser:  iexplore
               type:     remote
               version:  8
               platform: windows
           }
        }
      
    • To select a profile you would use the flag: -Dwebtest.profile= and give it your configuration name:
      -Dwebtest.profile=local-chrome or -Dwebtest.profile=remote-iexplore

Framework Specific Documentation

See: TestNG or JUnit

com.dev9

Dev9

Dev9 is a software development consulting firm based in Kirkland, WA.

Versions

Version
1.6
1.5
1.4
1.3