Skip to content
This repository was archived by the owner on Feb 27, 2023. It is now read-only.

latteart-org/latteart-capture-cl

Repository files navigation

⚠️ ARCHIVED

This package has been moved into the LatteArt monorepo.

LatteArt Capture CL

LatteArt Capture CL is a service that capture users' operations on a web browser for LatteArt.

This service capture users' operations using WebDriver.

Project Setup

  1. Install node.js v14.15.3.

  2. Install yarn corresponding to the version of node.js.

  3. Go to the root directory of the project.

  4. Execute the following command.

    yarn install

Build

  1. Go to the root directory of the project.
  2. Execute the following command.
    yarn package
  3. 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

Watch (for developer)

Detect source code changes and rebuild LatteArt Capture CL.

  1. Go to the root directory of the project.
  2. Execute the following command.
    yarn watch
  3. The directory dist is created in the current directory, and dist contains built index.js. (If you update the source code, it is rebuilt automatically.)

Run

Preparation

  1. Install the following tools and add them to the PATH.
    • If the platform of system under test is PC
      1. chromedriver corresponding to the version of Google Chrome.
      2. cwebp
    • If the platform of system under test is Android
      1. chromedriver corresponding to the version of Google Chrome.
      2. cwebp
      3. adb
      4. Appium
  2. Start the Appium server if the platform of system under test is other than PC.

How to use

  1. Execute the latteart-capture-cl.exe or latteart-capture-cl.
  2. The local server will stand up and wait at http://127.0.0.1:3001.

License

This software is licensed under the Apache License, Version2.0.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors