Fix for Chrome see https://code.google.com/p/selenium/issues/detail?id=2766

Change-Id: Ibcb21e6b307565e47729b3031181b8d18683d1fd