Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
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
Welcome to Intellipaat Community. Get your technical queries answered by top developers!

30.5k questions

32.6k answers

500 comments

108k users

Browse Categories

...