update selenium to 2.42.2
remove DoctypeForPageRule due to incompatibility with webdriver