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/proxy/page1.html
generated
vendored
Normal file
20
node_modules/selenium-webdriver/lib/test/data/proxy/page1.html
generated
vendored
Normal file
|
@ -0,0 +1,20 @@
|
|||
<!DOCTYPE html>
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<title>Page 1</title>
|
||||
<p>The <code>next</code> query param must be the URL for the next page to
|
||||
link to.
|
||||
<script>
|
||||
var match = document.location.search.match(/next=(.*)/);
|
||||
if (match && match.length == 2) {
|
||||
var next = decodeURIComponent(match[1]);
|
||||
var link = document.createElement('a');
|
||||
link.innerText = 'Next!';
|
||||
link.textContent = 'Next!';
|
||||
link.id = 'next';
|
||||
link.href = next + '?next=' + encodeURIComponent(
|
||||
'http://' + document.location.host +
|
||||
document.location.pathname.replace('page1.html', 'page3.html'));
|
||||
document.body.appendChild(link);
|
||||
}
|
||||
</script>
|
24
node_modules/selenium-webdriver/lib/test/data/proxy/page2.html
generated
vendored
Normal file
24
node_modules/selenium-webdriver/lib/test/data/proxy/page2.html
generated
vendored
Normal file
|
@ -0,0 +1,24 @@
|
|||
<!DOCTYPE html>
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<title>Page 2</title>
|
||||
This page is a middle man for referrer tests.
|
||||
This page will include a link to a "next" page if the <code>next</code> query
|
||||
parameter, or the <code>document.referrer</code> is set.
|
||||
<p><input type="button" id="forward" value="Forward" onclick="history.go(1)"/>
|
||||
<script>
|
||||
var match = document.location.search.match(/next=(.*)/);
|
||||
var next = document.referrer || '';
|
||||
if (match && match.length == 2) {
|
||||
next = decodeURIComponent(match[1]);
|
||||
}
|
||||
|
||||
if (next) {
|
||||
var link = document.createElement('a');
|
||||
link.innerText = 'Next!';
|
||||
link.textContent = 'Next!';
|
||||
link.id = 'next';
|
||||
link.href = next;
|
||||
document.body.appendChild(link);
|
||||
}
|
||||
</script>
|
5
node_modules/selenium-webdriver/lib/test/data/proxy/page3.html
generated
vendored
Normal file
5
node_modules/selenium-webdriver/lib/test/data/proxy/page3.html
generated
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
<!DOCTYPE html>
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<title>Page 3</title>
|
||||
<p><input type="button" id="back" value="Back" onclick="history.go(-1)"/>
|
Loading…
Add table
Add a link
Reference in a new issue