Dockyard - Capture is screenshot utility on different platforms (Windows, Mac).
It reads the URL from the CSV file and automatically takes a full page screenshot in all major web
browsers.
The latest version of the Java 11 OpenJDK
./gradlew run --args="-fn [filePath]/[fileName].csv -osn mac -brn edge"
configuration key | Description | Example |
---|---|---|
--fileName -fn |
Path to file contain CSV file. | --fileName input.csv |
--browserName -brn |
This script runs this browser. | --browserName chrome (chrome,firefox,edge, safari) |
--osName -osn |
This script runs this os. | --osName mac (mac, win) |
- Character code must be UTF-8
- One line must meet the following format
(NO.), (Name), (URL)
SampleFile: DockyardCapture/src/test/resources/sample.csv - Only single-byte alphanumeric characters can be used for (Name)
- (NO.) Is a half-width number from 0 to 99999
- If the page length is too long, such as the timeline, it may not be possible to capture.
DockyardCapture's source code is made available under the Apache 2.0 license.