selenium-webdriver 2.53.2 → 2.53.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// Load the http module to create an http server.
|
|
2
|
+
var http = require('http');
|
|
3
|
+
|
|
4
|
+
http.createServer(function (request, response) {
|
|
5
|
+
response.writeHead(200, {"Content-Type": "text/html"});
|
|
6
|
+
response.end(`<!DOCTYPE html><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no"><meta http-equiv="Content-Language" content="en"><meta http-equiv="X-UA-Compatible" content="IE=edge"><title>Index</title><link href="dossier.css" rel="stylesheet" type="text/css"><header><div><form><div><input type="search" placeholder="Search"></div></form></div></header><main><article class="indexfile"><h1>Closure Generated API Docs</h1><p>This is the generated documentation for the Closure Library repository at <a href="http://github.com/google/closure-library">github.com/google/closure-library</a>.</p><p>The documentation was produced using <a href="http://github.com/jleyba/js-dossier">github.com/jleyba/js-dossier</a></p></article><nav><h3><a href="index.html">Overview</a></h3><div><input type="checkbox" id="nav-types" checked/><label for="nav-types"><h3><span class="selectable">Types</span></h3></label><div id="nav-types-view"></div></div></nav></main><div class="pre-footer"><div></div></div><footer><div><a href="https://github.com/jleyba/js-dossier">Generated by dossier</a></div></footer><script src="types.js"></script><script src="dossier.js"></script>`);
|
|
7
|
+
}).listen(8000);
|
|
8
|
+
|
|
9
|
+
http.createServer(function (request, response) {
|
|
10
|
+
response.writeHead(200, {"Content-Type": "text/html"});
|
|
11
|
+
response.end(`<!DOCTYPE html><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no"><meta http-equiv="Content-Language" content="en"><meta http-equiv="X-UA-Compatible" content="IE=edge"><link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"><title>Index</title><link href="dossier.css" rel="stylesheet" type="text/css"><header><button class="dossier-menu"><i class="material-icons">menu</i></button><form><input type="search" placeholder="Search" tabindex="1"><i class="material-icons">search</i></form></header><div class="content"><main><article class="page"><h1>Closure Generated API Docs</h1>
|
|
12
|
+
<p>This is the generated documentation for the Closure Library
|
|
13
|
+
repository at
|
|
14
|
+
<a href="http://github.com/google/closure-library">github.com/google/closure-library</a>.</p>
|
|
15
|
+
<p>The documentation was produced using
|
|
16
|
+
<a href="http://github.com/jleyba/js-dossier">github.com/jleyba/js-dossier</a></p>
|
|
17
|
+
</article></main><footer><div><a href="https://github.com/jleyba/js-dossier">Generated by dossier</a></div></footer></div><nav class="dossier-nav"><section><a class="title" href="index.html" tabindex="2">Overview</a></section><section class="types"><div class="toggle"><div class="title"><span class="item" tabindex="2">Types</span><i class="material-icons">expand_more</i></div></div></section></nav><script src="types.js"></script><script src="dossier.js"></script>`);
|
|
18
|
+
}).listen(9000);
|
|
19
|
+
|
|
20
|
+
console.log("Hello server running at http://127.0.0.1:8000/");
|
|
21
|
+
console.log("Goodbye server running at http://127.0.0.1:9000/");
|
|
Binary file
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<title></title>
|
|
5
|
+
<script type="text/javascript">
|
|
6
|
+
var next = 0;
|
|
7
|
+
|
|
8
|
+
function addVisibleBox() {
|
|
9
|
+
var box = document.createElement('DIV');
|
|
10
|
+
box.id = 'box' + next++;
|
|
11
|
+
box.className = 'redbox';
|
|
12
|
+
box.style.width = '150px';
|
|
13
|
+
box.style.height = '150px';
|
|
14
|
+
box.style.backgroundColor = 'red';
|
|
15
|
+
box.style.border = '1px solid black';
|
|
16
|
+
box.style.margin = '5px';
|
|
17
|
+
box.style.visibility = 'visible'
|
|
18
|
+
|
|
19
|
+
window.setTimeout(function() {
|
|
20
|
+
document.body.appendChild(box);
|
|
21
|
+
}, 1000);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
function addHiddenBox() {
|
|
25
|
+
var box = document.createElement('DIV');
|
|
26
|
+
box.id = 'box' + next++;
|
|
27
|
+
box.className = 'redbox';
|
|
28
|
+
box.style.width = '150px';
|
|
29
|
+
box.style.height = '150px';
|
|
30
|
+
box.style.backgroundColor = 'red';
|
|
31
|
+
box.style.border = '1px solid black';
|
|
32
|
+
box.style.margin = '5px';
|
|
33
|
+
box.style.visibility = 'hidden';
|
|
34
|
+
|
|
35
|
+
window.setTimeout(function() {
|
|
36
|
+
document.body.appendChild(box);
|
|
37
|
+
}, 1000);
|
|
38
|
+
}
|
|
39
|
+
</script>
|
|
40
|
+
</head>
|
|
41
|
+
<body>
|
|
42
|
+
<input id="addVisible" type="button" value="Add a visible box!" onclick="addVisibleBox()"/>
|
|
43
|
+
<input id="addHidden" type="button" value="Add a hidden box!" onclick="addHiddenBox();" />
|
|
44
|
+
</body>
|
|
45
|
+
</html>
|