Skip to content

Commit 327b1e8

Browse files
committed
have Browser.wait_for() return the element it finds
1 parent 63236a2 commit 327b1e8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ngSe/browser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def wait_for(self, value, by=By.ID, **kwargs):
7676
must_be(by, "by", ByClause)
7777
#
7878

79-
by.wait(value, self, **kwargs)
79+
return by.wait(value, self, **kwargs)
8080

8181
def goto(self, url):
8282
"""Wrapper to check for navigation issues, like 404's

0 commit comments

Comments
 (0)