Skip to content

Commit

Permalink
[py] Fix doc of URL-related ExpectedCondition (SeleniumHQ#6236)
Browse files Browse the repository at this point in the history
  • Loading branch information
Herst authored and lmtierney committed Aug 1, 2018
1 parent 17e08e8 commit aacccce
Showing 1 changed file with 3 additions and 3 deletions.
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

0 comments on commit aacccce

Please sign in to comment.