question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Work for me

module.js

async function wait_For_URL(page, args) {
  await page.waitForURL(args[0],{waitUntil: args[1]});
}

exports.__esModule = true;
exports.wait_For_URL = wait_For_URL;
*** Settings ***
Documentation     Playwright template.
Library           RPA.Browser.Playwright    jsextension=${CURDIR}/module.js
*** Keywords ***

Starting a browser with a page
    New Browser    chromium    headless=false
    New Context    viewport={'width': 1920, 'height': 1080}
    New Page       https://marketsquare.github.io/robotframework-browser/Browser.html
    Click    \#keyword-shortcuts-container > li:nth-child(12) > a
    Wait For URL    https://marketsquare.github.io/robotframework-browser/Browser.html#Download    networkidle
    #Wait For URL   **/Browser.html*      #with glob pattern

*** Tasks ***
Minimal task
    Starting a browser with a page

https://playwright.dev/docs/api/class-page#page-wait-for-url

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:10 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
mkorpelacommented, Jul 20, 2021

I think changing hash / fragment is not a navigation event. Page is not (re)loaded

0reactions
tomekPawlakcommented, Sep 29, 2021

wait for url would be really useful to be implemented in Browser library

Read more comments on GitHub >

github_iconTop Results From Across the Web

Wait for a particular URL in selenium - Stack Overflow
I have the requirement of waiting for a particular URL in website automation using Selenium in Chrome browser. The user will be doing...
Read more >
thewaiter: waiting for a URL in the browser to equal or contain ...
First, the code for all the URL wait methods is shown below, after which an Examples section show the usage of each of...
Read more >
stephenc/wait-for-url: A command line utility that waits ... - GitHub
A command line utility that waits until an URL (or a list of URLs) is ready, - GitHub - stephenc/wait-for-url: A command line...
Read more >
Ansible Wait for URL to respond or Retry - WEB and API
Ansible Wait for URL to respond a status code or a message . Ansible URL retry until 200. Ansible API and WEB Url...
Read more >
How to get Selenium to wait for a page to load - BrowserStack
Selenium Wait commands instruct a test to pause for a predetermined length of time before moving onto the next step in the script....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found