Solution for people who may have a similar problem:
" $('#Logs .log-line').slice(13).remove(); "
By default it says slice(500), adjust this number according to your needs. 13 was enough for me.
image.png
Module > HTTP client
Action > Xpath Get Text
or you can firstly save content of http client response with
"Content" action and than use standard "Xpath" module.
Please read "more info" for both modules and actions
you will use - its self-explaining.
First way is proper way if you already use http client anyway.