@@ -68,7 +68,7 @@ class url_contains(object):
68
68
""" An expectation for checking that the current url contains a
69
69
case-sensitive substring.
70
70
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
72
72
"""
73
73
def __init__ (self , url ):
74
74
self .url = url
@@ -80,7 +80,7 @@ def __call__(self, driver):
80
80
class url_matches (object ):
81
81
"""An expectation for checking the current url.
82
82
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."""
84
84
def __init__ (self , pattern ):
85
85
self .pattern = pattern
86
86
@@ -94,7 +94,7 @@ def __call__(self, driver):
94
94
class url_to_be (object ):
95
95
"""An expectation for checking the current url.
96
96
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."""
98
98
def __init__ (self , url ):
99
99
self .url = url
100
100
0 commit comments