2.2.28 • Published 2 years ago

pl-aut-web-fw v2.2.28

Weekly downloads
50
License
ISC
Repository
-
Last release
2 years ago

PrinterLogic Automation Web Framework

PrinterLogic Automation Web Framework library is a selenium wrapper for the web common methods needed to automate a web application.

Install

npm install pl-aut-web-fw

Usage

Once installed you have to import the Browser object-

import {Browser} from 'pl-aut-web-fw'

Then you can use the methods available as promises in that object.

Example:

await Browser.openPage('https://edtesting.pi.service.pl-labs.com/')
await Browser.setValue('userName', 'user')
await Browser.setValue('passwordField', 'passcode')
await Browser.click('submit')

Remote selenium server

By default the browser is executed locally, but you can use the following environment variable to indicate the remote hub server. If this is empty or null it will execute locally.

SELENIUM_REMOTE_URL=<your selenium hub url>   // SELENIUM_REMOTE_URL=http://remotehub.com:4444

Unit Tests

There are unit tests for the methods in this repository. When you run the command

npm run test

The unit tests will run, and when they finish the test coverage will be shown.

2.2.28

2 years ago

2.2.27

2 years ago

2.2.17

3 years ago

2.2.15

3 years ago

2.2.14

3 years ago

2.2.18-beta.0

3 years ago

2.2.16-beta.0

3 years ago

2.2.12

3 years ago

2.2.11

3 years ago

2.2.9

3 years ago

2.2.8

3 years ago

2.2.7

3 years ago

2.2.10

3 years ago

2.2.5

3 years ago

2.2.4

3 years ago

2.2.6

3 years ago

2.2.3

3 years ago

2.2.2

3 years ago

2.2.1

3 years ago

2.2.0

3 years ago

1.0.10

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.4

3 years ago

1.0.7

3 years ago

1.0.5

3 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago