Fix for issue 6575

Fix commands wrong order recorded for www.baidu.com
See, https://code.google.com/p/selenium/issues/detail?id=6575

CLA has been signed.