How-to

Wait for URL (waitForURL)

Wait for URL (waitForURL)

Waits until the tab URL matches Value. The worker passes Value to Playwright as a string: that is a glob (**/web/ru), not a /pattern/flags record. A /…/ string is not compiled to a regular expression. No Target. Source must be INLINE only.

Step model

action_namewaitForURL
GroupWait
TargetUnused
ValueRequired (url)
expected_valueUnused
TEST_ACCOUNTForbidden
Do not confuse withtoHaveURL, goto

Target/Value facts match the source-of-truth catalog and Autotest step.

Prerequisites

  1. Previous steps trigger navigation.

Steps

  1. Add a waitForURL step.
  2. Leave Target empty.
  3. Put a Playwright glob (**/web/ru) or an exact URL in Value. Write the pattern as the address appears in the browser: a trailing slash (**/web/ru/ when the href has none) will not match.
  4. Source must be INLINE.
  5. Save.

The step is stored on the autotest. Next - neighbouring steps or autotest run creation.

Examples

After sign-in

Fields in the UI:

FieldValue
action_namewaitForURL
Targetempty
Value**/projects**
value_source_typeINLINE
timeout_ms20000

Step JSON fragment (copy-paste):

json
{
  "action_name": "waitForURL",
  "value_text": "**/projects**",
  "value_source_type": "INLINE",
  "timeout_ms": 20000
}

Common mistakes

Screenshots

Screenshots of the step form for waitForURL will be added here in a later pass.

Version 1.1.0 · Last updated 2026-09-14

Did this page help?