Activities
latest
false
GetUrl - Other latest
logo
UI Automation Activities
Last updated Dec 6, 2023

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

Overload Description
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

String

The text from the specified URL.

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