> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sequentum.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Link

> Simulate mouse clicks on links, buttons, and menus selected with XPath.

The Link command simulates mouse clicks on web elements such as links, buttons, and menus. It uses XPath for precise, script-free interaction with elements on a page. Located under **Browser** in the command palette.

## Selected link

![Selected link settings](https://mintcdn.com/sequentum/dOYM46qwxTPgqNVx/images/agents/commands/link/img-06.png?fit=max\&auto=format\&n=dOYM46qwxTPgqNVx\&q=85\&s=e283dc31d1653f30bd40770e06dd04c6)

* **When missing:** Specifies what happens when the selected content is missing. The default is **Fail**.

  * **Fail:** Fails the Agent at this command and stops further execution.
  * **Warn:** Ignores the current command and its child commands, then logs a page-load error.
  * **Ignore:** Ignores the current command and its child commands.
  * **Passthrough:** Ignores the missing selection and continues executing child commands.

* **When hidden or disabled:** Controls how the Agent handles elements based on their visibility or enabled state.

  * **Select:** Selects matching elements even if they are hidden or disabled.
  * **Ignore:** Selects only matching elements that are present and enabled.

* **Selected link:** Shows the content selected by the command on the current page. If nothing is selected, it displays "No selected Content".

### Browser

See [Browser](https://docs.sequentum.com/agents/commands/properties/browser.md) for more information.

### Error handling

See [Error handling](https://docs.sequentum.com/agents/commands/properties/error-handling.md) for more information.

### Export

See [Export](https://docs.sequentum.com/agents/commands/properties/export.md) for more information.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.