selenium 1 captureScreenshot fixed