index.html 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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. <div id="multiline">
  9. <p>A div containing</p>
  10. More than one line of text<br/>
  11. <div>and block level elements</div>
  12. </div>
  13. <span id="span">An inline element</span>
  14. <p id="lotsofspaces">This line has lots
  15. of spaces.
  16. </p>
  17. <p id="nbsp">This line has a&nbsp;non-breaking space</p>
  18. <p id="nbspandspaces">This line has a &nbsp; non-breaking space and spaces</p>
  19. <p id="inline">This <span id="inlinespan"> line has <em>text</em> </span> within elements that are meant to be displayed
  20. <!-- not as a block but --> inline</p>
  21. <p id="preformatted">This section has a <pre>preformatted
  22. text block
  23. within in
  24. </pre>
  25. </p>
  26. <div id="twoblocks"><p>Some text</p><p>Some more text</p></div>
  27. <div id="nestedblocks">Cheese <div><p>Some text</p><div><p>Some more text</p><p>and also</p></div></div>Brie</div>
  28. <div id="collapsingtext"><span></span><div>Hello, world</div><span></span></div>
  29. <div id="withDocumentWrite">
  30. <script>
  31. document.write("with document.write");
  32. document.write(" and with document.write again");
  33. </script>
  34. </div>
  35. <form action="resultPage.html">
  36. <p>
  37. <input type="checkbox" id="checkbox1">
  38. <label id="label1" for="checkbox1">foo<br />bar</label>
  39. </p>
  40. </form>
  41. <div id="links">
  42. <a href=""> link with leading space</a>
  43. <a href="">link with trailing space </a>
  44. <a href=""><b>link with formatting tags</b></a>
  45. </div>
  46. <div name="someDiv">Top level</div>
  47. <div id="containsSomeDiv">
  48. <div name="someDiv">Nested</div>
  49. </div>
  50. <div id="visibility">
  51. <span id="displayed">I am displayed.</span>
  52. <span id="hidden" style="display: none;">I am hidden.</span>
  53. </div>
  54. </body>
  55. </html>