Tests for the console.screenshot API.