set up load event listeners before running cmds
set up load event listeners before running cmds

Otherwise, if an action that triggers the event runs quickly enough, the
event could be fired before the listener has been set up.

This can be reproduced by adding a sleep at the top of the old
waitLoaded func, which would then result in the action blocking forever.

knq/chromedp,knq/chromedp,knq/chromedp,chromedp/chromedp,chromedp/chromedp,chromedp/chromedp