1

I want to write a code for parsing HTML from a site with announcements. I wish I could use Jsoup, but it's a bit complicated for getting the phone number from this site. I should click on a div first, then it is shown in the HTML code.

So, what tool should I use to perform click on elements and the parse the HTML ?

Selenium I think is not an option for me, because this code will run on a Java Server.

1 Answers1

0

If your usecase is to parsing HTML from a site is one of the best tool. You won't even need .

To perform click(), sendKeys(), etc, irrespective of the server type, e.g. Java Server, Selenium works just perfect while interacting with the HTML DOM.

undetected Selenium
  • 183,867
  • 41
  • 278
  • 352