SeleniumClient\WebDriver::screenshot

Takes screenshot of current screen, saves it in specified default directory or as specified in parameter