Deployed the page to Github Pages.
This commit is contained in:
parent
1d79754e93
commit
2c89899458
62797 changed files with 6551425 additions and 15279 deletions
20
node_modules/selenium-webdriver/lib/test/data/pageWithOnBeforeUnloadMessage.html
generated
vendored
Normal file
20
node_modules/selenium-webdriver/lib/test/data/pageWithOnBeforeUnloadMessage.html
generated
vendored
Normal file
|
@ -0,0 +1,20 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<!--
|
||||
This page differs from pageWithOnUnload.html in that it returns a string in the
|
||||
event handler, which causes a different type of alert to appear (the "Stay on
|
||||
page/Leave current page" alert).
|
||||
-->
|
||||
<script type="text/javascript">
|
||||
function onBeforeUnloadHandler() {
|
||||
return "This is for WebDriver with onbeforeunload event handler.";
|
||||
}
|
||||
window.onbeforeunload = onBeforeUnloadHandler;
|
||||
</script>
|
||||
<title>Page with OnBeforeUnload handler</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>Page with onbeforeunload event handler. <a id="navigate" href="alerts.html">Click here to navigate to another page.</a></p>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue