Skip to content

Commit 6f3c0cf

Browse files
titusfortnerAndreas Tolfsen
authored and
Andreas Tolfsen
committed
rb: updated or removed dead and outdated links
Signed-off-by: Andreas Tolfsen <[email protected]>
1 parent a53b301 commit 6f3c0cf

File tree

6 files changed

+5
-9
lines changed

6 files changed

+5
-9
lines changed

Diff for: rb/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ JRuby and Rubinius.
1111
## Links
1212

1313
* http://rubygems.org/gems/selenium-webdriver
14-
* http://selenium.googlecode.com/git/docs/api/rb/index.html
14+
* http://seleniumhq.github.io/selenium/docs/api/rb/index.html
1515
* https://github.com/SeleniumHQ/selenium/wiki/Ruby-Bindings
1616
* https://github.com/SeleniumHQ/selenium/issues
1717

Diff for: rb/lib/selenium/client/extensions.rb

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
module Selenium
22
module Client
33

4-
# Convenience methods not explicitely part of the protocol
4+
# Convenience methods not explicitly part of the protocol
55
module Extensions
66

77
# These for all Ajax request to finish (Only works if you are using prototype, the wait happens in the browser)
88
#
9-
# See http://davidvollbracht.com/2008/6/4/30-days-of-tech-day-3-waitforajax for
10-
# more background.
119
def wait_for_ajax(options={})
1210
builder = JavascriptExpressionBuilder.new active_javascript_framework(options)
1311
wait_for_condition builder.no_pending_ajax_requests.script,

Diff for: rb/lib/selenium/client/legacy_driver.rb

+1-2
Original file line numberDiff line numberDiff line change
@@ -1557,8 +1557,7 @@ def add_location_strategy(strategyName,functionDefinition)
15571557
# works in Firefox when running in chrome mode, and in IE non-HTA using
15581558
# the EXPERIMENTAL "Snapsie" utility. The Firefox implementation is mostly
15591559
# borrowed from the Screengrab! Firefox extension. Please see
1560-
# http://www.screengrab.org and http://snapsie.sourceforge.net/ for
1561-
# details.
1560+
# http://snapsie.sourceforge.net/ for details.
15621561
#
15631562
# 'filename' is the path to the file to persist the screenshot as. No filename extension will be appended by default. Directories will not be created if they do not exist, and an exception will be thrown, possibly by native code.
15641563
# 'kwargs' is a kwargs string that modifies the way the screenshot is captured. Example: "background=#CCFFDD" . Currently valid options: * background:: the background CSS for the HTML document. This may be useful to set for capturing screenshots of less-than-ideal layouts, for example where absolute positioning causes the calculation of the canvas dimension to fail and a black background is exposed (possibly obscuring black text).

Diff for: rb/lib/selenium/webdriver/chrome/profile.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def add_encoded_extension(encoded)
3030
#
3131
# Set a preference in the profile.
3232
#
33-
# See http://codesearch.google.com/codesearch#OAMlx_jo-ck/src/chrome/common/pref_names.cc&exact_package=chromium
33+
# See https://src.chromium.org/svn/trunk/src/chrome/common/pref_names.cc
3434
#
3535

3636
def []=(key, value)

Diff for: rb/selenium-webdriver.gemspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Gem::Specification.new do |s|
1313
s.email = "[email protected]"
1414
s.description = "WebDriver is a tool for writing automated tests of websites. It aims to mimic the behaviour of a real user, and as such interacts with the HTML of the application."
1515
s.summary = "The next generation developer focused tool for automated testing of webapps"
16-
s.homepage = "http://selenium.googlecode.com"
16+
s.homepage = "https://github.com/seleniumhq/selenium"
1717
s.licenses = ["Apache"]
1818

1919
s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=

Diff for: rb/spec/integration/selenium/client/sample-app/public/jquery-1.3.2.js

-1
Original file line numberDiff line numberDiff line change
@@ -1003,7 +1003,6 @@ jQuery.extend({
10031003
return elem.getAttributeNode( name ).nodeValue;
10041004

10051005
// elem.tabIndex doesn't always return the correct value when it hasn't been explicitly set
1006-
// http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/
10071006
if ( name == "tabIndex" ) {
10081007
var attributeNode = elem.getAttributeNode( "tabIndex" );
10091008
return attributeNode && attributeNode.specified

0 commit comments

Comments
 (0)