0.3.1 • Published 10 months ago

@lx-frontend/visual-test-chrome-adapter v0.3.1

Weekly downloads
-
License
ISC
Repository
gitlab
Last release
10 months ago

@lx-frontend/visual-test-chrome-adapter

Chrome 浏览器适配器,用于 visual-test 自动化操作 Chrome 浏览器。

使用方式

import {ChromiumAutomation} from "@lx-frontend/visual-test-chrome-adapter";
import {
    IStepBuilderConfig,
    MiniProgramAutomation,
    IBuiltInStepType,
    StepExecutor,
} from "@lx-frontend/visual-test";

async function run() {
    const stepsExecutor = await StepExecutor.create([
        [
            'default',
            new ChromiumAutomation()
        ]
    ])
    const steps = StepBuilder.create(testConfig3)
    const stepsObj = stepsExecutor.buildStepsIntoFunction(steps, testConfig3.title)
}
0.3.1

10 months ago

0.3.0

10 months ago

0.2.5

12 months ago

0.2.4

12 months ago

0.2.3

12 months ago

0.2.2

12 months ago

0.2.1

12 months ago