Add support for driver.switch_to_active_element()