Skip to content

Commit

Permalink
Update conditions.py (yashaka#168)
Browse files Browse the repository at this point in the history
  • Loading branch information
kylefix authored and SergeyPirogov committed Jun 26, 2018
1 parent 012151d commit df212c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions selene/conditions.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def __init__(self, partial_value):
def fn(self, webdriver):
# type: (IWebDriver) -> bool
actual = webdriver.title
if actual not in self.expected:
if self.expected not in actual:
raise ConditionMismatchException(
expected=self.expected,
actual=actual)
Expand Down Expand Up @@ -367,4 +367,4 @@ def match(self, webelements):
return webelements


size_at_least = SizeAtLeast
size_at_least = SizeAtLeast

0 comments on commit df212c3

Please sign in to comment.