How to Use
People find DSLs valuable because a well-designed DSL can be much easier to program with than a traditional library. This improves programmer productivity, which is always valuable.
Martin Fowler
The Skrape{it} DSL is the recommended way of using the library. It offers the highest level of features and usability.
The DSL should be nearly self-explaining. Depending on your use-case here is an example with explanations on how to use skrape{it} to write automated tests that validates an endpoint or an URL that is returning HTML:
To learn more about the possible request-options please have a look here:
Request OptionsTo learn more about the parsing html and working with elements please have a look here:
Parsing HTMLTo learn more about the build-in matchers please have a look here:
MatchersFurther Testing Example:
TestingFurther information on what is the best way to actually scrape the content of an webpage and work with that data can be found here:
ScrapingA domain-specific language (DSL) is a computer language specialized to a particular application domain.
Last updated