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
So I'm building something like a "remote control" for a website. That means the nightmare instance/session stays open all the time.
If I launch the instance via goto and I do a couple of operations, somewhere down the line I want to extract information from the page.
But every time I use .evaluate().then() any chained methods to this instance after that are not executing. It seems like .then() requires an end() or expects it to be called.
Is there a way to get text from a page into the node context or can I call something on the instance after .then?
The text was updated successfully, but these errors were encountered:
So I'm building something like a "remote control" for a website. That means the nightmare instance/session stays open all the time.
If I launch the instance via
goto
and I do a couple of operations, somewhere down the line I want to extract information from the page.But every time I use
.evaluate().then()
any chained methods to this instance after that are not executing. It seems like.then()
requires anend()
or expects it to be called.Is there a way to get text from a page into the node context or can I call something on the instance after
.then
?The text was updated successfully, but these errors were encountered: