Skip to main content

ClickWebElement

This activity performs a click action on a specific web element on the specified page. It requires a selector value to uniquely identify the target element. The activity executes the click operation using the existing browser and page context.

A valid selector must uniquely locate the target element. Both XPath and CSS selectors are supported.

Core Functions

  • Locates a web element on the specified page using a unique selector.
  • Performs a click action on the identified element.
  • Optionally waits for network activity to finish after the click.
  • Optionally raises an error if the click action cannot be performed.
  • Supports both XPath and CSS selector formats.
  • Commonly used for button clicks, link interactions, and UI-triggered events.

Inputs

  • Page: The web page instance where the target element is located.

  • Type: Object

  • Selector: A unique selector (XPath or CSS) that identifies the web element to be clicked.

  • Type: String

  • WaitOptions: Defines how and how long the system should wait for the element before clicking.

  • Type: Object

  • WaitNetworkEnd: Indicates whether the click action results in a navigation to a different page (true) or remains on the same page (false).

  • Type: Boolean

  • RiseErrorWhenNotClick: Determines whether an error should be raised if the click action fails.

  • Type: Boolean

Outputs

  • Output: This activity does not return a direct output value.
  • Type: None

Short Technical Summary

Clicks a web element on a specified page using a unique XPath or CSS selector, applies configurable wait options, optionally waits for network activity to finish, and optionally raises an error if the click action cannot be completed.