Fixing last commit

This commit is contained in:
Kenneth Shaw 2017-02-12 16:46:59 +07:00
parent 3673164aef
commit f55e04bb7a

View File

@ -53,6 +53,6 @@ func screenshot(urlstr, sel string, res *[]byte) cdp.Tasks {
cdp.Sleep(2 * time.Second), cdp.Sleep(2 * time.Second),
cdp.WaitVisible(sel, cdp.ByID), cdp.WaitVisible(sel, cdp.ByID),
cdp.WaitNotVisible(`div.v-middle > div.la-ball-clip-rotate`, cdp.ByQuery), cdp.WaitNotVisible(`div.v-middle > div.la-ball-clip-rotate`, cdp.ByQuery),
cdp.Screenshot(sel, res, cdp.ElementVisible, cdp.ByID), cdp.Screenshot(sel, res, cdp.NodeVisible, cdp.ByID),
} }
} }