[WebDriver] fixed screenshot test
[WebDriver] fixed exception in test