Back

Explore Courses Blog Tutorials Interview Questions
0 votes
1 view
in RPA by (12.8k 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.8k 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!

28.4k questions

29.7k answers

500 comments

94.1k users

Browse Categories

...