Fixes to avoid close browser
Merge pull request #218 from Ademarh/LastFixesforJenkins

Fixes to avoid close browser