The nodejs equivalent of Page.WaitForURL() allows one to pass regex objects. Is there a way to achieve similar functionality in golang?
Maybe something like this.
if r, err := regexp.Compile(".*myaccount.google.com.*"); err != nil {
panic(err)
}
page.WaitForURL(r)
The nodejs equivalent of
Page.WaitForURL()allows one to pass regex objects. Is there a way to achieve similar functionality in golang?Maybe something like this.