Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[py] Fix doc of URL-related ExpectedCondition #6236

Merged
merged 1 commit into from
Aug 1, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions py/selenium/webdriver/support/expected_conditions.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ class url_contains(object):
""" An expectation for checking that the current url contains a
case-sensitive substring.
url is the fragment of url expected,
returns True when the title matches, False otherwise
returns True when the url matches, False otherwise
"""
def __init__(self, url):
self.url = url
Expand All @@ -80,7 +80,7 @@ def __call__(self, driver):
class url_matches(object):
"""An expectation for checking the current url.
pattern is the expected pattern, which must be an exact match
returns True if the title matches, false otherwise."""
returns True if the url matches, false otherwise."""
def __init__(self, pattern):
self.pattern = pattern

Expand All @@ -94,7 +94,7 @@ def __call__(self, driver):
class url_to_be(object):
"""An expectation for checking the current url.
url is the expected url, which must be an exact match
returns True if the title matches, false otherwise."""
returns True if the url matches, false otherwise."""
def __init__(self, url):
self.url = url

Expand Down