Using getScreenshot as a "waitForCompositing" API

`navigation.js` is officially `setTimeout`-free !