ghostdriver.session, fixed wait and window.off
fixed phantomjs crash with new window open.