Fixed the selenium remote server crash issue when running the snapshot s...

...equence