Command line crawler
In order to build you need to install:
- JDK 1.8 (recommended installation via SDKMAN!)
$ ./gradlew clean build
The tool is provided as a binary jar in the project root:
$ ./java -jar crawler.jar </path/to/origin.html> </path/to/target.html> <element-id-to-find>
Output:
/html[0]/body[1]/div[0]/div[1]/div[2]/div[0]/div[0]/div[1]
Output 2:
element not found