improve the performance of watir-webdriver and support browser firefox, chrome(only for filter function)