Last active
April 16, 2018 16:42
-
-
Save tonetheman/0982b86eadabccca90e5 to your computer and use it in GitHub Desktop.
protractor setup for crossbrowsertesting.com
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
exports.config = { | |
// change this to your USERNAME and AUTHKEY | |
seleniumAddress: 'http://USERNAME:AUTHKEY@hub.crossbrowsertesting.com:80/wd/hub', | |
capabilities : { | |
name : 'protractor test', // this will show up in the UI | |
// these are important :) | |
browser_api_name : 'FF31', // change this according to what browser you are using | |
os_api_name : 'WinXPSP2-C2', // change this for the OS you are using | |
screen_resolution : '1024x768', // change this for the resolution | |
// | |
record_video : false, | |
record_network : false, | |
record_snapshot : false, | |
// change this to your USERNAME and AUTHKEY | |
username : "USERNAME", | |
password : "AUTHKEY" | |
}, | |
// | |
specs: ['todo-spec.js'] | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
I am trying to run my tests in my xbrowsertesting account but this following error is displayed after run my test:
"C:\Program Files (x86)\JetBrains\WebStorm 10.0.4\bin\runnerw.exe" "C:\Program Files\nodejs\node.exe" C:\Users\bcunha\AppData\Roaming\npm\node_modules\grunt-cli\bin\grunt --gruntfile C:\DeltaBravo\document_cloud_ui\Gruntfile.js protractor:continuous
Running "protractor:continuous" (protractor) task
Using the selenium server at http://email:pass@hub.crossbrowsertesting.com:8080/wd/hub
[launcher] Running 1 instances of WebDriver
C:\DeltaBravo\document_cloud_ui\node_modules\grunt-protractor-runner\node_modules\protractor\node_modules\selenium-webdriver\http\index.js:145
callback(new Error(message));
^
Error: ECONNREFUSED connect ECONNREFUSED
Here is my protracto,config file:
var helper = require('./helperFirefoxProfile.js');
exports.config = {
//getMultiCapabilities: helper.getFirefoxProfile,
seleniumAddress: 'http://mymail:mypass@hub.crossbrowsertesting.com:8080/wd/hub',
};