Activities
latest
false
Banner background image
UI Automation Activities
Last updated Apr 26, 2024

GetUrl

Retrieves the URL from the current web page.

This API must be added after Open or Attach.

Definition

Namespace: UiPath.UIAutomationNext.API.Models

Assembly: UiPath.UIAutomationNext.API.Models (in UiPath.UIAutomationNext.API.Models dll)

Overloads

OverloadDescription
GetUrl(GetUrlOptions)Retrieves the URL from the current web page, along with other options.

GetUrl(GetUrlOptions, getUrlOptions)

Retrieves the URL from the current web page, along with other options.

GetUrl(
  GetUrlOptions,
  getUrlOptions)GetUrl(
  GetUrlOptions,
  getUrlOptions)
getUrlOptions GetUrlOptions
Additional options to customize the URL extraction process. You can choose to customize:
  • TargetOptions:
    • Timeout - Specifies the amount of time (in seconds) to wait for the API to run before the SelectorNotFoundException error is thrown. The default value is 30 seconds.
    • DelayAfter - Delay time (in seconds) after executing the API. The default amount of time is 0.3 seconds (300 milliseconds).
    • DelayBefore - Delay time (in seconds) before the API begins performing any operations. The default amount of time is 0.2 seconds (200 milliseconds).

Return value

The text from the specified URL.

  • Definition
  • Overloads
  • GetUrl(GetUrlOptions, getUrlOptions)
  • Return value

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.