This package has been moved into the LatteArt monorepo.
LatteArt Capture CL is a service that capture users' operations on a web browser for LatteArt.
- 日本語版はREADME_ja.mdを参照して下さい。
This service capture users' operations using WebDriver.
-
Install
node.js v14.15.3. -
Install
yarncorresponding to the version of node.js. -
Go to the root directory of the project.
-
Execute the following command.
yarn install
- Go to the root directory of the project.
- Execute the following command.
yarn package
- The following directory and file is created in
dist/latteart-capture-cl.dist/latteart-capture-cl/ ├─ node_modules/ # external libraries ├─ latteart-capture-cl.exe # for Windows └─ latteart-capture-cl # for Mac
Detect source code changes and rebuild LatteArt Capture CL.
- Go to the root directory of the project.
- Execute the following command.
yarn watch
- The directory
distis created in the current directory, anddistcontains builtindex.js. (If you update the source code, it is rebuilt automatically.)
- Install the following tools and add them to the PATH.
- If the platform of system under test is PC
chromedrivercorresponding to the version of Google Chrome.cwebp
- If the platform of system under test is Android
chromedrivercorresponding to the version of Google Chrome.cwebpadbAppium
- If the platform of system under test is PC
- Start the Appium server if the platform of system under test is other than PC.
- Execute the
latteart-capture-cl.exeorlatteart-capture-cl. - The local server will stand up and wait at
http://127.0.0.1:3001.
This software is licensed under the Apache License, Version2.0.