pptraas.com icon indicating copy to clipboard operation
pptraas.com copied to clipboard

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

Open PaulKinlan opened this issue 7 years ago • 2 comments

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.

PaulKinlan avatar Feb 01 '18 16:02 PaulKinlan

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).

McFoggy avatar Feb 05 '18 15:02 McFoggy

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.

ebidel avatar Feb 05 '18 16:02 ebidel