Skip to content
This repository has been archived by the owner on Jul 29, 2024. It is now read-only.

Commit

Permalink
Updating to Selenium 2.24.
Browse files Browse the repository at this point in the history
  • Loading branch information
juliemr committed Aug 9, 2013
1 parent 2ec4f71 commit 7966912
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 16 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,4 +115,4 @@ A script is included to do the download for you - run with (add the --nocd optio

Start the selenium standalone with

java -jar selenium/selenium-server-standalone-2.33.0.jar -Dwebdriver.chrome.driver=./selenium/chromedriver
java -jar selenium/selenium-server-standalone-2.34.0.jar -Dwebdriver.chrome.driver=./selenium/chromedriver
2 changes: 1 addition & 1 deletion bin/install_selenium_standalone
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ var AdmZip = require('adm-zip')
// Thanks to http://www.hacksparrow.com/using-node-js-to-download-files.html
// for the outline of this code.
var SELENIUM_URL =
'http://selenium.googlecode.com/files/selenium-server-standalone-2.33.0.jar';
'http://selenium.googlecode.com/files/selenium-server-standalone-2.34.0.jar';
var CHROMEDRIVER_URL_MAC =
'https://chromedriver.googlecode.com/files/chromedriver_mac32_2.0.zip';
var CHROMEDRIVER_URL_LINUX32 =
Expand Down
4 changes: 3 additions & 1 deletion conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ exports.config = {
// 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.33.0.jar',
seleniumServerJar: './selenium/selenium-server-standalone-2.34.0.jar',
// The port to start the selenium server on, or null if the server should
// find its own unused port.
seleniumPort: null,
Expand Down Expand Up @@ -39,6 +39,8 @@ exports.config = {
// ----- Capabilities to be passed to the webdriver instance.
// For a full list of available capabilities, see
// https://code.google.com/p/selenium/wiki/DesiredCapabilities
// and
// https://code.google.com/p/selenium/source/browse/javascript/webdriver/capabilities.js
capabilities: {
'browserName': 'chrome'
},
Expand Down
7 changes: 1 addition & 6 deletions example/onJasmineNodeSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,7 @@ describe('angularjs homepage', function() {

var driver = new webdriver.Builder().
usingServer('http://localhost:4444/wd/hub').
withCapabilities({
'browserName': 'chrome',
'version': '',
'platform': 'ANY',
'javascriptEnabled': true
}).build();
withCapabilities(webdriver.Capabilities.chrome()).build();

driver.manage().timeouts().setScriptTimeout(10000);
var ptor = protractor.wrapDriver(driver);
Expand Down
7 changes: 1 addition & 6 deletions example/onMocha.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,7 @@ describe('angularjs.org homepage', function() {
before(function() {
driver = new webdriver.Builder().
usingServer('http://localhost:4444/wd/hub').
withCapabilities({
'browserName': 'chrome',
'version': '',
'platform': 'ANY',
'javascriptEnabled': true
}).build();
withCapabilities(webdriver.Capabilities.chrome()).build();

driver.manage().timeouts().setScriptTimeout(10000);
ptor = protractor.wrapDriver(driver);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
],
"author": "Julie Ralph <ju.ralph@gmail.com>",
"dependencies": {
"selenium-webdriver": ">2.32.1",
"selenium-webdriver": "~2.34.0",
"minijasminenode": "~0.2.0",
"saucelabs": "~0.1.0",
"glob": ">=3.1.14",
Expand Down

0 comments on commit 7966912

Please sign in to comment.