Commit cc9c15dd authored by Ahmad Nemati's avatar Ahmad Nemati

init

parent 43c7f3ae
...@@ -9,7 +9,15 @@ screenshot({ filename: 'shot2.png' }).then((imgPath) => { ...@@ -9,7 +9,15 @@ screenshot({ filename: 'shot2.png' }).then((imgPath) => {
}) })
test() test2()
async function test2()
{
await sleep(4000)
screenshot({ filename: 'shot10.png' }).then((imgPath) => {
})
}
async function test() { async function test() {
var img = robot.screen.capture(0, 0); var img = robot.screen.capture(0, 0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment