selenium-webdriver 3.5.0 → 4.0.0-alpha.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (366) hide show
  1. package/CHANGES.md +246 -0
  2. package/LICENSE +1 -1
  3. package/NOTICE +1 -1
  4. package/README.md +40 -40
  5. package/chrome.js +118 -134
  6. package/edge.js +43 -117
  7. package/example/chrome_android.js +8 -9
  8. package/example/chrome_mobile_emulation.js +8 -9
  9. package/example/firefox_channels.js +23 -19
  10. package/example/google_search.js +3 -3
  11. package/example/google_search_test.js +38 -27
  12. package/example/{chrome_headless.js → headless.js} +15 -7
  13. package/example/logging.js +40 -7
  14. package/firefox.js +789 -0
  15. package/http/index.js +62 -9
  16. package/http/util.js +11 -6
  17. package/ie.js +83 -97
  18. package/index.js +198 -114
  19. package/io/exec.js +29 -15
  20. package/io/index.js +1 -1
  21. package/io/zip.js +1 -1
  22. package/lib/actions.js +68 -63
  23. package/lib/atoms/get-attribute.js +86 -0
  24. package/lib/atoms/is-displayed.js +76 -76
  25. package/lib/by.js +7 -4
  26. package/lib/capabilities.js +310 -210
  27. package/lib/command.js +27 -51
  28. package/lib/error.js +100 -41
  29. package/lib/http.js +161 -120
  30. package/lib/input.js +1044 -8
  31. package/lib/logging.js +1 -5
  32. package/lib/promise.js +222 -3331
  33. package/lib/proxy.js +134 -39
  34. package/lib/session.js +2 -2
  35. package/lib/symbols.js +0 -0
  36. package/lib/until.js +1 -1
  37. package/lib/webdriver.js +717 -953
  38. package/net/index.js +21 -25
  39. package/net/portprober.js +51 -68
  40. package/package.json +17 -12
  41. package/proxy.js +0 -0
  42. package/remote/index.js +63 -44
  43. package/safari.js +41 -128
  44. package/testing/index.js +386 -315
  45. package/.npmignore +0 -2
  46. package/example/async_await_test.js +0 -68
  47. package/example/google_search_generator.js +0 -50
  48. package/example/parallel_flows.js +0 -54
  49. package/firefox/binary.js +0 -344
  50. package/firefox/extension.js +0 -224
  51. package/firefox/index.js +0 -626
  52. package/firefox/profile.js +0 -394
  53. package/lib/README +0 -5
  54. package/lib/atoms/getAttribute.js +0 -9
  55. package/lib/devmode.js +0 -34
  56. package/lib/events.js +0 -210
  57. package/lib/firefox/webdriver.json +0 -70
  58. package/lib/test/build.js +0 -151
  59. package/lib/test/data/ClickTest_testClicksASurroundingStrongTag.html +0 -11
  60. package/lib/test/data/Page.aspx +0 -17
  61. package/lib/test/data/Page.aspx.cs +0 -22
  62. package/lib/test/data/Redirect.aspx +0 -11
  63. package/lib/test/data/Redirect.aspx.cs +0 -9
  64. package/lib/test/data/Settings.StyleCop +0 -759
  65. package/lib/test/data/Web.Config +0 -59
  66. package/lib/test/data/actualXhtmlPage.xhtml +0 -14
  67. package/lib/test/data/ajaxy_page.html +0 -81
  68. package/lib/test/data/alerts.html +0 -85
  69. package/lib/test/data/banner.gif +0 -0
  70. package/lib/test/data/beach.jpg +0 -0
  71. package/lib/test/data/blank.html +0 -1
  72. package/lib/test/data/bodyTypingTest.html +0 -41
  73. package/lib/test/data/booleanAttributes.html +0 -19
  74. package/lib/test/data/child/childPage.html +0 -8
  75. package/lib/test/data/child/grandchild/grandchildPage.html +0 -8
  76. package/lib/test/data/clickEventPage.html +0 -26
  77. package/lib/test/data/click_frames.html +0 -10
  78. package/lib/test/data/click_jacker.html +0 -38
  79. package/lib/test/data/click_out_of_bounds.html +0 -23
  80. package/lib/test/data/click_out_of_bounds_overflow.html +0 -85
  81. package/lib/test/data/click_rtl.html +0 -19
  82. package/lib/test/data/click_source.html +0 -18
  83. package/lib/test/data/click_tests/click_iframe.html +0 -6
  84. package/lib/test/data/click_tests/click_in_iframe.html +0 -8
  85. package/lib/test/data/click_tests/disabled_element.html +0 -12
  86. package/lib/test/data/click_tests/disappearing_element.html +0 -62
  87. package/lib/test/data/click_tests/google_map.html +0 -15
  88. package/lib/test/data/click_tests/google_map.png +0 -0
  89. package/lib/test/data/click_tests/html5_submit_buttons.html +0 -16
  90. package/lib/test/data/click_tests/issue5237.html +0 -9
  91. package/lib/test/data/click_tests/issue5237_frame.html +0 -1
  92. package/lib/test/data/click_tests/issue5237_target.html +0 -10
  93. package/lib/test/data/click_tests/link_that_wraps.html +0 -11
  94. package/lib/test/data/click_tests/mapped_page1.html +0 -9
  95. package/lib/test/data/click_tests/mapped_page2.html +0 -9
  96. package/lib/test/data/click_tests/mapped_page3.html +0 -9
  97. package/lib/test/data/click_tests/overlapping_elements.html +0 -70
  98. package/lib/test/data/click_tests/partially_overlapping_elements.html +0 -124
  99. package/lib/test/data/click_tests/span_that_wraps.html +0 -11
  100. package/lib/test/data/click_tests/submitted_page.html +0 -9
  101. package/lib/test/data/click_tests/wrapped_overlapping_elements.html +0 -13
  102. package/lib/test/data/click_too_big.html +0 -10
  103. package/lib/test/data/click_too_big_in_frame.html +0 -11
  104. package/lib/test/data/clicks.html +0 -35
  105. package/lib/test/data/closeable_window.html +0 -8
  106. package/lib/test/data/cn-test.html +0 -156
  107. package/lib/test/data/colorPage.html +0 -20
  108. package/lib/test/data/cookies.html +0 -30
  109. package/lib/test/data/coordinates_tests/element_in_frame.html +0 -9
  110. package/lib/test/data/coordinates_tests/element_in_nested_frame.html +0 -9
  111. package/lib/test/data/coordinates_tests/page_with_element_out_of_view.html +0 -11
  112. package/lib/test/data/coordinates_tests/page_with_empty_element.html +0 -10
  113. package/lib/test/data/coordinates_tests/page_with_fixed_element.html +0 -12
  114. package/lib/test/data/coordinates_tests/page_with_hidden_element.html +0 -10
  115. package/lib/test/data/coordinates_tests/page_with_invisible_element.html +0 -10
  116. package/lib/test/data/coordinates_tests/page_with_transparent_element.html +0 -10
  117. package/lib/test/data/coordinates_tests/simple_page.html +0 -10
  118. package/lib/test/data/css/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
  119. package/lib/test/data/css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
  120. package/lib/test/data/css/ui-lightness/images/ui-bg_flat_10_000000_40x100.png +0 -0
  121. package/lib/test/data/css/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
  122. package/lib/test/data/css/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
  123. package/lib/test/data/css/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  124. package/lib/test/data/css/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
  125. package/lib/test/data/css/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
  126. package/lib/test/data/css/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
  127. package/lib/test/data/css/ui-lightness/images/ui-icons_222222_256x240.png +0 -0
  128. package/lib/test/data/css/ui-lightness/images/ui-icons_228ef1_256x240.png +0 -0
  129. package/lib/test/data/css/ui-lightness/images/ui-icons_ef8c08_256x240.png +0 -0
  130. package/lib/test/data/css/ui-lightness/images/ui-icons_ffd27a_256x240.png +0 -0
  131. package/lib/test/data/css/ui-lightness/images/ui-icons_ffffff_256x240.png +0 -0
  132. package/lib/test/data/css/ui-lightness/jquery-ui-1.8.10.custom.css +0 -573
  133. package/lib/test/data/cssTransform.html +0 -61
  134. package/lib/test/data/cssTransform2.html +0 -20
  135. package/lib/test/data/document_write_in_onload.html +0 -13
  136. package/lib/test/data/dragAndDropInsideScrolledDiv.html +0 -67
  137. package/lib/test/data/dragAndDropTest.html +0 -102
  138. package/lib/test/data/dragDropOverflow.html +0 -104
  139. package/lib/test/data/draggableLists.html +0 -67
  140. package/lib/test/data/droppableItems.html +0 -65
  141. package/lib/test/data/dynamic.html +0 -39
  142. package/lib/test/data/dynamicallyModifiedPage.html +0 -42
  143. package/lib/test/data/errors.html +0 -15
  144. package/lib/test/data/firefox/jetpack-sample.xpi +0 -0
  145. package/lib/test/data/firefox/sample.xpi +0 -0
  146. package/lib/test/data/firefox/webextension.xpi +0 -0
  147. package/lib/test/data/fixedFooterNoScroll.html +0 -13
  148. package/lib/test/data/fixedFooterNoScrollQuirksMode.html +0 -12
  149. package/lib/test/data/formPage.html +0 -175
  150. package/lib/test/data/formSelectionPage.html +0 -46
  151. package/lib/test/data/form_handling_js_submit.html +0 -30
  152. package/lib/test/data/framePage3.html +0 -7
  153. package/lib/test/data/frameScrollChild.html +0 -26
  154. package/lib/test/data/frameScrollPage.html +0 -14
  155. package/lib/test/data/frameScrollParent.html +0 -11
  156. package/lib/test/data/frameWithAnimals.html +0 -11
  157. package/lib/test/data/frame_switching_tests/bug4876.html +0 -9
  158. package/lib/test/data/frame_switching_tests/bug4876_iframe.html +0 -9
  159. package/lib/test/data/frame_switching_tests/deletingFrame.html +0 -29
  160. package/lib/test/data/frame_switching_tests/deletingFrame_iframe.html +0 -8
  161. package/lib/test/data/frame_switching_tests/deletingFrame_iframe2.html +0 -7
  162. package/lib/test/data/frameset.html +0 -14
  163. package/lib/test/data/framesetPage2.html +0 -7
  164. package/lib/test/data/framesetPage3.html +0 -4
  165. package/lib/test/data/globalscope.html +0 -15
  166. package/lib/test/data/hidden.html +0 -5
  167. package/lib/test/data/hidden_partially.html +0 -45
  168. package/lib/test/data/html5/blue.jpg +0 -0
  169. package/lib/test/data/html5/database.js +0 -84
  170. package/lib/test/data/html5/geolocation.js +0 -18
  171. package/lib/test/data/html5/green.jpg +0 -0
  172. package/lib/test/data/html5/red.jpg +0 -0
  173. package/lib/test/data/html5/status.html +0 -1
  174. package/lib/test/data/html5/test.appcache +0 -11
  175. package/lib/test/data/html5/yellow.jpg +0 -0
  176. package/lib/test/data/html5Page.html +0 -32
  177. package/lib/test/data/icon.gif +0 -0
  178. package/lib/test/data/idElements.html +0 -2
  179. package/lib/test/data/iframeAtBottom.html +0 -15
  180. package/lib/test/data/iframeWithAlert.html +0 -1
  181. package/lib/test/data/iframeWithIframe.html +0 -1
  182. package/lib/test/data/iframes.html +0 -11
  183. package/lib/test/data/injectableContent.html +0 -22
  184. package/lib/test/data/javascriptEnhancedForm.html +0 -30
  185. package/lib/test/data/javascriptPage.html +0 -285
  186. package/lib/test/data/jquery-1.3.2.js +0 -4376
  187. package/lib/test/data/js/jquery-1.4.4.min.js +0 -167
  188. package/lib/test/data/js/jquery-ui-1.8.10.custom.min.js +0 -782
  189. package/lib/test/data/js/skins/lightgray/content.inline.min.css +0 -1
  190. package/lib/test/data/js/skins/lightgray/content.min.css +0 -1
  191. package/lib/test/data/js/skins/lightgray/fonts/readme.md +0 -1
  192. package/lib/test/data/js/skins/lightgray/fonts/tinymce-small.dev.svg +0 -175
  193. package/lib/test/data/js/skins/lightgray/fonts/tinymce-small.eot +0 -0
  194. package/lib/test/data/js/skins/lightgray/fonts/tinymce-small.svg +0 -62
  195. package/lib/test/data/js/skins/lightgray/fonts/tinymce-small.ttf +0 -0
  196. package/lib/test/data/js/skins/lightgray/fonts/tinymce-small.woff +0 -0
  197. package/lib/test/data/js/skins/lightgray/fonts/tinymce.dev.svg +0 -153
  198. package/lib/test/data/js/skins/lightgray/fonts/tinymce.eot +0 -0
  199. package/lib/test/data/js/skins/lightgray/fonts/tinymce.svg +0 -63
  200. package/lib/test/data/js/skins/lightgray/fonts/tinymce.ttf +0 -0
  201. package/lib/test/data/js/skins/lightgray/fonts/tinymce.woff +0 -0
  202. package/lib/test/data/js/skins/lightgray/img/anchor.gif +0 -0
  203. package/lib/test/data/js/skins/lightgray/img/loader.gif +0 -0
  204. package/lib/test/data/js/skins/lightgray/img/object.gif +0 -0
  205. package/lib/test/data/js/skins/lightgray/img/trans.gif +0 -0
  206. package/lib/test/data/js/skins/lightgray/skin.ie7.min.css +0 -1
  207. package/lib/test/data/js/skins/lightgray/skin.min.css +0 -1
  208. package/lib/test/data/js/themes/modern/theme.min.js +0 -1
  209. package/lib/test/data/js/tinymce.min.js +0 -10
  210. package/lib/test/data/key_logger.html +0 -34
  211. package/lib/test/data/key_tests/remove_on_keypress.html +0 -36
  212. package/lib/test/data/keyboard_shortcut.html +0 -36
  213. package/lib/test/data/linked_image.html +0 -16
  214. package/lib/test/data/locators_tests/boolean_attribute_selected.html +0 -13
  215. package/lib/test/data/locators_tests/boolean_attribute_selected_html4.html +0 -13
  216. package/lib/test/data/longContentPage.html +0 -55
  217. package/lib/test/data/macbeth.html +0 -5255
  218. package/lib/test/data/map.png +0 -0
  219. package/lib/test/data/map_visibility.html +0 -8
  220. package/lib/test/data/markerTransparent.png +0 -0
  221. package/lib/test/data/messages.html +0 -15
  222. package/lib/test/data/meta-redirect.html +0 -11
  223. package/lib/test/data/missedJsReference.html +0 -11
  224. package/lib/test/data/modal_dialogs/modal_1.html +0 -21
  225. package/lib/test/data/modal_dialogs/modal_2.html +0 -21
  226. package/lib/test/data/modal_dialogs/modal_3.html +0 -15
  227. package/lib/test/data/modal_dialogs/modalindex.html +0 -21
  228. package/lib/test/data/mouseOver.html +0 -17
  229. package/lib/test/data/mousePositionTracker.html +0 -33
  230. package/lib/test/data/nestedElements.html +0 -164
  231. package/lib/test/data/overflow/x_auto_y_auto.html +0 -30
  232. package/lib/test/data/overflow/x_auto_y_hidden.html +0 -30
  233. package/lib/test/data/overflow/x_auto_y_scroll.html +0 -30
  234. package/lib/test/data/overflow/x_hidden_y_auto.html +0 -30
  235. package/lib/test/data/overflow/x_hidden_y_hidden.html +0 -30
  236. package/lib/test/data/overflow/x_hidden_y_scroll.html +0 -30
  237. package/lib/test/data/overflow/x_scroll_y_auto.html +0 -30
  238. package/lib/test/data/overflow/x_scroll_y_hidden.html +0 -30
  239. package/lib/test/data/overflow/x_scroll_y_scroll.html +0 -30
  240. package/lib/test/data/overflow-body.html +0 -15
  241. package/lib/test/data/pageWithOnBeforeUnloadMessage.html +0 -20
  242. package/lib/test/data/pageWithOnLoad.html +0 -6
  243. package/lib/test/data/pageWithOnUnload.html +0 -6
  244. package/lib/test/data/page_with_link_to_slow_loading_page.html +0 -6
  245. package/lib/test/data/plain.txt +0 -1
  246. package/lib/test/data/proxy/page1.html +0 -20
  247. package/lib/test/data/proxy/page2.html +0 -24
  248. package/lib/test/data/proxy/page3.html +0 -5
  249. package/lib/test/data/readOnlyPage.html +0 -24
  250. package/lib/test/data/rectangles.html +0 -40
  251. package/lib/test/data/resultPage.html +0 -25
  252. package/lib/test/data/rich_text.html +0 -161
  253. package/lib/test/data/safari/frames_benchmark.html +0 -31
  254. package/lib/test/data/screen/screen.css +0 -19
  255. package/lib/test/data/screen/screen.html +0 -72
  256. package/lib/test/data/screen/screen.js +0 -7
  257. package/lib/test/data/screen/screen_frame1.html +0 -72
  258. package/lib/test/data/screen/screen_frame2.html +0 -72
  259. package/lib/test/data/screen/screen_frames.html +0 -11
  260. package/lib/test/data/screen/screen_iframes.html +0 -12
  261. package/lib/test/data/screen/screen_too_long.html +0 -68
  262. package/lib/test/data/screen/screen_x_long.html +0 -72
  263. package/lib/test/data/screen/screen_x_too_long.html +0 -72
  264. package/lib/test/data/screen/screen_y_long.html +0 -72
  265. package/lib/test/data/screen/screen_y_too_long.html +0 -72
  266. package/lib/test/data/scroll.html +0 -27
  267. package/lib/test/data/scroll2.html +0 -21
  268. package/lib/test/data/scroll3.html +0 -8
  269. package/lib/test/data/scroll4.html +0 -7
  270. package/lib/test/data/scroll5.html +0 -18
  271. package/lib/test/data/scrolling_tests/frame_with_height_above_200.html +0 -26
  272. package/lib/test/data/scrolling_tests/frame_with_height_above_2000.html +0 -26
  273. package/lib/test/data/scrolling_tests/frame_with_nested_scrolling_frame.html +0 -11
  274. package/lib/test/data/scrolling_tests/frame_with_nested_scrolling_frame_out_of_view.html +0 -12
  275. package/lib/test/data/scrolling_tests/frame_with_small_height.html +0 -10
  276. package/lib/test/data/scrolling_tests/page_with_double_overflow_auto.html +0 -19
  277. package/lib/test/data/scrolling_tests/page_with_frame_out_of_view.html +0 -12
  278. package/lib/test/data/scrolling_tests/page_with_nested_scrolling_frames.html +0 -11
  279. package/lib/test/data/scrolling_tests/page_with_nested_scrolling_frames_out_of_view.html +0 -12
  280. package/lib/test/data/scrolling_tests/page_with_non_scrolling_frame.html +0 -11
  281. package/lib/test/data/scrolling_tests/page_with_scrolling_frame.html +0 -11
  282. package/lib/test/data/scrolling_tests/page_with_scrolling_frame_out_of_view.html +0 -12
  283. package/lib/test/data/scrolling_tests/page_with_tall_frame.html +0 -11
  284. package/lib/test/data/scrolling_tests/page_with_y_overflow_auto.html +0 -14
  285. package/lib/test/data/scrolling_tests/target_page.html +0 -9
  286. package/lib/test/data/selectPage.html +0 -58
  287. package/lib/test/data/selectableItems.html +0 -65
  288. package/lib/test/data/sessionCookie.html +0 -21
  289. package/lib/test/data/sessionCookieDest.html +0 -34
  290. package/lib/test/data/simple.xml +0 -5
  291. package/lib/test/data/simpleTest.html +0 -98
  292. package/lib/test/data/single_text_input.html +0 -12
  293. package/lib/test/data/slowLoadingAlert.html +0 -10
  294. package/lib/test/data/slowLoadingResourcePage.html +0 -12
  295. package/lib/test/data/slow_loading_iframes.html +0 -14
  296. package/lib/test/data/styledPage.html +0 -28
  297. package/lib/test/data/svgPiechart.xhtml +0 -81
  298. package/lib/test/data/svgTest.svg +0 -4
  299. package/lib/test/data/tables.html +0 -36
  300. package/lib/test/data/tinymce.html +0 -10
  301. package/lib/test/data/transformable.xml +0 -11
  302. package/lib/test/data/transformable.xsl +0 -37
  303. package/lib/test/data/transparentUpload.html +0 -70
  304. package/lib/test/data/underscore.html +0 -9
  305. package/lib/test/data/unicode_ltr.html +0 -8
  306. package/lib/test/data/upload.html +0 -45
  307. package/lib/test/data/userDefinedProperty.html +0 -8
  308. package/lib/test/data/veryLargeCanvas.html +0 -81
  309. package/lib/test/data/visibility-css.html +0 -21
  310. package/lib/test/data/win32frameset.html +0 -8
  311. package/lib/test/data/window_switching_tests/page_with_frame.html +0 -12
  312. package/lib/test/data/window_switching_tests/simple_page.html +0 -9
  313. package/lib/test/data/xhtmlFormPage.xhtml +0 -17
  314. package/lib/test/data/xhtmlTest.html +0 -76
  315. package/lib/test/fileserver.js +0 -321
  316. package/lib/test/httpserver.js +0 -120
  317. package/lib/test/index.js +0 -270
  318. package/lib/test/promise.js +0 -79
  319. package/lib/test/resources.js +0 -44
  320. package/opera.js +0 -405
  321. package/phantomjs.js +0 -282
  322. package/test/actions_test.js +0 -52
  323. package/test/chrome/options_test.js +0 -227
  324. package/test/chrome/service_test.js +0 -45
  325. package/test/cookie_test.js +0 -214
  326. package/test/element_finding_test.js +0 -426
  327. package/test/execute_script_test.js +0 -350
  328. package/test/fingerprint_test.js +0 -62
  329. package/test/firefox/extension_test.js +0 -120
  330. package/test/firefox/firefox_test.js +0 -261
  331. package/test/firefox/profile_test.js +0 -140
  332. package/test/http/http_test.js +0 -223
  333. package/test/http/util_test.js +0 -178
  334. package/test/io/io_test.js +0 -360
  335. package/test/io/zip_test.js +0 -128
  336. package/test/lib/by_test.js +0 -160
  337. package/test/lib/capabilities_test.js +0 -111
  338. package/test/lib/error_test.js +0 -305
  339. package/test/lib/events_test.js +0 -177
  340. package/test/lib/http_test.js +0 -696
  341. package/test/lib/logging_test.js +0 -272
  342. package/test/lib/promise_aplus_test.js +0 -78
  343. package/test/lib/promise_error_test.js +0 -884
  344. package/test/lib/promise_flow_test.js +0 -2288
  345. package/test/lib/promise_generator_test.js +0 -310
  346. package/test/lib/promise_test.js +0 -1109
  347. package/test/lib/testutil.js +0 -90
  348. package/test/lib/until_test.js +0 -478
  349. package/test/lib/webdriver_test.js +0 -2311
  350. package/test/logging_test.js +0 -167
  351. package/test/net/index_test.js +0 -60
  352. package/test/net/portprober_test.js +0 -128
  353. package/test/page_loading_test.js +0 -166
  354. package/test/phantomjs/execute_phantomjs_test.js +0 -59
  355. package/test/proxy_test.js +0 -180
  356. package/test/rect_test.js +0 -60
  357. package/test/remote_test.js +0 -117
  358. package/test/safari_test.js +0 -108
  359. package/test/session_test.js +0 -99
  360. package/test/stale_element_test.js +0 -63
  361. package/test/tag_name_test.js +0 -36
  362. package/test/testing/assert_test.js +0 -373
  363. package/test/testing/index_test.js +0 -224
  364. package/test/upload_test.js +0 -86
  365. package/test/window_test.js +0 -161
  366. package/testing/assert.js +0 -378
@@ -1,12 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>Welcome Page</title>
5
- </head>
6
- <body>
7
- <div style="height: 5000px;">Placeholder</div>
8
- <div>
9
- <iframe name="scrolling_frame" src="frame_with_height_above_200.html" width="800" height="200" ></iframe>
10
- </div>
11
- </body>
12
- </html>
@@ -1,11 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>Welcome Page</title>
5
- </head>
6
- <body>
7
- <div>
8
- <iframe name="tall_frame" src="frame_with_height_above_2000.html" width="800" height="2500" ></iframe>
9
- </div>
10
- </body>
11
- </html>
@@ -1,14 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>Page with overflow: auto</title>
5
- </head>
6
- <body>
7
- <div style="width:100%; height: 500px; overflow: hidden; overflow-y: auto;">
8
- <div style="height: 5000px; width: 5000px;">Placeholder</div>
9
- <div>
10
- <a id="link" href="target_page.html">Click me!</a>
11
- </div>
12
- </div>
13
- </body>
14
- </html>
@@ -1,9 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>Clicked Successfully!</title>
5
- </head>
6
- <body>
7
- <h1>Clicked Successfully!</h1>
8
- </body>
9
- </html>
@@ -1,58 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
- <html>
3
- <head>
4
- <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
5
- <title>Multiple Selection test page</title>
6
- </head>
7
- <body>
8
- <select id="selectWithoutMultiple">
9
- <option value="one">one</option>
10
- <option value="two" />two</option>
11
- </select>
12
-
13
- <select id="selectWithMultipleEqualsMultiple" multiple="multiple">
14
- <option selected="selected" label="emmental">Emmental</option>
15
- <option label="roquefort">Roquefort</option>
16
- <option label="parmigiano">Parmigiano</option>
17
- <option label="cheddar">Cheddar</option>
18
- </select>
19
-
20
- <select id="selectWithEmptyStringMultiple" multiple="">
21
- <option value="one">one</option>
22
- <option value="two">two</option>
23
- </select>
24
-
25
- <select id="selectWithMultipleWithoutValue" multiple>
26
- <option value="one">one</option>
27
- <option value="two">two</option>
28
- </select>
29
-
30
- <select id="selectWithRandomMultipleValue" multiple="somethingElse">
31
- <option value="one">one</option>
32
- <option value="two">two</option>
33
- </select>
34
-
35
- <select>
36
- <optgroup label="Group">
37
- <option value="one">one</option>
38
- <option id="two-in-group" value="two">two</option>
39
- </optgroup>
40
- </select>
41
-
42
- <select id="selectWithMultipleLongList" multiple>
43
- <option>one</option>
44
- <option>two</option>
45
- <option>three</option>
46
- <option>four</option>
47
- <option>five</option>
48
- <option>six</option>
49
- </select>
50
-
51
- <select id="narrow" style="width: 50px;">
52
- <option value="evalon">LaClare Farms Evalon with Cummin</option>
53
- <option value="savourine">Yarra Valley Vintage Savourine</option>
54
- <option value="cheddar">Avonlea Clothbound Cheddar</option>
55
- </select>
56
-
57
- </body>
58
- </html>
@@ -1,65 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="UTF-8" />
5
- <title>jQuery UI Selectable - Default functionality</title>
6
- <link type="text/css" href="css/ui-lightness/jquery-ui-1.8.1.custom.css" rel="stylesheet" />
7
- <script type="text/javascript" src="js/jquery-1.4.4.min.js"></script>
8
- <script type="text/javascript" src="js/jquery-ui-1.8.10.custom.min.js"></script>
9
-
10
- <style type="text/css">
11
- #feedback { font-size: 1.4em; }
12
- #selectable .ui-selecting { background: #FECA40; }
13
- #selectable .ui-selected { background: #F39814; color: white; }
14
- #selectable { list-style-type: none; margin: 0; padding: 0; width: 60%; }
15
- #selectable li { margin: 3px; padding: 0.4em; font-size: 1.4em; height: 18px; }
16
- </style>
17
- <script type="text/javascript">
18
- $(function() {
19
- $("#selectable").selectable({
20
- stop: function() {
21
- var infodiv = $("#infodiv").empty();
22
- $(".ui-selected", this).each(function() {
23
- var that_id = this.id;
24
- infodiv.append(' #' + that_id);
25
- });
26
- }
27
- });
28
- $("button").button();
29
- $("button").click(function() {
30
- var list_disabled = $("#selectable").selectable("option", "disabled");
31
- $("#infodiv").find('p').html('Disabled: ' + !list_disabled);
32
- $("#selectable").selectable("option", "disabled", !list_disabled);
33
- });
34
- });
35
- </script>
36
- </head>
37
- <body>
38
- <div class="demo">
39
-
40
- <ol id="selectable">
41
- <li id="item1" class="ui-widget-content">Item 1</li>
42
- <li id="item2" class="ui-widget-content">Item 2</li>
43
- <li id="item3" class="ui-widget-content">Item 3</li>
44
- <li id="item4" class="ui-widget-content">Item 4</li>
45
- <li id="item5" class="ui-widget-content">Item 5</li>
46
- <li id="item6" class="ui-widget-content">Item 6</li>
47
- <li id="item7" class="ui-widget-content">Item 7</li>
48
- </ol>
49
-
50
- </div><!-- End demo -->
51
-
52
- <div class="demo-description">
53
-
54
- <p>Enable a DOM element (or group of elements) to be selectable. Draw a box with your cursor to select items. Hold down the Ctrl key to make multiple non-adjacent selections. </p>
55
-
56
- <button type="button" id="somebutton">Click to lock</button>
57
-
58
- <div id="infodiv">
59
- <p>no info</p>
60
- </div>
61
-
62
-
63
- </div><!-- End demo-description -->
64
- </body>
65
- </html>
@@ -1,21 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
-
3
- <html xmlns="http://www.w3.org/1999/xhtml">
4
- <head>
5
- <title></title>
6
- <script type="text/javascript">
7
- function setcolor(what){
8
- document.body.style.backgroundColor=what
9
- document.cookie="bgcolor="+what
10
- }
11
-
12
- function popuponclick() {
13
- my_window = window.open("sessionCookieDest.html", "cookiedestwindow", "status=1,width=350,height=150");
14
- }
15
- </script>
16
- </head>
17
- <body>
18
- <input id="setcolorbutton" type="button" value="Set Background Color" onclick="setcolor('#80FFFF')"/>
19
- <input id="openwindowbutton" type="button" value="Open New Window" onclick="popuponclick()"/>
20
- </body>
21
- </html>
@@ -1,34 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
-
3
- <html xmlns="http://www.w3.org/1999/xhtml">
4
- <head>
5
- <title>Session cookie destination</title>
6
- <script type="text/javascript">
7
- //Get cookie routine by Shelley Powers
8
- function get_cookie(Name) {
9
- var search = Name + "=";
10
- var returnvalue = "";
11
- if (document.cookie.length > 0) {
12
- offset = document.cookie.indexOf(search);
13
- // if cookie exists
14
- if (offset != -1) {
15
- offset += search.length;
16
- // set index of beginning of value
17
- end = document.cookie.indexOf(";", offset);
18
- // set index of end of cookie value
19
- if (end == -1) end = document.cookie.length;
20
- returnvalue=unescape(document.cookie.substring(offset, end))
21
- }
22
- }
23
- return returnvalue;
24
- }
25
-
26
- function setcolor(){
27
- document.body.style.backgroundColor=get_cookie("bgcolor")
28
- }
29
- </script>
30
- </head>
31
- <body onload="setcolor()">
32
- This is the cookie destination page.
33
- </body>
34
- </html>
@@ -1,5 +0,0 @@
1
- <xml>
2
- <foo>
3
- <bar>baz</bar>
4
- </foo>
5
- </xml>
@@ -1,98 +0,0 @@
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
- <p id="hiddenline" style="visibility: hidden">A hidden line of text</p>
10
-
11
- <div id="multiline">
12
- <p>A div containing</p>
13
- More than one line of text<br/>
14
-
15
- <div>and block level elements</div>
16
- </div>
17
-
18
- <span id="span">An inline element</span>
19
-
20
- <p id="lotsofspaces">This line has lots
21
-
22
- of spaces.
23
- </p>
24
-
25
- <p id="nbsp">This line has a&nbsp;non-breaking space</p>
26
-
27
- <p id="nbspandspaces">This line has a &nbsp; non-breaking space and spaces</p>
28
-
29
- <p id="multilinenbsp">These lines &nbsp<br />&nbsp have leading and trailing NBSPs&nbsp;&nbsp;</p>
30
-
31
- <p id="inline">This <span id="inlinespan"> line has <em>text</em> </span> within elements that are meant to be displayed
32
- <!-- not as a block but --> inline</p>
33
-
34
- <div id="div-with-pre">
35
- <p>before pre</p>
36
- <pre id="preformatted"> This section has a preformatted
37
- text block
38
- split in four lines
39
- </pre>
40
- <p>after pre</p>
41
- </div>
42
-
43
- <div id="twoblocks"><p>Some text</p><p>Some more text</p></div>
44
-
45
- <div id="nestedblocks">Cheese <div><p>Some text</p><div><p>Some more text</p><p>and also</p></div></div>Brie</div>
46
-
47
- <div id="collapsingtext"><span></span><div>Hello, world</div><span></span></div>
48
-
49
- <div id="withDocumentWrite">
50
- <script>
51
- document.write("with document.write");
52
- document.write(" and with document.write again");
53
- </script>
54
- </div>
55
-
56
- <form action="resultPage.html">
57
- <p>
58
- <input type="checkbox" id="checkbox1">
59
- <label id="label1" for="checkbox1">foo<br />bar</label>
60
- </p>
61
- </form>
62
-
63
- <div id="links">
64
- <a href=""> link with leading space</a>
65
- <a href="" id="linkWithTrailingSpace">link with trailing space
66
- </a>
67
- <a href=""><b>link with formatting tags</b></a>
68
- <a href="" id="quote">link with " (double quote)</a>
69
- <a href="" id="squote">link with ' (single quote)</a>
70
- <a href="" id="backslash">link with \ (backslash)</a>
71
- </div>
72
-
73
- <div style="text-indent:80%"><a href="resultPage.html" id="multilinelink">this link should break<br />on multiple lines</a></div>
74
-
75
- <div name="someDiv">Top level</div>
76
- <div id="containsSomeDiv">
77
- <div name="someDiv">Nested</div>
78
- </div>
79
-
80
- <table id="wrappingtext">
81
- <tbody>
82
- <tr><td style="width: 10px;"><span>beforeSpace</span><span> </span><span>afterSpace</span></td></tr>
83
- </tbody>
84
- </table>
85
-
86
- <!-- Here comes an invalid <img> tag which has no src attribute ... -->
87
- <img id="invalidImgTag" />
88
-
89
- <img id="validImgTag" src="icon.gif" />
90
- <a id="validAnchorTag" href="icon.gif">a link to an icon</a>
91
-
92
- <span id="simpleJsonText">{a="b", c=1, d=true}</span>
93
- <span id="complexJsonText">{a="\\b\\\"'\'"}</span>
94
-
95
- <span id="trimmedSpace">            ​‌‍  ⁠ test            ​‌‍  ⁠ </span>
96
-
97
- </body>
98
- </html>
@@ -1,12 +0,0 @@
1
- <html>
2
- <head>
3
- <title>BasicKeyboardInterfaceTest</title>
4
- </head>
5
- <body>
6
- <form action="#">
7
- <input type="text" id="textInput" />
8
- </form>
9
- </body>
10
- </html>
11
-
12
-
@@ -1,10 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>slowLoadingAlert</title>
5
- </head>
6
-
7
- <body onload="window.setTimeout(function() { window.alert('Look, an alert!'); }, 200);">
8
- </body>
9
-
10
- </html>
@@ -1,12 +0,0 @@
1
- <html>
2
- <head>
3
- <title>This page loads something slowly</title>
4
- </head>
5
- <body>
6
- <p id="peas">Simulate the situation where a web-bug or analytics script takes waaay
7
- too long to respond. Normally these things are loaded in an iframe, which is
8
- what we're doing here.</p>
9
-
10
- <img src="sleep?time=7"></img>
11
- </body>
12
- </html>
@@ -1,14 +0,0 @@
1
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
2
- "http://www.w3.org/TR/html4/loose.dtd">
3
- <html>
4
- <head>
5
- <title>Page with slow loading iFrames</title>
6
- </head>
7
- <body>
8
- <!-- Takes 3 seconds to load -->
9
- <iframe src="/common/sleep?time=3"></iframe>
10
-
11
- <!-- Important: do not add a src attribute! -->
12
- <iframe id="noSrc"></iframe>
13
- </body>
14
- </html>
@@ -1,28 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>Styled Page</title>
5
- <script>
6
- function log(message) {
7
- document.getElementById('log').innerHTML = "<p>" + message + "</p>"
8
- }
9
- </script>
10
-
11
- </head>
12
- <body>
13
- <div style="height: 200px"></div>
14
-
15
- <form action="#" method="get" onsubmit="return false;">
16
- <input name="searchBox">
17
- <input type="submit" name="btn" style="padding-top: 4px; padding-bottom: 4px" value="Search" onclick="log('click');">
18
- </form>
19
-
20
- <div id="log"></div>
21
-
22
- <div style="height: 4000px">Content</div>
23
- </body>
24
- </html>
25
-
26
-
27
-
28
-
@@ -1,81 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
5
- <html xmlns="http://www.w3.org/1999/xhtml"
6
- xmlns:svg="http://www.w3.org/2000/svg"
7
- xmlns:xlink="http://www.w3.org/1999/xlink">
8
- <head>
9
- <title>Pie Chart Test</title>
10
- </head>
11
- <body>
12
- <script type="text/javascript">
13
- function markClick(input) {
14
- var element = document.getElementById('result');
15
- element.innerHTML = input;
16
- }
17
- </script>
18
- <div id="someText">
19
- Some text for the chart.
20
- </div>
21
- <div id="result">Nothing.</div>
22
- <div id="chart_container" style="width: 400px; height: 220px; border: 1px solid #808080;">
23
- <svg:svg id="chart_container" height="220" width="400">
24
- <svg:defs id="defs"></svg:defs>
25
- <svg:g>
26
- <svg:rect fill="white" height="220" width="400" y="0" x="0"></svg:rect>
27
- <svg:text fill="black" font-weight="bold" font-size="10" font-family="Arial" y="16" x="200" text-anchor="middle">Test Chart</svg:text>
28
- <svg:rect fill="white" height="83" width="97" y="77" x="296"></svg:rect>
29
- <svg:rect fill="red" stroke="none" height="12" width="12" y="84" x="303"></svg:rect>
30
- <svg:text fill="black" font-size="12" font-family="Arial" y="94" x="318" onclick="markClick('text_apple')">Apple</svg:text>
31
- <svg:rect fill="green" stroke="none" height="12" width="12" y="103" x="303"></svg:rect>
32
- <svg:text fill="black" font-size="12" font-family="Arial" y="113" x="318">Orange</svg:text>
33
- <svg:rect fill="#808080" stroke="none" height="12" width="12" y="122" x="303"></svg:rect>
34
- <svg:text fill="black" font-size="12" font-family="Arial" y="132" x="318">Banana</svg:text>
35
- <svg:rect fill="green" stroke="none" height="12" width="12" y="141" x="303"></svg:rect>
36
- <svg:text fill="black" font-size="12" font-family="Arial" y="151" x="318">Orange</svg:text>
37
- <svg:g onclick="markClick('slice_red')"><svg:path fill="red" stroke="none" d="M148,119L148,43A76,76,0,0,1,198,61.77Z"></svg:path></svg:g>
38
- <svg:g onclick="markClick('slice_green')"><svg:path fill="green" stroke="none" d="M148,119L198,61.77A76,76,0,0,1,202.93,171.52Z"></svg:path></svg:g>
39
- <svg:g><svg:path fill="#808080" stroke="none" d="M148,119L202.93,171.52A76,76,0,0,1,72.08,122.41Z"></svg:path></svg:g>
40
- <svg:g><svg:path fill="green" stroke="none" d="M148,119L72.08,122.41A76,76,0,0,1,148,43Z"></svg:path></svg:g>
41
- </svg:g>
42
- </svg:svg>
43
- <svg:svg width="400px" height="120px">
44
- <svg:desc>Example RotateScale - Rotate and scale transforms</svg:desc>
45
- <svg:g fill="none" stroke="black" stroke-width="3" >
46
- <!-- Draw the axes of the original coordinate system -->
47
- <svg:line x1="0" y1="1.5" x2="400" y2="1.5" />
48
- <svg:line x1="1.5" y1="0" x2="1.5" y2="120" />
49
- </svg:g>
50
- <!-- Establish a new coordinate system whose origin is at (50,30)
51
- in the initial coord. system and which is rotated by 30 degrees. -->
52
- <svg:g transform="translate(50,30)">
53
- <svg:g transform="rotate(30)" id="rotate">
54
- <svg:g fill="none" stroke="red" stroke-width="3" >
55
- <svg:line x1="0" y1="0" x2="50" y2="0" />
56
- <svg:line x1="0" y1="0" x2="0" y2="50" />
57
- </svg:g>
58
- <svg:text x="0" y="0" font-size="20" font-family="Verdana" fill="blue" >
59
- ABC (rotate)
60
- </svg:text>
61
- </svg:g>
62
- </svg:g>
63
- <!-- Establish a new coordinate system whose origin is at (200,40)
64
- in the initial coord. system and which is scaled by 1.5. -->
65
- <svg:g transform="translate(200,40)">
66
- <svg:g transform="scale(1.5)">
67
- <svg:g fill="none" stroke="red" stroke-width="3" >
68
- <svg:line x1="0" y1="0" x2="50" y2="0" />
69
- <svg:line x1="0" y1="0" x2="0" y2="50" />
70
- </svg:g>
71
- <svg:text x="0" y="0" font-size="20" font-family="Verdana" fill="blue" >
72
- ABC (scale)
73
- </svg:text>
74
- </svg:g>
75
- </svg:g>
76
- </svg:svg>
77
- <div style="position: absolute; white-space: nowrap; top: 230px; left: 410px; font-family: Arial; font-size: 12px; display: none; ">WOrange</div>
78
- </div>
79
- <div style="display: none; position: absolute; top: 230px; left: 410px; white-space: nowrap; font-family: Arial; font-size: 12px;">WOrange</div>
80
- </body>
81
- </html>
@@ -1,4 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <svg xmlns="http://www.w3.org/2000/svg" version="1.1" baseProfile="full" width="100px" height="100px" viewBox="0 0 100 100">
3
- <rect id="rect" width="50" height="50" fill="blue" onclick="document.getElementById('rect').setAttribute('fill', 'green')" />
4
- </svg>
@@ -1,36 +0,0 @@
1
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
2
- "http://www.w3.org/TR/html4/loose.dtd">
3
- <html>
4
- <head>
5
- <title>Here be tables</title>
6
- </head>
7
- <body>
8
-
9
- <table id="base">
10
- <tr>
11
- <td>Hello</td>
12
- <td>World</td>
13
- <td>(Cheese!)</td>
14
- </tr>
15
- </table>
16
-
17
- <table>
18
- <tr id="hidden_text">
19
- <td>some text
20
- <div style="display: none;">some more text</div>
21
- </td>
22
- </tr>
23
- </table>
24
-
25
- <table>
26
- <tr>
27
- <th colspan="3" id="th1">Heading</th>
28
- </tr>
29
- <tr>
30
- <td id="td1">Data 1</td>
31
- <td colspan="2" id="td2">Data 2</td>
32
- </tr>
33
- </table>
34
-
35
- </body>
36
- </html>
@@ -1,10 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>TinyMCE</title>
5
- <script src="js/tinymce.min.js"></script>
6
- </head>
7
- <body onload="tinymce.init({selector:'textarea'})">
8
- <textarea>Initial content</textarea>
9
- </body>
10
- </html>
@@ -1,11 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <?xml-stylesheet type="text/xsl" href="transformable.xsl"?>
3
- <!DOCTYPE html [ <!ENTITY nbsp "&#160;"> ]>
4
- <html xmlns="http://www.w3.org/1999/xhtml" xmlns:html="http://www.w3.org/1999/xhtml" xmlns:ui="http://dummy.com/mynamespace">
5
- <body id='body'>
6
- <p>Click the button.</p>
7
- <ui:app url="xhtmlTest.html">
8
- <ui:someButton id="x" name="y">Go to another page</ui:someButton>
9
- </ui:app>
10
- </body>
11
- </html>
@@ -1,37 +0,0 @@
1
- <?xml version="1.0"?>
2
-
3
- <xsl:stylesheet
4
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
5
- xmlns:ui="http://dummy.com/mynamespace"
6
- xmlns="http://www.w3.org/1999/xhtml"
7
- xmlns:html="http://www.w3.org/1999/xhtml"
8
- version="1.0">
9
-
10
- <xsl:output method="html"
11
- doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
12
- doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" indent="yes"/>
13
-
14
- <xsl:template match="ui:app">
15
- <form>
16
- <xsl:attribute name="action">
17
- <xsl:value-of select="@url" />
18
- </xsl:attribute>
19
- <xsl:apply-templates select="./*" />
20
- </form>
21
- </xsl:template>
22
-
23
- <xsl:template match="ui:someButton">
24
- <input type="submit">
25
- <xsl:attribute name="id">
26
- <xsl:value-of select="@id" />
27
- </xsl:attribute>
28
- <xsl:attribute name="name">
29
- <xsl:value-of select="@name" />
30
- </xsl:attribute>
31
- <xsl:attribute name="value">
32
- <xsl:value-of select="normalize-space(.)"/>
33
- </xsl:attribute>
34
- </input>
35
- </xsl:template>
36
-
37
- </xsl:stylesheet>