chromeless icon indicating copy to clipboard operation
chromeless copied to clipboard

Scripts that trigger pageloads fail

Open joelgriffith opened this issue 7 years ago • 1 comments

Not seeing a wait-like API for pageload. Might be nice to have chromeless "pause" execution if a pageload happens or retry failed actions when a pageload occurs

joelgriffith avatar Jul 26 '17 22:07 joelgriffith

In navalia I handled this (to a degree) by retyring jobs at least 1 time. When a pageload happens, and someones using an API like exists, that hanging script gets GC'ed and the runtime throws an error (which in navalia would trigger a retry). The other alternative is exposing something like .pageload or similar.

joelgriffith avatar Jul 31 '17 19:07 joelgriffith