This processor checks whether an element exists. When swapping tokens, an “Approve” button appears if approval is required. You’d click Approve and then sign the transaction in Rabby or Metamask. If the button doesn’t appear, there’s no need to sign the approval transaction. The Element Exists processor fits perfectly for handling this logic.Documentation Index
Fetch the complete documentation index at: https://docs.keeperagent.com/llms.txt
Use this file to discover all available pages before exploring further.

Example check whether the Approve button appears on the interface
Configuration fields
| Field | Required | Description |
|---|---|---|
| Variable to save result | Yes | The processor returns TRUE when the selected element is visible on the page; if it isn’t found, the result is FALSE. Choose a variable name to store this outcome. For example, IS_APPROVE_BUTTON_EXIST |
| CSS selector | Yes | CSS selector for the element you want to check |
| XPath selector | Yes | XPath selector for the element you want to check |