OLD | NEW |
| (Empty) |
1 <html> | |
2 <head> | |
3 <title>Hello WebDriver</title> | |
4 </head> | |
5 <body style="" name="body"> | |
6 <h1>Heading</h1> | |
7 | |
8 <p id="oneline">A single line of text</p> | |
9 | |
10 <div id="multiline"> | |
11 <p>A div containing</p> | |
12 More than one line of text<br/> | |
13 | |
14 <div>and block level elements</div> | |
15 </div> | |
16 | |
17 <span id="span">An inline element</span> | |
18 | |
19 <p id="lotsofspaces">This line has lots | |
20 | |
21 of spaces. | |
22 </p> | |
23 | |
24 <p id="nbsp">This line has a non-breaking space</p> | |
25 | |
26 <p id="nbspandspaces">This line has a non-breaking space and spaces</p> | |
27 | |
28 <p id="multilinenbsp">These lines  <br />  have leading and trailing NBS
Ps </p> | |
29 | |
30 <p id="inline">This <span id="inlinespan"> line has <em>text</em> </span>
within elements that are meant to be displayed | |
31 <!-- not as a block but --> inline</p> | |
32 | |
33 <div id="div-with-pre"> | |
34 <p>before pre</p> | |
35 <pre id="preformatted"> This section has a preformatted | |
36 text block | |
37 split in four lines | |
38 </pre> | |
39 <p>after pre</p> | |
40 </div> | |
41 | |
42 <div id="twoblocks"><p>Some text</p><p>Some more text</p></div> | |
43 | |
44 <div id="nestedblocks">Cheese <div><p>Some text</p><div><p>Some more text</p><p>
and also</p></div></div>Brie</div> | |
45 | |
46 <div id="collapsingtext"><span></span><div>Hello, world</div><span></span></div> | |
47 | |
48 <div id="withDocumentWrite"> | |
49 <script> | |
50 document.write("with document.write"); | |
51 document.write(" and with document.write again"); | |
52 </script> | |
53 </div> | |
54 | |
55 <form action="resultPage.html"> | |
56 <p> | |
57 <input type="checkbox" id="checkbox1"> | |
58 <label id="label1" for="checkbox1">foo<br />bar</label> | |
59 </p> | |
60 </form> | |
61 | |
62 <div id="links"> | |
63 <a href=""> link with leading space</a> | |
64 <a href="" id="linkWithTrailingSpace">link with trailing space | |
65 </a> | |
66 <a href=""><b>link with formatting tags</b></a> | |
67 <a href="" id="quote">link with " (double quote)</a> | |
68 <a href="" id="squote">link with ' (single quote)</a> | |
69 <a href="" id="backslash">link with \ (backslash)</a> | |
70 </div> | |
71 | |
72 <div style="text-indent:80%"><a href="resultPage.html" id="multilinelink">this l
ink should break<br />on multiple lines</a></div> | |
73 | |
74 <div name="someDiv">Top level</div> | |
75 <div id="containsSomeDiv"> | |
76 <div name="someDiv">Nested</div> | |
77 </div> | |
78 | |
79 <table id="wrappingtext"> | |
80 <tbody> | |
81 <tr><td style="width: 10px;"><span>beforeSpace</span><span> </span><span
>afterSpace</span></td></tr> | |
82 </tbody> | |
83 </table> | |
84 | |
85 <!-- Here comes an invalid <img> tag which has no src attribute ... --> | |
86 <img id="invalidImgTag" /> | |
87 | |
88 <img id="validImgTag" src="icon.gif" /> | |
89 <a id="validAnchorTag" href="icon.gif">a link to an icon</a> | |
90 | |
91 <span id="simpleJsonText">{a="b", c=1, d=true}</span> | |
92 <span id="complexJsonText">{a="\\b\\\"'\'"}</span> | |
93 | |
94 </body> | |
95 </html> | |
OLD | NEW |