simpleTest.html 2.8 KB

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