You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see that you've implemented Explicit wait of Selenium.
I wanted to ask you why you didn't implement Implicit Wait, is there a problem you see to implement that?
I thought about adding the call to the implicitly wait after the condition of the wait until in line 88 in the middleware. Like this:
if request.wait_until: WebDriverWait(self.driver, request.wait_time).until( request.wait_until ) elif request.wait_time: self.driver.implicitly_wait(request.wait_time)
I like to hear what do you think about that
Thanks
The text was updated successfully, but these errors were encountered:
This patch introduces 2 news parameters `cb_selenium` and `cb_selenium_kwargs`.
The purpose of the selenium callback is to init the webpage like the
scraper wants. In this callback you can use the webdriver to perform some
actions and wait a expected page state.
Refs: clemfromspace#24, clemfromspace#39
Hi
I see that you've implemented Explicit wait of Selenium.
I wanted to ask you why you didn't implement Implicit Wait, is there a problem you see to implement that?
I thought about adding the call to the implicitly wait after the condition of the wait until in line 88 in the middleware. Like this:
if request.wait_until: WebDriverWait(self.driver, request.wait_time).until( request.wait_until ) elif request.wait_time: self.driver.implicitly_wait(request.wait_time)
I like to hear what do you think about that
Thanks
The text was updated successfully, but these errors were encountered: