check if the path have a pre handler. Qiu
Merge pull request #2 from winsonwq/set_default_scenario_before_taking_screenshot

check if the path have a pre handler. Qiu