Skip to content

Commit 3fc2db2

Browse files
committed
py: update links to new canonical repo
1 parent 9b1dd34 commit 3fc2db2

File tree

9 files changed

+25
-32
lines changed

9 files changed

+25
-32
lines changed

py/README

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ The `selenium` package is used automate web browser interaction from Python.
1414
+-----------+-----------------------------------------------------------------------------------+
1515
| **Docs**: | `selenium package API <http://selenium.googlecode.com/git/docs/api/py/api.html>`_ |
1616
+-----------+-----------------------------------------------------------------------------------+
17-
| **Dev**: | https://code.google.com/p/selenium/ |
17+
| **Dev**: | https://github.com/SeleniumHQ/selenium |
1818
+-----------+-----------------------------------------------------------------------------------+
1919
| **PyPI**: | https://pypi.python.org/pypi/selenium |
2020
+-----------+-----------------------------------------------------------------------------------+
@@ -118,10 +118,5 @@ Then run your Python client scripts.
118118
Use The Source Luke!
119119
====================
120120

121-
View source code online:
122-
123-
+-----------+-------------------------------------------------------+
124-
| official: | https://code.google.com/p/selenium/source/browse/py |
125-
+-----------+-------------------------------------------------------+
126-
| mirror: | https://github.com/SeleniumHQ/selenium/tree/master/py |
127-
+-----------+-------------------------------------------------------+
121+
View source code online at
122+
https://github.com/SeleniumHQ/selenium/tree/master/py.

py/selenium/webdriver/chrome/service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def start(self):
6767
available in the path. Please look at \
6868
http://docs.seleniumhq.org/download/#thirdPartyDrivers \
6969
and read up at \
70-
http://code.google.com/p/selenium/wiki/ChromeDriver")
70+
https://github.com/SeleniumHQ/selenium/wiki/ChromeDriver")
7171
count = 0
7272
while not utils.is_connectable(self.port):
7373
count += 1

py/selenium/webdriver/ie/service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def start(self):
7070
raise WebDriverException(
7171
"IEDriver executable needs to be available in the path. "
7272
"Please download from http://selenium-release.storage.googleapis.com/index.html "
73-
"and read up at http://code.google.com/p/selenium/wiki/InternetExplorerDriver")
73+
"and read up at https://github.com/SeleniumHQ/selenium/wiki/InternetExplorerDriver")
7474
count = 0
7575
while not utils.is_url_connectable(self.port):
7676
count += 1

py/selenium/webdriver/remote/command.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# Copyright 2015 Software Freedom Conservancy
12
# Copyright 2010 WebDriver committers
23
# Copyright 2010 Google Inc.
34
#
@@ -21,7 +22,8 @@ class Command(object):
2122
used to marshal commands through a service that implements WebDriver's
2223
remote wire protocol:
2324
24-
http://code.google.com/p/selenium/wiki/JsonWireProtocol
25+
https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol
26+
2527
"""
2628

2729
# Keep in sync with org.openqa.selenium.remote.DriverCommand

py/selenium/webdriver/remote/remote_connection.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2008-2013 Software Freedom Conservancy
1+
# Copyright 2008-2015 Software Freedom Conservancy
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.
@@ -126,12 +126,10 @@ def http_error_default(self, req, fp, code, msg, headers):
126126

127127

128128
class RemoteConnection(object):
129-
"""
130-
A connection with the Remote WebDriver server.
129+
"""A connection with the Remote WebDriver server.
131130
132131
Communicates with the server using the WebDriver wire protocol:
133-
http://code.google.com/p/selenium/wiki/JsonWireProtocol
134-
"""
132+
https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol"""
135133
def __init__(self, remote_server_addr, keep_alive=False):
136134
# Attempt to resolve the hostname and get an IP address.
137135
self.keep_alive = keep_alive

py/selenium/webdriver/remote/webdriver.py

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2008-2014 Software freedom conservancy
1+
# Copyright 2008-2015 Software Freedom Conservancy
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.
@@ -11,11 +11,12 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14-
"""
15-
The WebDriver implementation.
16-
"""
14+
15+
"""The WebDriver implementation."""
16+
1717
import base64
1818
import warnings
19+
1920
from .command import Command
2021
from .webelement import WebElement
2122
from .remote_connection import RemoteConnection
@@ -33,11 +34,13 @@
3334
except NameError:
3435
pass
3536

37+
3638
class WebDriver(object):
3739
"""
3840
Controls a browser by sending commands to a remote server.
39-
This server is expected to be running the WebDriver wire protocol as defined
40-
here: http://code.google.com/p/selenium/wiki/JsonWireProtocol
41+
This server is expected to be running the WebDriver wire protocol
42+
as defined at
43+
https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol
4144
4245
:Attributes:
4346
- command_executor - The command.CommandExecutor object used to execute commands.

py/selenium/webdriver/support/expected_conditions.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -267,18 +267,15 @@ def __call__(self, driver):
267267
return False
268268

269269
def _find_element(driver, by):
270-
""" Looks up an element. Logs and re-raises WebDriverException if thrown.
271-
Method exists to gather data for
272-
http://code.google.com/p/selenium/issues/detail?id=1800
273-
"""
270+
"""Looks up an element. Logs and re-raises ``WebDriverException``
271+
if thrown."""
274272
try :
275-
return driver.find_element(*by)
273+
return driver.find_element(*by)
276274
except NoSuchElementException as e:
277275
raise e
278276
except WebDriverException as e:
279277
raise e
280278

281-
282279
def _find_elements(driver, by):
283280
try :
284281
return driver.find_elements(*by)

py/test/selenium/webdriver/common/example2.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# Copyright 2015 Software Freedom Conservancy
12
# Copyright 2008-2009 WebDriver committers
23
# Copyright 2008-2009 Google Inc.
34
#
@@ -21,9 +22,7 @@ class ExampleTest2(unittest.TestCase):
2122
"""This example shows how to use the page object pattern.
2223
2324
For more information about this pattern, see:
24-
http://code.google.com/p/webdriver/wiki/PageObjects
25-
"""
26-
25+
https://github.com/SeleniumHQ/selenium/wiki/PageObjects"""
2726
def setUp(self):
2827
self._driver = WebDriver()
2928

py/test/selenium/webdriver/common/page_loading_tests.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@ def testShouldBeAbleToNavigateForwardsInTheBrowserHistory(self):
109109

110110
@pytest.mark.ignore_ie
111111
def testShouldNotHangifDocumentOpenCallIsNeverFollowedByDocumentCloseCall(self):
112-
''' See http://code.google.com/p/selenium/issues/detail?id=208 '''
113112
self._loadPage("document_write_in_onload")
114113
self.driver.find_element(By.XPATH, "//body")
115114

0 commit comments

Comments
 (0)