summaryrefslogtreecommitdiffstats
path: root/third_party/webdriver/test_data/simpleTest.html
blob: ce5a3183f55027edb99520402f52ecee4ca10c9a (plain)
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<html>
<head>
    <title>Hello WebDriver</title>
</head>
<body style="" name="body">
<h1>Heading</h1>

<p id="oneline">A single line of text</p>

<div id="multiline">
    <p>A div containing</p>
    More than one line of text<br/>

    <div>and block level elements</div>
</div>

<span id="span">An inline element</span>

<p id="lotsofspaces">This line has lots

    of spaces.
</p>

<p id="nbsp">This line has a&nbsp;non-breaking space</p>

<p id="nbspandspaces">This line has a &nbsp; non-breaking space and spaces</p>

<p id="inline">This <span id="inlinespan">    line has <em>text</em>	</span> within elements that are meant to be displayed
    <!-- not as a block but --> inline</p>

<p id="preformatted">This section has a <pre>preformatted
    text block
  within in
        </pre>
</p>

<div id="twoblocks"><p>Some text</p><p>Some more text</p></div>

<div id="nestedblocks">Cheese <div><p>Some text</p><div><p>Some more text</p><p>and also</p></div></div>Brie</div>

<div id="collapsingtext"><span></span><div>Hello, world</div><span></span></div>

<div id="withDocumentWrite">
<script>
document.write("with document.write");
document.write(" and with document.write again");
</script>
</div>

<form action="resultPage.html">
    <p>
        <input type="checkbox" id="checkbox1">
        <label id="label1" for="checkbox1">foo<br />bar</label>
    </p>
</form>

<div id="links">
<a href="">   link with leading space</a>
<a href="" id="linkWithTrailingSpace">link with trailing space   		
</a>
<a href=""><b>link with formatting tags</b></a>
</div>

<div name="someDiv">Top level</div>
<div id="containsSomeDiv">
  <div name="someDiv">Nested</div>
</div>

<table id="wrappingtext">
    <tbody>
        <tr><td style="width: 10px;"><span>beforeSpace</span><span> </span><span>afterSpace</span></td></tr>
    </tbody>
</table>

<!-- Here comes an invalid <img> tag which has no src attribute ... -->
<img id="invalidImgTag" />

<span id="simpleJsonText">{a="b", c=1, d=true}</span>
<span id="complexJsonText">{a="\\b\\\"'\'"}</span>

</body>
</html>