Add disable_method. More robust _get_xpath_script method