-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlauncher.html
39 lines (35 loc) · 1.28 KB
/
launcher.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<title>Ecballium by kkott00</title>
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<script src='jquery.js'></script>
<script>
var hash = window.location.hash.slice(1);
//console.log( 'config',ecb_config)
$(function(){
//if (hash!="")
// $('code').load(hash+'.feature')
//code=$.get(hash+'.feature')
if (hash.length != 0)
open('ecballium.html#'+hash,'AUT', "width=800,height=768,top=0,left=800" );
$('button.load_feature').on('click',function(){
open('ecballium.html#'+$('#feature_name').val(),'AUT', "width=800,height=768,top=0,left=800" );
})
})
</script>
</head>
<body>
<h2>This is empty page</h2>
<p>To launch test script use URL: [host]/path/to/static/test/launcher.html#[feature name]</p>
<p>Load test page here using "Go to [URL]" BDD command</p>
<label for="feature_name">Feature name</label>
<input type="text" id="feature_name"/>
<button class="load_feature">Load</button>
</body>
</html>