fix to selenium 2 tests