Skip to content

Commit 067f10a

Browse files
[py] updated documentation links. (#12326)
1 parent 4e1fd7f commit 067f10a

File tree

5 files changed

+8
-3
lines changed

5 files changed

+8
-3
lines changed

py/selenium/webdriver/firefox/service.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ def __init__(
6565
port=port,
6666
log_output=log_output,
6767
env=env,
68+
start_error_message="Please download the binary from https://github.com/mozilla/geckodriver/releases",
6869
**kwargs,
6970
)
7071

py/selenium/webdriver/ie/service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def __init__(
6262
executable_path,
6363
port=port,
6464
log_output=log_output,
65-
start_error_message="Please download from https://www.selenium.dev/downloads/ and read up at https://github.com/SeleniumHQ/selenium/wiki/InternetExplorerDriver",
65+
start_error_message="Please download the binary from https://www.selenium.dev/downloads/ and read up at https://www.selenium.dev/documentation/ie_driver_server/",
6666
**kwargs,
6767
)
6868

py/selenium/webdriver/remote/command.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class Command:
2323
used to marshal commands through a service that implements WebDriver's
2424
remote wire protocol:
2525
26-
https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol
26+
https://www.selenium.dev/documentation/legacy/json_wire_protocol/
2727
"""
2828

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

py/selenium/webdriver/remote/errorhandler.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,10 @@
5151

5252

5353
class ExceptionMapping:
54-
"""Maps each errorcode in ErrorCode object to corresponding exception."""
54+
"""
55+
:Maps each errorcode in ErrorCode object to corresponding exception
56+
Please refer to https://www.w3.org/TR/webdriver2/#errors for w3c specification
57+
"""
5558

5659
NO_SUCH_ELEMENT = NoSuchElementException
5760
NO_SUCH_FRAME = NoSuchFrameException

py/selenium/webdriver/safari/service.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ def __init__(
5555
executable=executable_path,
5656
port=port,
5757
env=env,
58+
start_error_message=f"Using Safari built-in binary from {DEFAULT_EXECUTABLE_PATH}",
5859
**kwargs,
5960
)
6061

0 commit comments

Comments
 (0)