dom-testing
v1.0.14
Published
A javascript library for dom operation test
Downloads
5
Readme
dom-testing
A javascript library for dom operation test
Install
npm install -D dom-testing
or
yarn add -D dom-testing
Usage
import {
clickButton,
inputString,
syncTest,
matchElement,
testSleep,
scroll
} from "../lib/dom-test/lib/dom-test";
syncTest([
inputString.bind(null, "element id", "[email protected]"),
inputString.bind(null, "element id", "123456"),
clickButton.bind(null, "element id"),
]);
syncTest([
matchElement.bind(null, "element id", "expect string"),
testSleep.bind(null, "sleeptime"),
scroll.bind(null, x, y),
])