skrapeit / skrape.it

A Kotlin-based testing/scraping/parsing library providing the ability to analyze and extract data from HTML (server & client-side rendered). It places particular emphasis on ease of use and a high level of readability by providing an intuitive DSL. It aims to be a testing lib, but can also be used to scrape websites in a convenient fashion.
https://docs.skrape.it
MIT License
805 stars 59 forks source link

[QUESTION] Is there a click function for clicking DOM elements? #130

Closed b1sar closed 3 years ago

b1sar commented 3 years ago

I'm trying to scrape a dynamically rendered website and I need to click some buttons in order to get some data and without interacting with the website there is no way I can do what I want to do. I read the documentation and look around the source code but couldn't find a click function or something similar. Is there any interactive functionality (like selenium's WebElement::click() or sendKeys() functions) in skrape.it?

christian-draeger commented 3 years ago

Currently not, sorry. Skrape{it} is just an html parser for now. With the BrowserFetcher It should be technically possible but is not implemented yet.

b1sar commented 3 years ago

Okay I got the point, thanks for the answer.