mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix waiting for element when using start_load with selector
This commit is contained in:
parent
a9a068aeda
commit
de92beb1ec
@ -488,7 +488,7 @@ class Browser(QObject, FormsMixin):
|
||||
self.current_form = None
|
||||
self.page.load_url(url)
|
||||
if selector is not None:
|
||||
self.wait_for_element(selector, timeout=timeout, url=url)
|
||||
self.wait_for_element(selector, timeout=timeout)
|
||||
else:
|
||||
self.wait_till_dom_ready(timeout=timeout, url=url)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user