Skip to content

humancrest/DockyardCapture

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dockyard - Capture

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.

Requirements

The latest version of the Java 11 OpenJDK

Build

Run

./gradlew run --args="-fn [filePath]/[fileName].csv -osn mac -brn edge"

Argument

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)

Prerequisites

CSV file

  • 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.

License

DockyardCapture's source code is made available under the Apache 2.0 license.