Explore Courses Blog Tutorials Interview Questions
0 votes
in RPA by (12.7k points)

I want to click on all links which are present in an email, except those which are not the actual part of the email.

I want to do this by using a loop or something. Eg. If there are 3 links, then traverse For loop 3 times, click on each hyperlink and do something.

How do I do that?

1 Answer

0 votes
by (29.5k points)

To do this you can follow the following steps:

  1. Get mail HTML body
  2. Convert HTML to XML
  3. Perform XPath to find your links

Browse Categories