when i use sahi to click on a link in gmail, gmail opens a confirm dialogue asking me to confirm to leave the page ("Leave page" button). here's the code to automatically accept the "Leave page" option:
var $link_url = "http://example.com";
// ... more code ...
_call(window.open($link_url);
_expectConfirm(/.*/, true);
No comments:
Post a Comment