Skip to content

Commit aacccce

Browse files
Herstlmtierney
authored andcommitted
[py] Fix doc of URL-related ExpectedCondition (#6236)
1 parent 17e08e8 commit aacccce

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

py/selenium/webdriver/support/expected_conditions.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ class url_contains(object):
6868
""" An expectation for checking that the current url contains a
6969
case-sensitive substring.
7070
url is the fragment of url expected,
71-
returns True when the title matches, False otherwise
71+
returns True when the url matches, False otherwise
7272
"""
7373
def __init__(self, url):
7474
self.url = url
@@ -80,7 +80,7 @@ def __call__(self, driver):
8080
class url_matches(object):
8181
"""An expectation for checking the current url.
8282
pattern is the expected pattern, which must be an exact match
83-
returns True if the title matches, false otherwise."""
83+
returns True if the url matches, false otherwise."""
8484
def __init__(self, pattern):
8585
self.pattern = pattern
8686

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

0 commit comments

Comments
 (0)