Make selenium2library-java 1.6 compliant. See #44