cleanSafari fix
Merge pull request #3895 from appium/sebv-clean-safari-fix

cleanSafari fix