Open robingustafsson opened 2 years ago
@robingustafsson Why is this tagged with needs async
? Isn't it essentially just another event we wait synchronously for?
We also need this functionality for #253, which is another API for the same functionality, I suppose. Should we close that one as duplicate and make it part of this issue?
Add support for
Page.waitForURL(url[, options])
, to allow waiting for main fram navigation to specified URL.Relevant links:
Page.waitForURL(url[, options])
: https://github.com/grafana/xk6-browser/blob/main/common/page.go#L545