fix webdriver predicate