Skip to content

Commit

Permalink
[py] updated documentation links. (#12326)
Browse files Browse the repository at this point in the history
  • Loading branch information
sandeepsuryaprasad authored Jul 12, 2023
1 parent 4e1fd7f commit 067f10a
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 3 deletions.
1 change: 1 addition & 0 deletions py/selenium/webdriver/firefox/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ def __init__(
port=port,
log_output=log_output,
env=env,
start_error_message="Please download the binary from https://github.com/mozilla/geckodriver/releases",
**kwargs,
)

Expand Down
2 changes: 1 addition & 1 deletion py/selenium/webdriver/ie/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def __init__(
executable_path,
port=port,
log_output=log_output,
start_error_message="Please download from https://www.selenium.dev/downloads/ and read up at https://github.com/SeleniumHQ/selenium/wiki/InternetExplorerDriver",
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/",
**kwargs,
)

Expand Down
2 changes: 1 addition & 1 deletion py/selenium/webdriver/remote/command.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class Command:
used to marshal commands through a service that implements WebDriver's
remote wire protocol:
https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol
https://www.selenium.dev/documentation/legacy/json_wire_protocol/
"""

# Keep in sync with org.openqa.selenium.remote.DriverCommand
Expand Down
5 changes: 4 additions & 1 deletion py/selenium/webdriver/remote/errorhandler.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,10 @@


class ExceptionMapping:
"""Maps each errorcode in ErrorCode object to corresponding exception."""
"""
:Maps each errorcode in ErrorCode object to corresponding exception
Please refer to https://www.w3.org/TR/webdriver2/#errors for w3c specification
"""

NO_SUCH_ELEMENT = NoSuchElementException
NO_SUCH_FRAME = NoSuchFrameException
Expand Down
1 change: 1 addition & 0 deletions py/selenium/webdriver/safari/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ def __init__(
executable=executable_path,
port=port,
env=env,
start_error_message=f"Using Safari built-in binary from {DEFAULT_EXECUTABLE_PATH}",
**kwargs,
)

Expand Down

0 comments on commit 067f10a

Please sign in to comment.