@@ -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):
8080class 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):
9494class 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