Java jsoup load page


The part of the page that is parsed is hidden. To load it, you need to click on the block. Here is the code for this block

<div class="b-comments__next">
Ещё <span class="b-comments__next-count">1195</span> комментариев <i class="fa fa-refresh">::before</i> <span class="b-comments__next-error"></span>

What jsoup command is needed so that he clicks on this block after loading the page


In order to click on anything on the page, you need to use the selenium library. With the help of this library you can click on the block, then get the html-content of the page and parse it with jsoup

Scroll to Top