Create _runonfailure.py

copy from selenium2libray