What are effective at Kotlin libraries and NodeJs to parse web sites with ajax, authorization, c SCRF and page transitions LK?

Good day,

How can a script in JS or Kotlin to emulate user actions in the browser at the time of full page load. Must be able to:

1) log in form
2) walk through the pages, closed to guest
3) to interact with the DOM elementi on these pages - click on the
4) to put data blocks.

Considered PhantomJS and CasperJS. But I don't know what from the list they can cover.
For Kotlin as I understand it - in this area is quite damp:
https://kotlinlang.org/api/latest/jvm/stdlib/org.w...

Please advise which set of tools should I choose for this task?
April 3rd 20 at 18:51
4 answers
April 3rd 20 at 18:53
Solution
PhantomJS can definitely cover such cases.
Thank you. I'll try. As I understand it - it is deprecated - not supported anymore and in some cases opredelaetsa non-existent as the browser. - Nels.Tillm commented on April 3rd 20 at 18:56
April 3rd 20 at 18:55
Solution
Any headless browser API for the language.
April 3rd 20 at 18:57
Solution
Thank you. And there are some advantages of the libs against Casper and Phantom? - Nels.Tillm commented on April 3rd 20 at 19:00
@Zoe.Lebsackis goglova library, essentially a bridge between the browser and the language, if that's not enough, a good pain with the phantom) - Fern.Terr commented on April 3rd 20 at 19:03
@Jaida.Dietri, Thank You. - Nels.Tillm commented on April 3rd 20 at 19:06
April 3rd 20 at 18:59
Solution
I Recommend Selenium
Thank you. Do not tell me it's faster if you use together with Java or with Node? - Nels.Tillm commented on April 3rd 20 at 19:02
@Zoe.Lebsack, hardly tell, because I'm python/php/go developer. But I think in this case not so important, because sites need to parse carefully to a sudden increase in load was not noticed. Even a random timeouts to set good used. Gouge website in multiple streams - a sure way to ensure that the site owner noticed it and banned you. - amiya_Hick commented on April 3rd 20 at 19:05

Find more questions by tags JavaScriptKotlin