@lx-frontend/visual-test-miniapp-adapter
v0.2.5
Published
E2E视觉测试工具库,小程序适配器
Downloads
214
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)
}