Can I chain or call two different page_actions? #68
Closed
rickyoleary
started this conversation in
General
Replies: 1 comment
-
Hey mate, thanks for the kind words. This type of long automation is not supported yet, as the library is focusing more on the Web Scraping side than full automation. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, great library, working by far the best for bot detection. I've seen for automation you can use a page_action. It works great, but I want to know if it's possible for a page_action to run, then be able to access the normal page object, then call another page_action? For example:
Of course this fails:
scroll_page2(page)
as page here is a Response. I don't want to call fetch again on the new URL as it'll open a new browser instance. Just wondering if this kind of thing is possible? This example (forgive the method names) opens Google, clicks accept, types "hello" then presses enter. I'd then want to use the normal page object to do something, then after call the second method to click the logo. This is obviously just an example.Beta Was this translation helpful? Give feedback.
All reactions