@lx-frontend/visual-test-chrome-adapter
v0.2.2
Published
E2E视觉测试工具库,网页适配器
Downloads
110
Maintainers
Keywords
Readme
@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)
}