Selenium Assertions and Input new generic with InputMethodFactory