Skip to content
This repository has been archived by the owner on Oct 19, 2023. It is now read-only.

We need a way to control when an action is completed (screenshot) #11

Open
PaulKinlan opened this issue Feb 1, 2018 · 2 comments
Open

Comments

@PaulKinlan
Copy link
Member

When taking a screenshot of webgdedeck.com it doesn't load in the content, I suspect this is because it is loaded after the 'load' event.

It would be nice to let the user configure when the action should take place in the page life-cycle.

@McFoggy
Copy link

McFoggy commented Feb 5, 2018

as a side-remark for SPAs & off-line first webapps a standard page life-cycle event does not make that much sense, because much of the content is loaded asynchronously.
In this case perhaps that an application event is better suited (or any other mechanism).

@ebidel
Copy link
Contributor

ebidel commented Feb 5, 2018

I think a waitFor=x param would be good. That maps well to pptr's API's which have a similar param that wait to resolve page.goto (and similar methods) by x milliseconds.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants