Skip to main content
Question

Web Automation: Click Action

  • October 29, 2025
  • 5 replies
  • 132 views

Forum|alt.badge.img+2

I am using a recorder in AA 360. My first capture I am using Get Property >>>HTML Inner Text and have this in my inner text list [ Portfolio, Accounting, Contacts, Reports]. Can I use Web Automation: Click Action to search a specific Inner Text? If yes please elaborate. I am new to the platform. Thank you!

 

5 replies

Aaron.Gleason
Automation Anywhere Team
Forum|alt.badge.img+14
  • Automation Anywhere Team
  • October 29, 2025

@aacenas The Web Automation package is no longer supported. Don’t use it. Use the Recorder: Capture action instead.

Yes, you can get it to select a specific inner text in the DOM XPATH.

Something like:

Then again, it’s much easier to expand the Object Properties and have it find the string directly.

I think the old Web Automation package is messing you up a bit. Recorder: Capture is much, much easier.


Forum|alt.badge.img+2
  • Author
  • Cadet | Tier 2
  • October 31, 2025

Thank you ​@Aaron.Gleason for your input! I was able to achieve what I specifically want the bot to do.


Forum|alt.badge.img+2
  • Author
  • Cadet | Tier 2
  • November 3, 2025

Just a follow up on this thread ​@Aaron.Gleason . I was able to use the XPath to capture specific HTML Text and run the BOT in admin view dashboard but when I run the BOT in a user dashboard view the bot was not able to recognize the path. Is there a way to make the bot read the text no matter where the position is? Would create a loop solve this issue? Thanks!


Forum|alt.badge.img+7
  • Navigator | Tier 3
  • January 16, 2026

Just a follow up on this thread ​@Aaron.Gleason . I was able to use the XPath to capture specific HTML Text and run the BOT in admin view dashboard but when I run the BOT in a user dashboard view the bot was not able to recognize the path. Is there a way to make the bot read the text no matter where the position is? Would create a loop solve this issue? Thanks!

Can you post the XPATH you used?

You can most likely accomplish this, but we would need to know what you’re doing currently.

 

Without knowing any structure of your website, you could probably use an XPATH of:

//*[text()="AR Export"]

You can test the various XPATHs in your browser dev tools by using this in the console:

$x('//*[text()="AR Export"]')

 


Aaron.Gleason
Automation Anywhere Team
Forum|alt.badge.img+14
  • Automation Anywhere Team
  • January 16, 2026

@aacenas Apparently your site changes the structure significantly enough between ADMIN and USER modes that you may have to use an IF … Recorder to see if a specific object is present. A simple overview like this:

If (Recorder… object found… DOMXPath = /abc/def) {

    // we are in ADMIN mode - set variables for DOMXPaths in ADMIN mode

} else {

    // we are in USER mode - set variables for DOMXPaths in USER mode

}