implemented both versions of selenium-java