switch the javascript driver form selenium to webkit