WebDriverSession: no need for tmp file

Also, sys_get_temp_dir apparently does not always add a trailing slash; enforced that it does.
Applied our standards & cleaned code