Skip to content

How to use regex with Page.WaitForURL() #309

Description

@AkashKarnatak

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions