Skip to content

Commit 30ae3d1

Browse files
authored
Fix invalid keywords (#62)
1 parent 2c016de commit 30ae3d1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

PuppeteerLibrary/keywords/waiting.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def wait_for_request_url(self, url, method='GET', body=None, timeout=None):
4545
| ... | `Wait For Request Url` | ${URL_API}/login | POST | username=demo |
4646
4747
"""
48-
return self.loop.run_until_complete(self.get_async_keyword_group().wait_for_request_url_async(url, method, body, timeout))
48+
return self.loop.run_until_complete(self.get_async_keyword_group().wait_for_request_url(url, method, body, timeout))
4949

5050
@keyword
5151
def wait_for_response_url(self, url, status=200, body=None, timeout=None):
@@ -142,7 +142,6 @@ def wait_until_page_contains(self, text, timeout=None):
142142
| `Wait Until Page Contains` | Invalid user name or password | | |
143143
"""
144144
self.loop.run_until_complete(self.get_async_keyword_group().wait_until_page_contains(text, timeout))
145-
# return self.loop.run_until_complete(self.async_func.wait_until_page_contains_async(text, timeout))
146145

147146
@keyword
148147
def wait_until_page_does_not_contains(self, text, timeout=None):

0 commit comments

Comments
 (0)