A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/sijosyn/testcafe-browser-provider-crossbrowsertesting below:

sijosyn/testcafe-browser-provider-crossbrowsertesting: This is the CrossBrowserTesting.com browser provider plugin for TestCafe. https://devexpress.github.io/testcafe/

testcafe-browser-provider-crossbrowsertesting

This plugin integrates TestCafe with the CrossBrowserTesting Cloud.

npm install testcafe-browser-provider-crossbrowsertesting

Before using this plugin, save the CrossBrowserTesting username and auth key to environment variables CBT_TUNNELS_USERNAME and CBT_TUNNELS_AUTHKEY.

Setting Environment Variables for Mac OS X/Linux

In Terminal mode, enter vi ~/.bash_profile, and then press Enter. Press i to insert text into your profile file. Enter these lines:

export CBT_TUNNELS_USERNAME="your crossbrowsertesting username/email address"
export CBT_TUNNELS_AUTHKEY="your crossbrowsertesting auth key"

Press Escape. Hold Shift and press Z twice (z z) to save your file and quit vi. In the terminal, enter source ~/.bash_profile.

You can determine the available browser aliases by running

testcafe -b crossbrowsertesting

When you run tests from the command line, use the alias when specifying browsers:

testcafe "crossbrowsertesting:Internet Explorer@11:Windows 10" "path/to/test/file.js"

When you use API, pass the alias to the browsers() method:

testCafe
    .createRunner()
    .src('path/to/test/file.js')
    .browsers('crossbrowsertesting:Internet Explorer@11:Windows 10')
    .run();

Use the following environment variables to set additional configuration options:

Sijo Cheeran (https://synacor.com)


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4