Updated Selenium\AbstractTestCase, trying to fix webdriver error "unknown error: cannot take screenshot" with sleep(1) after window maximize