1.0.2 • Published 7 years ago

assemble-driver v1.0.2

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

assemble

Standalone builder for Selenium-webdriver. Assemble makes it easy to get a webdriver instance with minimal configurations.

Install

$ npm install --save assemble-driver

Usage

const buildConfig = {
	server: 'http://localhost:4444/wd/hub',
	browser: 'Chrome'
}
const assemble = require('assemble-driver');

assemble(buildConfig).webdriver();
//=> Selenium WebDriver instance

API

assemble(buildConfig)

buildConfig

These options should be a json format.

OptionTypeDefaultDescription
serverstringhttp://localhost:4444/wd/hubTarget host for test.
browserstringFirefoxTarget browser.
browser_versionstring~Browser version. Will use current latest version if not set.
osstring~Operating System.
os_versionstring~OS version.
devicestring~Device.
debugbooleanfalseDebug mode.
videobooleantrueRecord browser. (browserstack)
projectstringProjectAssembleProject Name
buildstring(today's date)Build Name
credsObject~Cloud or grid creds: {user, key}

License

MIT ©

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago

0.0.0

7 years ago