Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Selenium examples for Nightwatch and BrowserStack Automate

NotificationsYou must be signed in to change notification settings

browserstack/nightwatch-browserstack

Repository files navigation

Nightwatch Integration with BrowserStack.

BrowserStack Logo

Setup

  • Clone the repo

  • Install dependenciesnpm install

  • You can export the environment variables for the Username and Access Key of your BrowserStack account

    export BROWSERSTACK_USERNAME=<browserstack-username> &&export BROWSERSTACK_ACCESS_KEY=<browserstack-access-key>

Running your tests

  • To run tests, runnpm run sample-test
  • To run local tests, runnpm run sample-local-test

Understand how many parallel sessions you need by using ourParallel Test Calculator

Notes

Connecting to BrowserStack via a proxy server

You can specify proxy settings in Nightwatch by adding theproxy key in your*.conf.js

  test_settings:{default:{desiredCapabilities:{// Your capabilities},proxy:{"host":"",// "127.0.0.1""port":"",// "8081""protocol":""// "http"}}}

Additional Resources

About

Selenium examples for Nightwatch and BrowserStack Automate

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors23


[8]ページ先頭

©2009-2025 Movatter.jp