Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

protractor

Package Overview
Dependencies
Maintainers
1
Versions
103
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

protractor - npm Package Compare versions

Comparing version 0.4.0 to 0.4.1

bin/install_selenium_standalone

32

conf.js
// An example configuration file.
exports.config = {
// ----- How to setup Selenium
// There are three ways to specify how to use Selenium. Specify one of the
// following:
// 1. seleniumServerJar - to start Selenium Standalone locally.
// 2. seleniumAddress - to connect to a Selenium server which is already
// running.
// 3. sauceUser/sauceKey - to use remote Selenium servers via SauceLabs.
// The location of the selenium standalone server .jar file.
seleniumServerJar: '../selenium/selenium-server-standalone-2.28.0.jar',
seleniumServerJar: './selenium/selenium-server-standalone-2.33.0.jar',
// The port to start the selenium server on, or null if the server should
// find its own unused port.
seleniumPort: null,
// Chromedriver location is used to help the selenium standalone server
// find chromedriver. This will be passed to the selenium jar as
// the system property webdriver.chrome.driver. If null, selenium will
// attempt to find chromedriver using PATH.
chromeDriver: './selenium/chromedriver',
// If sauceUser and sauceKey are specified, seleniumServerJar will be ignored.
sauceUser: null,
sauceKey: null,
// The address of a running selenium server. If this is specified,
// seleniumServerJar and seleniumPort will be ignored.
// The address of a running selenium server.
seleniumAddress: 'http://localhost:4444/wd/hub',
// ----- Capabilities to be passed to the webdriver instance.
// For a full list of available capabilities, see
// https://code.google.com/p/selenium/wiki/DesiredCapabilities
capabilities: {
'browserName': 'chrome'
},
// A base URL for your application under test. Calls to protractor.get()

@@ -21,8 +40,3 @@ // with relative paths will be prepended with this.

// Capabilities to be passed to the webdriver instance.
capabilities: {
'browserName': 'chrome'
},
// Options to be passed to Jasmine-node.
// ----- Options to be passed to Jasmine-node.
jasmineNodeOpts: {

@@ -29,0 +43,0 @@ // Spec folders are relative to the current working directly when

@@ -82,2 +82,5 @@ var util = require('util');

jar: config.seleniumServerJar,
args: config.chromeDriver ?
['-Dwebdriver.chrome.driver=' + config.chromeDriver] :
[],
port: config.seleniumPort

@@ -84,0 +87,0 @@ });

@@ -9,4 +9,5 @@ {

"selenium-webdriver" : ">2.32.1",
"jasmine-node" : "~1.9.0",
"saucelabs" : "~0.1.0",
"jasmine-node" : "~1.9.0"
"adm-zip" : ">=0.4.2"
},

@@ -23,3 +24,3 @@ "devDependencies" : {

"main" : "lib/protractor.js",
"version" : "0.4.0"
"version" : "0.4.1"
}

@@ -105,4 +105,3 @@ Protractor

WebdriverJS does not natively include the selenium server - you must start a standalone selenium server.
Download the selenium server. All you need is the latest [selenium-server-standalone.](https://code.google.com/p/selenium/downloads/list)
WebdriverJS does not natively include the selenium server - you must start a standalone selenium server. All you need is the latest [selenium-server-standalone.](https://code.google.com/p/selenium/downloads/list)

@@ -112,4 +111,9 @@ To use with chrome browsers, [download chromedriver](https://code.google.com/p/chromedriver/downloads/list).

A script is included to do the download for you - run with (add the --nocd option if you do not want to install ChromeDriver)
./node_modules/protractor/bin/install_selenium_standalone
Start the selenium standalone with
java -jar selenium-server-standalone-2.x.x.jar
java -jar selenium/selenium-server-standalone-2.33.0.jar -Dwebdriver.chrome.driver=./selenium/chromedriver

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc