remove the last '/' of $url
add screenshot feature.

$screenshot = $driver->takeScreenshot($save_as);

$driver->takeScreenshot() return the png image.
If you want to save the screenshot to somewhere, pass the path of as
$save_as. If $save_as is null, then it won't be save.
Merge remote-tracking branch 'upstream/master'
Merged from master.