0.3.1 • Published 9 months ago

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

Weekly downloads
-
License
ISC
Repository
gitlab
Last release
9 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

9 months ago

0.3.0

9 months ago

0.2.5

11 months ago

0.2.4

11 months ago

0.2.3

11 months ago

0.2.2

11 months ago

0.2.1

11 months ago