-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Labels
Description
Add method: assert_title_contains(substring)
Currently, there already exists self.assert_title(title)
, but that requires the title to be an exact match. It may be useful to have a similar method where a substring match is enough.
self.assert_title_contains(substring)
The current workaround is to do something like this:
self.assert_true(substring in self.get_page_title())
Simple solutions are better.