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.
- package/CHANGES.md +246 -0
- package/LICENSE +1 -1
- package/NOTICE +1 -1
- package/README.md +40 -40
- package/chrome.js +118 -134
- package/edge.js +43 -117
- package/example/chrome_android.js +8 -9
- package/example/chrome_mobile_emulation.js +8 -9
- package/example/firefox_channels.js +23 -19
- package/example/google_search.js +3 -3
- package/example/google_search_test.js +38 -27
- package/example/{chrome_headless.js → headless.js} +15 -7
- package/example/logging.js +40 -7
- package/firefox.js +789 -0
- package/http/index.js +62 -9
- package/http/util.js +11 -6
- package/ie.js +83 -97
- package/index.js +198 -114
- package/io/exec.js +29 -15
- package/io/index.js +1 -1
- package/io/zip.js +1 -1
- package/lib/actions.js +68 -63
- package/lib/atoms/get-attribute.js +86 -0
- package/lib/atoms/is-displayed.js +76 -76
- package/lib/by.js +7 -4
- package/lib/capabilities.js +310 -210
- package/lib/command.js +27 -51
- package/lib/error.js +100 -41
- package/lib/http.js +161 -120
- package/lib/input.js +1044 -8
- package/lib/logging.js +1 -5
- package/lib/promise.js +222 -3331
- package/lib/proxy.js +134 -39
- package/lib/session.js +2 -2
- package/lib/symbols.js +0 -0
- package/lib/until.js +1 -1
- package/lib/webdriver.js +717 -953
- package/net/index.js +21 -25
- package/net/portprober.js +51 -68
- package/package.json +17 -12
- package/proxy.js +0 -0
- package/remote/index.js +63 -44
- package/safari.js +41 -128
- package/testing/index.js +386 -315
- package/.npmignore +0 -2
- package/example/async_await_test.js +0 -68
- package/example/google_search_generator.js +0 -50
- package/example/parallel_flows.js +0 -54
- package/firefox/binary.js +0 -344
- package/firefox/extension.js +0 -224
- package/firefox/index.js +0 -626
- package/firefox/profile.js +0 -394
- package/lib/README +0 -5
- package/lib/atoms/getAttribute.js +0 -9
- package/lib/devmode.js +0 -34
- package/lib/events.js +0 -210
- package/lib/firefox/webdriver.json +0 -70
- package/lib/test/build.js +0 -151
- package/lib/test/data/ClickTest_testClicksASurroundingStrongTag.html +0 -11
- package/lib/test/data/Page.aspx +0 -17
- package/lib/test/data/Page.aspx.cs +0 -22
- package/lib/test/data/Redirect.aspx +0 -11
- package/lib/test/data/Redirect.aspx.cs +0 -9
- package/lib/test/data/Settings.StyleCop +0 -759
- package/lib/test/data/Web.Config +0 -59
- package/lib/test/data/actualXhtmlPage.xhtml +0 -14
- package/lib/test/data/ajaxy_page.html +0 -81
- package/lib/test/data/alerts.html +0 -85
- package/lib/test/data/banner.gif +0 -0
- package/lib/test/data/beach.jpg +0 -0
- package/lib/test/data/blank.html +0 -1
- package/lib/test/data/bodyTypingTest.html +0 -41
- package/lib/test/data/booleanAttributes.html +0 -19
- package/lib/test/data/child/childPage.html +0 -8
- package/lib/test/data/child/grandchild/grandchildPage.html +0 -8
- package/lib/test/data/clickEventPage.html +0 -26
- package/lib/test/data/click_frames.html +0 -10
- package/lib/test/data/click_jacker.html +0 -38
- package/lib/test/data/click_out_of_bounds.html +0 -23
- package/lib/test/data/click_out_of_bounds_overflow.html +0 -85
- package/lib/test/data/click_rtl.html +0 -19
- package/lib/test/data/click_source.html +0 -18
- package/lib/test/data/click_tests/click_iframe.html +0 -6
- package/lib/test/data/click_tests/click_in_iframe.html +0 -8
- package/lib/test/data/click_tests/disabled_element.html +0 -12
- package/lib/test/data/click_tests/disappearing_element.html +0 -62
- package/lib/test/data/click_tests/google_map.html +0 -15
- package/lib/test/data/click_tests/google_map.png +0 -0
- package/lib/test/data/click_tests/html5_submit_buttons.html +0 -16
- package/lib/test/data/click_tests/issue5237.html +0 -9
- package/lib/test/data/click_tests/issue5237_frame.html +0 -1
- package/lib/test/data/click_tests/issue5237_target.html +0 -10
- package/lib/test/data/click_tests/link_that_wraps.html +0 -11
- package/lib/test/data/click_tests/mapped_page1.html +0 -9
- package/lib/test/data/click_tests/mapped_page2.html +0 -9
- package/lib/test/data/click_tests/mapped_page3.html +0 -9
- package/lib/test/data/click_tests/overlapping_elements.html +0 -70
- package/lib/test/data/click_tests/partially_overlapping_elements.html +0 -124
- package/lib/test/data/click_tests/span_that_wraps.html +0 -11
- package/lib/test/data/click_tests/submitted_page.html +0 -9
- package/lib/test/data/click_tests/wrapped_overlapping_elements.html +0 -13
- package/lib/test/data/click_too_big.html +0 -10
- package/lib/test/data/click_too_big_in_frame.html +0 -11
- package/lib/test/data/clicks.html +0 -35
- package/lib/test/data/closeable_window.html +0 -8
- package/lib/test/data/cn-test.html +0 -156
- package/lib/test/data/colorPage.html +0 -20
- package/lib/test/data/cookies.html +0 -30
- package/lib/test/data/coordinates_tests/element_in_frame.html +0 -9
- package/lib/test/data/coordinates_tests/element_in_nested_frame.html +0 -9
- package/lib/test/data/coordinates_tests/page_with_element_out_of_view.html +0 -11
- package/lib/test/data/coordinates_tests/page_with_empty_element.html +0 -10
- package/lib/test/data/coordinates_tests/page_with_fixed_element.html +0 -12
- package/lib/test/data/coordinates_tests/page_with_hidden_element.html +0 -10
- package/lib/test/data/coordinates_tests/page_with_invisible_element.html +0 -10
- package/lib/test/data/coordinates_tests/page_with_transparent_element.html +0 -10
- package/lib/test/data/coordinates_tests/simple_page.html +0 -10
- package/lib/test/data/css/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
- package/lib/test/data/css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
- package/lib/test/data/css/ui-lightness/images/ui-bg_flat_10_000000_40x100.png +0 -0
- package/lib/test/data/css/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
- package/lib/test/data/css/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
- package/lib/test/data/css/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- package/lib/test/data/css/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
- package/lib/test/data/css/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
- package/lib/test/data/css/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
- package/lib/test/data/css/ui-lightness/images/ui-icons_222222_256x240.png +0 -0
- package/lib/test/data/css/ui-lightness/images/ui-icons_228ef1_256x240.png +0 -0
- package/lib/test/data/css/ui-lightness/images/ui-icons_ef8c08_256x240.png +0 -0
- package/lib/test/data/css/ui-lightness/images/ui-icons_ffd27a_256x240.png +0 -0
- package/lib/test/data/css/ui-lightness/images/ui-icons_ffffff_256x240.png +0 -0
- package/lib/test/data/css/ui-lightness/jquery-ui-1.8.10.custom.css +0 -573
- package/lib/test/data/cssTransform.html +0 -61
- package/lib/test/data/cssTransform2.html +0 -20
- package/lib/test/data/document_write_in_onload.html +0 -13
- package/lib/test/data/dragAndDropInsideScrolledDiv.html +0 -67
- package/lib/test/data/dragAndDropTest.html +0 -102
- package/lib/test/data/dragDropOverflow.html +0 -104
- package/lib/test/data/draggableLists.html +0 -67
- package/lib/test/data/droppableItems.html +0 -65
- package/lib/test/data/dynamic.html +0 -39
- package/lib/test/data/dynamicallyModifiedPage.html +0 -42
- package/lib/test/data/errors.html +0 -15
- package/lib/test/data/firefox/jetpack-sample.xpi +0 -0
- package/lib/test/data/firefox/sample.xpi +0 -0
- package/lib/test/data/firefox/webextension.xpi +0 -0
- package/lib/test/data/fixedFooterNoScroll.html +0 -13
- package/lib/test/data/fixedFooterNoScrollQuirksMode.html +0 -12
- package/lib/test/data/formPage.html +0 -175
- package/lib/test/data/formSelectionPage.html +0 -46
- package/lib/test/data/form_handling_js_submit.html +0 -30
- package/lib/test/data/framePage3.html +0 -7
- package/lib/test/data/frameScrollChild.html +0 -26
- package/lib/test/data/frameScrollPage.html +0 -14
- package/lib/test/data/frameScrollParent.html +0 -11
- package/lib/test/data/frameWithAnimals.html +0 -11
- package/lib/test/data/frame_switching_tests/bug4876.html +0 -9
- package/lib/test/data/frame_switching_tests/bug4876_iframe.html +0 -9
- package/lib/test/data/frame_switching_tests/deletingFrame.html +0 -29
- package/lib/test/data/frame_switching_tests/deletingFrame_iframe.html +0 -8
- package/lib/test/data/frame_switching_tests/deletingFrame_iframe2.html +0 -7
- package/lib/test/data/frameset.html +0 -14
- package/lib/test/data/framesetPage2.html +0 -7
- package/lib/test/data/framesetPage3.html +0 -4
- package/lib/test/data/globalscope.html +0 -15
- package/lib/test/data/hidden.html +0 -5
- package/lib/test/data/hidden_partially.html +0 -45
- package/lib/test/data/html5/blue.jpg +0 -0
- package/lib/test/data/html5/database.js +0 -84
- package/lib/test/data/html5/geolocation.js +0 -18
- package/lib/test/data/html5/green.jpg +0 -0
- package/lib/test/data/html5/red.jpg +0 -0
- package/lib/test/data/html5/status.html +0 -1
- package/lib/test/data/html5/test.appcache +0 -11
- package/lib/test/data/html5/yellow.jpg +0 -0
- package/lib/test/data/html5Page.html +0 -32
- package/lib/test/data/icon.gif +0 -0
- package/lib/test/data/idElements.html +0 -2
- package/lib/test/data/iframeAtBottom.html +0 -15
- package/lib/test/data/iframeWithAlert.html +0 -1
- package/lib/test/data/iframeWithIframe.html +0 -1
- package/lib/test/data/iframes.html +0 -11
- package/lib/test/data/injectableContent.html +0 -22
- package/lib/test/data/javascriptEnhancedForm.html +0 -30
- package/lib/test/data/javascriptPage.html +0 -285
- package/lib/test/data/jquery-1.3.2.js +0 -4376
- package/lib/test/data/js/jquery-1.4.4.min.js +0 -167
- package/lib/test/data/js/jquery-ui-1.8.10.custom.min.js +0 -782
- package/lib/test/data/js/skins/lightgray/content.inline.min.css +0 -1
- package/lib/test/data/js/skins/lightgray/content.min.css +0 -1
- package/lib/test/data/js/skins/lightgray/fonts/readme.md +0 -1
- package/lib/test/data/js/skins/lightgray/fonts/tinymce-small.dev.svg +0 -175
- package/lib/test/data/js/skins/lightgray/fonts/tinymce-small.eot +0 -0
- package/lib/test/data/js/skins/lightgray/fonts/tinymce-small.svg +0 -62
- package/lib/test/data/js/skins/lightgray/fonts/tinymce-small.ttf +0 -0
- package/lib/test/data/js/skins/lightgray/fonts/tinymce-small.woff +0 -0
- package/lib/test/data/js/skins/lightgray/fonts/tinymce.dev.svg +0 -153
- package/lib/test/data/js/skins/lightgray/fonts/tinymce.eot +0 -0
- package/lib/test/data/js/skins/lightgray/fonts/tinymce.svg +0 -63
- package/lib/test/data/js/skins/lightgray/fonts/tinymce.ttf +0 -0
- package/lib/test/data/js/skins/lightgray/fonts/tinymce.woff +0 -0
- package/lib/test/data/js/skins/lightgray/img/anchor.gif +0 -0
- package/lib/test/data/js/skins/lightgray/img/loader.gif +0 -0
- package/lib/test/data/js/skins/lightgray/img/object.gif +0 -0
- package/lib/test/data/js/skins/lightgray/img/trans.gif +0 -0
- package/lib/test/data/js/skins/lightgray/skin.ie7.min.css +0 -1
- package/lib/test/data/js/skins/lightgray/skin.min.css +0 -1
- package/lib/test/data/js/themes/modern/theme.min.js +0 -1
- package/lib/test/data/js/tinymce.min.js +0 -10
- package/lib/test/data/key_logger.html +0 -34
- package/lib/test/data/key_tests/remove_on_keypress.html +0 -36
- package/lib/test/data/keyboard_shortcut.html +0 -36
- package/lib/test/data/linked_image.html +0 -16
- package/lib/test/data/locators_tests/boolean_attribute_selected.html +0 -13
- package/lib/test/data/locators_tests/boolean_attribute_selected_html4.html +0 -13
- package/lib/test/data/longContentPage.html +0 -55
- package/lib/test/data/macbeth.html +0 -5255
- package/lib/test/data/map.png +0 -0
- package/lib/test/data/map_visibility.html +0 -8
- package/lib/test/data/markerTransparent.png +0 -0
- package/lib/test/data/messages.html +0 -15
- package/lib/test/data/meta-redirect.html +0 -11
- package/lib/test/data/missedJsReference.html +0 -11
- package/lib/test/data/modal_dialogs/modal_1.html +0 -21
- package/lib/test/data/modal_dialogs/modal_2.html +0 -21
- package/lib/test/data/modal_dialogs/modal_3.html +0 -15
- package/lib/test/data/modal_dialogs/modalindex.html +0 -21
- package/lib/test/data/mouseOver.html +0 -17
- package/lib/test/data/mousePositionTracker.html +0 -33
- package/lib/test/data/nestedElements.html +0 -164
- package/lib/test/data/overflow/x_auto_y_auto.html +0 -30
- package/lib/test/data/overflow/x_auto_y_hidden.html +0 -30
- package/lib/test/data/overflow/x_auto_y_scroll.html +0 -30
- package/lib/test/data/overflow/x_hidden_y_auto.html +0 -30
- package/lib/test/data/overflow/x_hidden_y_hidden.html +0 -30
- package/lib/test/data/overflow/x_hidden_y_scroll.html +0 -30
- package/lib/test/data/overflow/x_scroll_y_auto.html +0 -30
- package/lib/test/data/overflow/x_scroll_y_hidden.html +0 -30
- package/lib/test/data/overflow/x_scroll_y_scroll.html +0 -30
- package/lib/test/data/overflow-body.html +0 -15
- package/lib/test/data/pageWithOnBeforeUnloadMessage.html +0 -20
- package/lib/test/data/pageWithOnLoad.html +0 -6
- package/lib/test/data/pageWithOnUnload.html +0 -6
- package/lib/test/data/page_with_link_to_slow_loading_page.html +0 -6
- package/lib/test/data/plain.txt +0 -1
- package/lib/test/data/proxy/page1.html +0 -20
- package/lib/test/data/proxy/page2.html +0 -24
- package/lib/test/data/proxy/page3.html +0 -5
- package/lib/test/data/readOnlyPage.html +0 -24
- package/lib/test/data/rectangles.html +0 -40
- package/lib/test/data/resultPage.html +0 -25
- package/lib/test/data/rich_text.html +0 -161
- package/lib/test/data/safari/frames_benchmark.html +0 -31
- package/lib/test/data/screen/screen.css +0 -19
- package/lib/test/data/screen/screen.html +0 -72
- package/lib/test/data/screen/screen.js +0 -7
- package/lib/test/data/screen/screen_frame1.html +0 -72
- package/lib/test/data/screen/screen_frame2.html +0 -72
- package/lib/test/data/screen/screen_frames.html +0 -11
- package/lib/test/data/screen/screen_iframes.html +0 -12
- package/lib/test/data/screen/screen_too_long.html +0 -68
- package/lib/test/data/screen/screen_x_long.html +0 -72
- package/lib/test/data/screen/screen_x_too_long.html +0 -72
- package/lib/test/data/screen/screen_y_long.html +0 -72
- package/lib/test/data/screen/screen_y_too_long.html +0 -72
- package/lib/test/data/scroll.html +0 -27
- package/lib/test/data/scroll2.html +0 -21
- package/lib/test/data/scroll3.html +0 -8
- package/lib/test/data/scroll4.html +0 -7
- package/lib/test/data/scroll5.html +0 -18
- package/lib/test/data/scrolling_tests/frame_with_height_above_200.html +0 -26
- package/lib/test/data/scrolling_tests/frame_with_height_above_2000.html +0 -26
- package/lib/test/data/scrolling_tests/frame_with_nested_scrolling_frame.html +0 -11
- package/lib/test/data/scrolling_tests/frame_with_nested_scrolling_frame_out_of_view.html +0 -12
- package/lib/test/data/scrolling_tests/frame_with_small_height.html +0 -10
- package/lib/test/data/scrolling_tests/page_with_double_overflow_auto.html +0 -19
- package/lib/test/data/scrolling_tests/page_with_frame_out_of_view.html +0 -12
- package/lib/test/data/scrolling_tests/page_with_nested_scrolling_frames.html +0 -11
- package/lib/test/data/scrolling_tests/page_with_nested_scrolling_frames_out_of_view.html +0 -12
- package/lib/test/data/scrolling_tests/page_with_non_scrolling_frame.html +0 -11
- package/lib/test/data/scrolling_tests/page_with_scrolling_frame.html +0 -11
- package/lib/test/data/scrolling_tests/page_with_scrolling_frame_out_of_view.html +0 -12
- package/lib/test/data/scrolling_tests/page_with_tall_frame.html +0 -11
- package/lib/test/data/scrolling_tests/page_with_y_overflow_auto.html +0 -14
- package/lib/test/data/scrolling_tests/target_page.html +0 -9
- package/lib/test/data/selectPage.html +0 -58
- package/lib/test/data/selectableItems.html +0 -65
- package/lib/test/data/sessionCookie.html +0 -21
- package/lib/test/data/sessionCookieDest.html +0 -34
- package/lib/test/data/simple.xml +0 -5
- package/lib/test/data/simpleTest.html +0 -98
- package/lib/test/data/single_text_input.html +0 -12
- package/lib/test/data/slowLoadingAlert.html +0 -10
- package/lib/test/data/slowLoadingResourcePage.html +0 -12
- package/lib/test/data/slow_loading_iframes.html +0 -14
- package/lib/test/data/styledPage.html +0 -28
- package/lib/test/data/svgPiechart.xhtml +0 -81
- package/lib/test/data/svgTest.svg +0 -4
- package/lib/test/data/tables.html +0 -36
- package/lib/test/data/tinymce.html +0 -10
- package/lib/test/data/transformable.xml +0 -11
- package/lib/test/data/transformable.xsl +0 -37
- package/lib/test/data/transparentUpload.html +0 -70
- package/lib/test/data/underscore.html +0 -9
- package/lib/test/data/unicode_ltr.html +0 -8
- package/lib/test/data/upload.html +0 -45
- package/lib/test/data/userDefinedProperty.html +0 -8
- package/lib/test/data/veryLargeCanvas.html +0 -81
- package/lib/test/data/visibility-css.html +0 -21
- package/lib/test/data/win32frameset.html +0 -8
- package/lib/test/data/window_switching_tests/page_with_frame.html +0 -12
- package/lib/test/data/window_switching_tests/simple_page.html +0 -9
- package/lib/test/data/xhtmlFormPage.xhtml +0 -17
- package/lib/test/data/xhtmlTest.html +0 -76
- package/lib/test/fileserver.js +0 -321
- package/lib/test/httpserver.js +0 -120
- package/lib/test/index.js +0 -270
- package/lib/test/promise.js +0 -79
- package/lib/test/resources.js +0 -44
- package/opera.js +0 -405
- package/phantomjs.js +0 -282
- package/test/actions_test.js +0 -52
- package/test/chrome/options_test.js +0 -227
- package/test/chrome/service_test.js +0 -45
- package/test/cookie_test.js +0 -214
- package/test/element_finding_test.js +0 -426
- package/test/execute_script_test.js +0 -350
- package/test/fingerprint_test.js +0 -62
- package/test/firefox/extension_test.js +0 -120
- package/test/firefox/firefox_test.js +0 -261
- package/test/firefox/profile_test.js +0 -140
- package/test/http/http_test.js +0 -223
- package/test/http/util_test.js +0 -178
- package/test/io/io_test.js +0 -360
- package/test/io/zip_test.js +0 -128
- package/test/lib/by_test.js +0 -160
- package/test/lib/capabilities_test.js +0 -111
- package/test/lib/error_test.js +0 -305
- package/test/lib/events_test.js +0 -177
- package/test/lib/http_test.js +0 -696
- package/test/lib/logging_test.js +0 -272
- package/test/lib/promise_aplus_test.js +0 -78
- package/test/lib/promise_error_test.js +0 -884
- package/test/lib/promise_flow_test.js +0 -2288
- package/test/lib/promise_generator_test.js +0 -310
- package/test/lib/promise_test.js +0 -1109
- package/test/lib/testutil.js +0 -90
- package/test/lib/until_test.js +0 -478
- package/test/lib/webdriver_test.js +0 -2311
- package/test/logging_test.js +0 -167
- package/test/net/index_test.js +0 -60
- package/test/net/portprober_test.js +0 -128
- package/test/page_loading_test.js +0 -166
- package/test/phantomjs/execute_phantomjs_test.js +0 -59
- package/test/proxy_test.js +0 -180
- package/test/rect_test.js +0 -60
- package/test/remote_test.js +0 -117
- package/test/safari_test.js +0 -108
- package/test/session_test.js +0 -99
- package/test/stale_element_test.js +0 -63
- package/test/tag_name_test.js +0 -36
- package/test/testing/assert_test.js +0 -373
- package/test/testing/index_test.js +0 -224
- package/test/upload_test.js +0 -86
- package/test/window_test.js +0 -161
- package/testing/assert.js +0 -378
package/lib/test/data/map.png
DELETED
|
Binary file
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
<html>
|
|
2
|
-
<head>
|
|
3
|
-
<title>Map test page</title>
|
|
4
|
-
</head>
|
|
5
|
-
<body>
|
|
6
|
-
<div style="position: absolute; left: 0px; top: 0px; z-index: 106;"><img style="position: absolute; left: 271px; top: 320px; width: 20px; height: 34px; -moz-user-select: none; border: 0px none; padding: 0px; margin: 0px; z-index: -140270496;" src="markerTransparent.png" class="gmnoprint" usemap="#gmimap0"><map name="gmimap0" id="gmimap0"><area log="miw" coords="9,0,6,1,4,2,2,4,0,8,0,12,1,14,2,16,5,19,7,23,8,26,9,30,9,34,11,34,11,30,12,26,13,24,14,21,16,18,18,16,20,12,20,8,18,4,16,2,15,1,13,0" shape="poly" alt="" href="javascript:void(0)" id="mtgt_unnamed_0" style="position: absolute; left: 159px; top: 342px;"></map></div>
|
|
7
|
-
</body>
|
|
8
|
-
</html>
|
|
Binary file
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<script>
|
|
3
|
-
var messages = [];
|
|
4
|
-
window.addEventListener('message', function(e) {
|
|
5
|
-
var message = JSON.stringify(e.data);
|
|
6
|
-
messages.push(message);
|
|
7
|
-
|
|
8
|
-
var pre = document.createElement('pre');
|
|
9
|
-
pre.style.margin = 0;
|
|
10
|
-
pre.style.padding = 0;
|
|
11
|
-
pre.textContent = message;
|
|
12
|
-
|
|
13
|
-
document.body.appendChild(pre);
|
|
14
|
-
}, true);
|
|
15
|
-
</script>
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
<html>
|
|
2
|
-
<head>
|
|
3
|
-
<title>Some test page</title>
|
|
4
|
-
<meta http-equiv="refresh" content="0;URL=resultPage.html"/>
|
|
5
|
-
</head>
|
|
6
|
-
<body>
|
|
7
|
-
<script type="text/javascript" language="javascript"><!--
|
|
8
|
-
location.replace("resultPage.html");
|
|
9
|
-
//--> </script>
|
|
10
|
-
</body>
|
|
11
|
-
</html>
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html>
|
|
3
|
-
<head>
|
|
4
|
-
<title>Example page</title>
|
|
5
|
-
</head>
|
|
6
|
-
<body>
|
|
7
|
-
<p>This page contains a nested iframe. Execute some JS to locate a reference to an element in this
|
|
8
|
-
frame and return it. You should need to switch to that frame in order to use that element.</p>
|
|
9
|
-
<iframe src="simpleTest.html" name="inner"></iframe>
|
|
10
|
-
</body>
|
|
11
|
-
</html>
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
<html>
|
|
2
|
-
<head>
|
|
3
|
-
<title>First Modal</title>
|
|
4
|
-
<script>
|
|
5
|
-
function openModal() {
|
|
6
|
-
window.showModalDialog("modal_2.html",'dialogWidth:250px;dialogHeight:200px;resizable:yes')
|
|
7
|
-
}
|
|
8
|
-
</script>
|
|
9
|
-
</head>
|
|
10
|
-
|
|
11
|
-
<body>
|
|
12
|
-
<p>Modal dialog sample</p>
|
|
13
|
-
|
|
14
|
-
<input type="button" value="btn2" onclick="openModal();">
|
|
15
|
-
|
|
16
|
-
<a id="lnk2" href="javascript:openModal()">lnk2</a>
|
|
17
|
-
<div>
|
|
18
|
-
|
|
19
|
-
</div>
|
|
20
|
-
</body>
|
|
21
|
-
</html>
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
<html>
|
|
2
|
-
<head>
|
|
3
|
-
<title>Second Modal</title>
|
|
4
|
-
<script>
|
|
5
|
-
function openModal() {
|
|
6
|
-
window.showModalDialog("modal_3.html",'dialogWidth:250px;dialogHeight:200px;resizable:yes')
|
|
7
|
-
}
|
|
8
|
-
</script>
|
|
9
|
-
</head>
|
|
10
|
-
|
|
11
|
-
<body>
|
|
12
|
-
<p>Modal dialog sample</p>
|
|
13
|
-
|
|
14
|
-
<input type="button" value="btn3" onclick="openModal();">
|
|
15
|
-
|
|
16
|
-
<a id="lnk3" href="javascript:openModal()">lnk3</a>
|
|
17
|
-
<div>
|
|
18
|
-
|
|
19
|
-
</div>
|
|
20
|
-
</body>
|
|
21
|
-
</html>
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
<html>
|
|
2
|
-
<head>
|
|
3
|
-
<title>Main window</title>
|
|
4
|
-
<script>
|
|
5
|
-
function openModal() {
|
|
6
|
-
window.showModalDialog("modal_1.html",'dialogWidth:250px;dialogHeight:200px;resizable:yes')
|
|
7
|
-
}
|
|
8
|
-
</script>
|
|
9
|
-
</head>
|
|
10
|
-
|
|
11
|
-
<body>
|
|
12
|
-
<p>Modal dialog sample</p>
|
|
13
|
-
|
|
14
|
-
<input type="button" value="btn1" onclick="openModal();">
|
|
15
|
-
|
|
16
|
-
<a id="lnk1" href="javascript:openModal()">lnk1</a>
|
|
17
|
-
<div>
|
|
18
|
-
|
|
19
|
-
</div>
|
|
20
|
-
</body>
|
|
21
|
-
</html>
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<body style="margin: 0; padding: 0;">
|
|
3
|
-
<div style="position: absolute; overflow: hidden;
|
|
4
|
-
left: 0; top: 0; width: 250px; height: 250px;
|
|
5
|
-
background: green"
|
|
6
|
-
id="greenbox">
|
|
7
|
-
<div style="position: relative; left: 75px; top: 75px;
|
|
8
|
-
width: 75px; height: 75px;
|
|
9
|
-
background: green"
|
|
10
|
-
id="redbox">
|
|
11
|
-
</div>
|
|
12
|
-
<script>
|
|
13
|
-
var redbox = document.getElementById('redbox');
|
|
14
|
-
redbox.onmouseover = function() { redbox.style.background = 'red'; };
|
|
15
|
-
redbox.onmouseout = function() { redbox.style.background = 'green'; };
|
|
16
|
-
</script>
|
|
17
|
-
</div>
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
<html>
|
|
2
|
-
<head>
|
|
3
|
-
<style type="text/css">
|
|
4
|
-
div.solidborder
|
|
5
|
-
{
|
|
6
|
-
border-style:solid;
|
|
7
|
-
border-width:1px;
|
|
8
|
-
}
|
|
9
|
-
</style>
|
|
10
|
-
|
|
11
|
-
<script type="text/javascript" src="js/jquery-1.4.4.min.js"></script>
|
|
12
|
-
<script type="text/javascript" src="js/jquery-ui-1.8.10.custom.min.js"></script>
|
|
13
|
-
<script type="text/javascript">
|
|
14
|
-
jQuery(document).ready(function(){
|
|
15
|
-
$('#mousetracker').mousemove(function(e){
|
|
16
|
-
xPos = e.pageX - this.offsetLeft;
|
|
17
|
-
yPos = e.pageY - this.offsetTop;
|
|
18
|
-
$('#status').html(xPos + ', ' + yPos);
|
|
19
|
-
});
|
|
20
|
-
})
|
|
21
|
-
|
|
22
|
-
</script>
|
|
23
|
-
<body>
|
|
24
|
-
<b>Div tracking mouse position.</b>
|
|
25
|
-
<br>
|
|
26
|
-
<div id="mousetracker" class="solidborder" style="position: absolute; left: 10px; top: 80px; height: 400px; width: 100px; padding: 0px;">
|
|
27
|
-
Move mouse here.
|
|
28
|
-
</div>
|
|
29
|
-
<h2 id="status">
|
|
30
|
-
0, 0
|
|
31
|
-
</h2>
|
|
32
|
-
</body>
|
|
33
|
-
</html>
|
|
@@ -1,164 +0,0 @@
|
|
|
1
|
-
<html>
|
|
2
|
-
<body>
|
|
3
|
-
<p id="test_id">outside</p>
|
|
4
|
-
<p id="test_id_out">outside</p>
|
|
5
|
-
<div id="test_id_div">
|
|
6
|
-
<p id="test_id">inside</p>
|
|
7
|
-
</div>
|
|
8
|
-
<div id="test_special_chars">
|
|
9
|
-
<p id="white space">space</p>
|
|
10
|
-
<p id="css#.chars">css escapes</p>
|
|
11
|
-
</div>
|
|
12
|
-
<div id="test_special_chars_2">
|
|
13
|
-
<p id="white space">second copy for testing plural findElements</p>
|
|
14
|
-
<p id="css#.chars">second copy</p>
|
|
15
|
-
</div>
|
|
16
|
-
|
|
17
|
-
<form method="get" action="resultPage.html" name="form1" style="display: block">
|
|
18
|
-
Here's a checkbox: <input type="checkbox" id="checky" name="checky" value="furrfu"/><br/>
|
|
19
|
-
<select name="selectomatic" id="1">
|
|
20
|
-
<option selected="selected">One</option>
|
|
21
|
-
<option>Two</option>
|
|
22
|
-
<option>Four</option>
|
|
23
|
-
<option>Still learning how to count, apparently</option>
|
|
24
|
-
</select>
|
|
25
|
-
</form>
|
|
26
|
-
|
|
27
|
-
<form method="get" action="resultPage.html" name="form2" style="display: block">
|
|
28
|
-
Here's a checkbox: <input type="checkbox" id="checky" name="checky" value="furrfu"/><br/>
|
|
29
|
-
<select name="selectomatic" id="2">
|
|
30
|
-
<option selected="selected">One</option>
|
|
31
|
-
<option>Two</option>
|
|
32
|
-
<option>Four</option>
|
|
33
|
-
<option>Still learning how to count, apparently</option>
|
|
34
|
-
</select>
|
|
35
|
-
<select name="selectomatic" id="2">
|
|
36
|
-
<option selected="selected">One</option>
|
|
37
|
-
<option>Two</option>
|
|
38
|
-
<option>Four</option>
|
|
39
|
-
<option>Still learning how to count, apparently</option>
|
|
40
|
-
</select>
|
|
41
|
-
</form>
|
|
42
|
-
|
|
43
|
-
<a href="1.html">hello world</a>
|
|
44
|
-
<div name="div1">
|
|
45
|
-
<a href="2.html" name="link1">hello world</a>
|
|
46
|
-
<a href="2.html" name="link2">hello world</a>
|
|
47
|
-
</div>
|
|
48
|
-
</body>
|
|
49
|
-
</html>
|
|
50
|
-
<html>
|
|
51
|
-
<body>
|
|
52
|
-
|
|
53
|
-
<form method="get" action="resultPage.html" name="form1" style="display: block">
|
|
54
|
-
Here's a checkbox: <input type="checkbox" id="checky" name="checky" value="furrfu"/><br/>
|
|
55
|
-
<select name="selectomatic" id="1">
|
|
56
|
-
<option selected="selected">One</option>
|
|
57
|
-
<option>Two</option>
|
|
58
|
-
<option>Four</option>
|
|
59
|
-
<option>Still learning how to count, apparently</option>
|
|
60
|
-
</select>
|
|
61
|
-
</form>
|
|
62
|
-
|
|
63
|
-
<form method="get" action="resultPage.html" name="form2" style="display: block">
|
|
64
|
-
Here's a checkbox: <input type="checkbox" id="checky" name="checky" value="furrfu"/><br/>
|
|
65
|
-
<select name="selectomatic" id="2">
|
|
66
|
-
<option selected="selected">One</option>
|
|
67
|
-
<option>Two</option>
|
|
68
|
-
<option>Four</option>
|
|
69
|
-
<option>Still learning how to count, apparently</option>
|
|
70
|
-
</select>
|
|
71
|
-
<select name="selectomatic" id="2">
|
|
72
|
-
<option selected="selected">One</option>
|
|
73
|
-
<option>Two</option>
|
|
74
|
-
<option>Four</option>
|
|
75
|
-
<option>Still learning how to count, apparently</option>
|
|
76
|
-
</select>
|
|
77
|
-
</form>
|
|
78
|
-
|
|
79
|
-
<a href="1.html">hello world</a>
|
|
80
|
-
<div name="div1">
|
|
81
|
-
<a href="2.html">hello world</a>
|
|
82
|
-
<a href="2.html">hello world</a>
|
|
83
|
-
</div>
|
|
84
|
-
</body>
|
|
85
|
-
</html>
|
|
86
|
-
<html>
|
|
87
|
-
<body>
|
|
88
|
-
|
|
89
|
-
<form method="get" action="resultPage.html" name="form1" style="display: block">
|
|
90
|
-
Here's a checkbox: <input type="checkbox" id="checky" name="checky" value="furrfu"/><br/>
|
|
91
|
-
<select name="selectomatic" id="1">
|
|
92
|
-
<option selected="selected">One</option>
|
|
93
|
-
<option>Two</option>
|
|
94
|
-
<option>Four</option>
|
|
95
|
-
<option>Still learning how to count, apparently</option>
|
|
96
|
-
</select>
|
|
97
|
-
</form>
|
|
98
|
-
|
|
99
|
-
<form method="get" action="resultPage.html" name="form2" style="display: block">
|
|
100
|
-
Here's a checkbox: <input type="checkbox" id="checky" name="checky" value="furrfu"/><br/>
|
|
101
|
-
<select name="selectomatic" id="2">
|
|
102
|
-
<option selected="selected">One</option>
|
|
103
|
-
<option>Two</option>
|
|
104
|
-
<option>Four</option>
|
|
105
|
-
<option>Still learning how to count, apparently</option>
|
|
106
|
-
</select>
|
|
107
|
-
<select name="selectomatic" id="2">
|
|
108
|
-
<option selected="selected">One</option>
|
|
109
|
-
<option>Two</option>
|
|
110
|
-
<option>Four</option>
|
|
111
|
-
<option>Still learning how to count, apparently</option>
|
|
112
|
-
</select>
|
|
113
|
-
</form>
|
|
114
|
-
|
|
115
|
-
<a href="1.html">hello world</a>
|
|
116
|
-
<div name="div1">
|
|
117
|
-
<a href="2.html">hello world</a>
|
|
118
|
-
<a href="2.html">hello world</a>
|
|
119
|
-
</div>
|
|
120
|
-
</body>
|
|
121
|
-
</html>
|
|
122
|
-
<html>
|
|
123
|
-
<body>
|
|
124
|
-
|
|
125
|
-
<form method="get" action="resultPage.html" name="form1" style="display: block">
|
|
126
|
-
Here's a checkbox: <input type="checkbox" id="checky" name="checky" value="furrfu"/><br/>
|
|
127
|
-
<select name="selectomatic" id="1">
|
|
128
|
-
<option selected="selected">One</option>
|
|
129
|
-
<option>Two</option>
|
|
130
|
-
<option>Four</option>
|
|
131
|
-
<option>Still learning how to count, apparently</option>
|
|
132
|
-
</select>
|
|
133
|
-
</form>
|
|
134
|
-
|
|
135
|
-
<form method="get" action="resultPage.html" name="form2" style="display: block">
|
|
136
|
-
Here's a checkbox: <input type="checkbox" id="checky" name="checky" value="furrfu"/><br/>
|
|
137
|
-
<select name="selectomatic" id="2">
|
|
138
|
-
<option selected="selected">One</option>
|
|
139
|
-
<option>Two</option>
|
|
140
|
-
<option>Four</option>
|
|
141
|
-
<option>Still learning how to count, apparently</option>
|
|
142
|
-
</select>
|
|
143
|
-
<select name="selectomatic" id="2">
|
|
144
|
-
<option selected="selected">One</option>
|
|
145
|
-
<option>Two</option>
|
|
146
|
-
<option>Four</option>
|
|
147
|
-
<option>Still learning how to count, apparently</option>
|
|
148
|
-
</select>
|
|
149
|
-
</form>
|
|
150
|
-
|
|
151
|
-
<a href="1.html">hello world</a>
|
|
152
|
-
<div name="div1">
|
|
153
|
-
<a href="2.html">hello world</a>
|
|
154
|
-
<a href="2.html">hello world</a>
|
|
155
|
-
</div>
|
|
156
|
-
|
|
157
|
-
<span class="one">Span with class of one</span>
|
|
158
|
-
<div name="classes">
|
|
159
|
-
<span class="one">Find me</span>
|
|
160
|
-
<span class="one">Also me</span>
|
|
161
|
-
<span class="oneother">But not me</span>
|
|
162
|
-
</div>
|
|
163
|
-
</body>
|
|
164
|
-
</html>
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html>
|
|
3
|
-
<head>
|
|
4
|
-
<title>Page with overflow</title>
|
|
5
|
-
<style>
|
|
6
|
-
#over {
|
|
7
|
-
width:400px;
|
|
8
|
-
height: 300px;
|
|
9
|
-
overflow-x: auto;
|
|
10
|
-
overflow-y: auto;
|
|
11
|
-
}
|
|
12
|
-
</style>
|
|
13
|
-
</head>
|
|
14
|
-
<body>
|
|
15
|
-
<div id="over">
|
|
16
|
-
<div style="width: 5000px;">
|
|
17
|
-
<div style="width: 100%; text-align: right;" ><a href="#" id="right" onclick="document.getElementById('right-clicked').innerText='ok'">Click right</a></div>
|
|
18
|
-
</div>
|
|
19
|
-
<div style="height: 5000px; width: 5000px;">
|
|
20
|
-
Right clicked: <span id="right-clicked"></span></br>
|
|
21
|
-
Bottom clicked: <span id="bottom-clicked"></span></br>
|
|
22
|
-
Bottom-right clicked: <span id="bottom-right-clicked"></span></br>
|
|
23
|
-
</div>
|
|
24
|
-
<div style="width: 5000px;">
|
|
25
|
-
<div style="width: 100%; text-align: right;" ><a href="#" id="bottom-right" onclick="document.getElementById('bottom-right-clicked').innerText='ok'">Click bottom-right</a></div>
|
|
26
|
-
</div>
|
|
27
|
-
<a href="#" id="bottom" onclick="document.getElementById('bottom-clicked').innerText='ok'">Click bottom</a>
|
|
28
|
-
</div>
|
|
29
|
-
</body>
|
|
30
|
-
</html>
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html>
|
|
3
|
-
<head>
|
|
4
|
-
<title>Page with overflow</title>
|
|
5
|
-
<style>
|
|
6
|
-
#over {
|
|
7
|
-
width:400px;
|
|
8
|
-
height: 300px;
|
|
9
|
-
overflow-x: auto;
|
|
10
|
-
overflow-y: hidden;
|
|
11
|
-
}
|
|
12
|
-
</style>
|
|
13
|
-
</head>
|
|
14
|
-
<body>
|
|
15
|
-
<div id="over">
|
|
16
|
-
<div style="width: 5000px;">
|
|
17
|
-
<div style="width: 100%; text-align: right;" ><a href="#" id="right" onclick="document.getElementById('right-clicked').innerText='ok'">Click right</a></div>
|
|
18
|
-
</div>
|
|
19
|
-
<div style="height: 5000px; width: 5000px;">
|
|
20
|
-
Right clicked: <span id="right-clicked"></span></br>
|
|
21
|
-
Bottom clicked: <span id="bottom-clicked"></span></br>
|
|
22
|
-
Bottom-right clicked: <span id="bottom-right-clicked"></span></br>
|
|
23
|
-
</div>
|
|
24
|
-
<div style="width: 5000px;">
|
|
25
|
-
<div style="width: 100%; text-align: right;" ><a href="#" id="bottom-right" onclick="document.getElementById('bottom-right-clicked').innerText='ok'">Click bottom-right</a></div>
|
|
26
|
-
</div>
|
|
27
|
-
<a href="#" id="bottom" onclick="document.getElementById('bottom-clicked').innerText='ok'">Click bottom</a>
|
|
28
|
-
</div>
|
|
29
|
-
</body>
|
|
30
|
-
</html>
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html>
|
|
3
|
-
<head>
|
|
4
|
-
<title>Page with overflow</title>
|
|
5
|
-
<style>
|
|
6
|
-
#over {
|
|
7
|
-
width:400px;
|
|
8
|
-
height: 300px;
|
|
9
|
-
overflow-x: auto;
|
|
10
|
-
overflow-y: scroll;
|
|
11
|
-
}
|
|
12
|
-
</style>
|
|
13
|
-
</head>
|
|
14
|
-
<body>
|
|
15
|
-
<div id="over">
|
|
16
|
-
<div style="width: 5000px;">
|
|
17
|
-
<div style="width: 100%; text-align: right;" ><a href="#" id="right" onclick="document.getElementById('right-clicked').innerText='ok'">Click right</a></div>
|
|
18
|
-
</div>
|
|
19
|
-
<div style="height: 5000px; width: 5000px;">
|
|
20
|
-
Right clicked: <span id="right-clicked"></span></br>
|
|
21
|
-
Bottom clicked: <span id="bottom-clicked"></span></br>
|
|
22
|
-
Bottom-right clicked: <span id="bottom-right-clicked"></span></br>
|
|
23
|
-
</div>
|
|
24
|
-
<div style="width: 5000px;">
|
|
25
|
-
<div style="width: 100%; text-align: right;" ><a href="#" id="bottom-right" onclick="document.getElementById('bottom-right-clicked').innerText='ok'">Click bottom-right</a></div>
|
|
26
|
-
</div>
|
|
27
|
-
<a href="#" id="bottom" onclick="document.getElementById('bottom-clicked').innerText='ok'">Click bottom</a>
|
|
28
|
-
</div>
|
|
29
|
-
</body>
|
|
30
|
-
</html>
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html>
|
|
3
|
-
<head>
|
|
4
|
-
<title>Page with overflow</title>
|
|
5
|
-
<style>
|
|
6
|
-
#over {
|
|
7
|
-
width:400px;
|
|
8
|
-
height: 300px;
|
|
9
|
-
overflow-x: hidden;
|
|
10
|
-
overflow-y: auto;
|
|
11
|
-
}
|
|
12
|
-
</style>
|
|
13
|
-
</head>
|
|
14
|
-
<body>
|
|
15
|
-
<div id="over">
|
|
16
|
-
<div style="width: 5000px;">
|
|
17
|
-
<div style="width: 100%; text-align: right;" ><a href="#" id="right" onclick="document.getElementById('right-clicked').innerText='ok'">Click right</a></div>
|
|
18
|
-
</div>
|
|
19
|
-
<div style="height: 5000px; width: 5000px;">
|
|
20
|
-
Right clicked: <span id="right-clicked"></span></br>
|
|
21
|
-
Bottom clicked: <span id="bottom-clicked"></span></br>
|
|
22
|
-
Bottom-right clicked: <span id="bottom-right-clicked"></span></br>
|
|
23
|
-
</div>
|
|
24
|
-
<div style="width: 5000px;">
|
|
25
|
-
<div style="width: 100%; text-align: right;" ><a href="#" id="bottom-right" onclick="document.getElementById('bottom-right-clicked').innerText='ok'">Click bottom-right</a></div>
|
|
26
|
-
</div>
|
|
27
|
-
<a href="#" id="bottom" onclick="document.getElementById('bottom-clicked').innerText='ok'">Click bottom</a>
|
|
28
|
-
</div>
|
|
29
|
-
</body>
|
|
30
|
-
</html>
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html>
|
|
3
|
-
<head>
|
|
4
|
-
<title>Page with overflow</title>
|
|
5
|
-
<style>
|
|
6
|
-
#over {
|
|
7
|
-
width:400px;
|
|
8
|
-
height: 300px;
|
|
9
|
-
overflow-x: hidden;
|
|
10
|
-
overflow-y: hidden;
|
|
11
|
-
}
|
|
12
|
-
</style>
|
|
13
|
-
</head>
|
|
14
|
-
<body>
|
|
15
|
-
<div id="over">
|
|
16
|
-
<div style="width: 5000px;">
|
|
17
|
-
<div style="width: 100%; text-align: right;" ><a href="#" id="right" onclick="document.getElementById('right-clicked').innerText='ok'">Click right</a></div>
|
|
18
|
-
</div>
|
|
19
|
-
<div style="height: 5000px; width: 5000px;">
|
|
20
|
-
Right clicked: <span id="right-clicked"></span></br>
|
|
21
|
-
Bottom clicked: <span id="bottom-clicked"></span></br>
|
|
22
|
-
Bottom-right clicked: <span id="bottom-right-clicked"></span></br>
|
|
23
|
-
</div>
|
|
24
|
-
<div style="width: 5000px;">
|
|
25
|
-
<div style="width: 100%; text-align: right;" ><a href="#" id="bottom-right" onclick="document.getElementById('bottom-right-clicked').innerText='ok'">Click bottom-right</a></div>
|
|
26
|
-
</div>
|
|
27
|
-
<a href="#" id="bottom" onclick="document.getElementById('bottom-clicked').innerText='ok'">Click bottom</a>
|
|
28
|
-
</div>
|
|
29
|
-
</body>
|
|
30
|
-
</html>
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html>
|
|
3
|
-
<head>
|
|
4
|
-
<title>Page with overflow</title>
|
|
5
|
-
<style>
|
|
6
|
-
#over {
|
|
7
|
-
width:400px;
|
|
8
|
-
height: 300px;
|
|
9
|
-
overflow-x: hidden;
|
|
10
|
-
overflow-y: scroll;
|
|
11
|
-
}
|
|
12
|
-
</style>
|
|
13
|
-
</head>
|
|
14
|
-
<body>
|
|
15
|
-
<div id="over">
|
|
16
|
-
<div style="width: 5000px;">
|
|
17
|
-
<div style="width: 100%; text-align: right;" ><a href="#" id="right" onclick="document.getElementById('right-clicked').innerText='ok'">Click right</a></div>
|
|
18
|
-
</div>
|
|
19
|
-
<div style="height: 5000px; width: 5000px;">
|
|
20
|
-
Right clicked: <span id="right-clicked"></span></br>
|
|
21
|
-
Bottom clicked: <span id="bottom-clicked"></span></br>
|
|
22
|
-
Bottom-right clicked: <span id="bottom-right-clicked"></span></br>
|
|
23
|
-
</div>
|
|
24
|
-
<div style="width: 5000px;">
|
|
25
|
-
<div style="width: 100%; text-align: right;" ><a href="#" id="bottom-right" onclick="document.getElementById('bottom-right-clicked').innerText='ok'">Click bottom-right</a></div>
|
|
26
|
-
</div>
|
|
27
|
-
<a href="#" id="bottom" onclick="document.getElementById('bottom-clicked').innerText='ok'">Click bottom</a>
|
|
28
|
-
</div>
|
|
29
|
-
</body>
|
|
30
|
-
</html>
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html>
|
|
3
|
-
<head>
|
|
4
|
-
<title>Page with overflow</title>
|
|
5
|
-
<style>
|
|
6
|
-
#over {
|
|
7
|
-
width:400px;
|
|
8
|
-
height: 300px;
|
|
9
|
-
overflow-x: scroll;
|
|
10
|
-
overflow-y: auto;
|
|
11
|
-
}
|
|
12
|
-
</style>
|
|
13
|
-
</head>
|
|
14
|
-
<body>
|
|
15
|
-
<div id="over">
|
|
16
|
-
<div style="width: 5000px;">
|
|
17
|
-
<div style="width: 100%; text-align: right;" ><a href="#" id="right" onclick="document.getElementById('right-clicked').innerText='ok'">Click right</a></div>
|
|
18
|
-
</div>
|
|
19
|
-
<div style="height: 5000px; width: 5000px;">
|
|
20
|
-
Right clicked: <span id="right-clicked"></span></br>
|
|
21
|
-
Bottom clicked: <span id="bottom-clicked"></span></br>
|
|
22
|
-
Bottom-right clicked: <span id="bottom-right-clicked"></span></br>
|
|
23
|
-
</div>
|
|
24
|
-
<div style="width: 5000px;">
|
|
25
|
-
<div style="width: 100%; text-align: right;" ><a href="#" id="bottom-right" onclick="document.getElementById('bottom-right-clicked').innerText='ok'">Click bottom-right</a></div>
|
|
26
|
-
</div>
|
|
27
|
-
<a href="#" id="bottom" onclick="document.getElementById('bottom-clicked').innerText='ok'">Click bottom</a>
|
|
28
|
-
</div>
|
|
29
|
-
</body>
|
|
30
|
-
</html>
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html>
|
|
3
|
-
<head>
|
|
4
|
-
<title>Page with overflow</title>
|
|
5
|
-
<style>
|
|
6
|
-
#over {
|
|
7
|
-
width:400px;
|
|
8
|
-
height: 300px;
|
|
9
|
-
overflow-x: scroll;
|
|
10
|
-
overflow-y: hidden;
|
|
11
|
-
}
|
|
12
|
-
</style>
|
|
13
|
-
</head>
|
|
14
|
-
<body>
|
|
15
|
-
<div id="over">
|
|
16
|
-
<div style="width: 5000px;">
|
|
17
|
-
<div style="width: 100%; text-align: right;" ><a href="#" id="right" onclick="document.getElementById('right-clicked').innerText='ok'">Click right</a></div>
|
|
18
|
-
</div>
|
|
19
|
-
<div style="height: 5000px; width: 5000px;">
|
|
20
|
-
Right clicked: <span id="right-clicked"></span></br>
|
|
21
|
-
Bottom clicked: <span id="bottom-clicked"></span></br>
|
|
22
|
-
Bottom-right clicked: <span id="bottom-right-clicked"></span></br>
|
|
23
|
-
</div>
|
|
24
|
-
<div style="width: 5000px;">
|
|
25
|
-
<div style="width: 100%; text-align: right;" ><a href="#" id="bottom-right" onclick="document.getElementById('bottom-right-clicked').innerText='ok'">Click bottom-right</a></div>
|
|
26
|
-
</div>
|
|
27
|
-
<a href="#" id="bottom" onclick="document.getElementById('bottom-clicked').innerText='ok'">Click bottom</a>
|
|
28
|
-
</div>
|
|
29
|
-
</body>
|
|
30
|
-
</html>
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html>
|
|
3
|
-
<head>
|
|
4
|
-
<title>Page with overflow</title>
|
|
5
|
-
<style>
|
|
6
|
-
#over {
|
|
7
|
-
width:400px;
|
|
8
|
-
height: 300px;
|
|
9
|
-
overflow-x: scroll;
|
|
10
|
-
overflow-y: scroll;
|
|
11
|
-
}
|
|
12
|
-
</style>
|
|
13
|
-
</head>
|
|
14
|
-
<body>
|
|
15
|
-
<div id="over">
|
|
16
|
-
<div style="width: 5000px;">
|
|
17
|
-
<div style="width: 100%; text-align: right;" ><a href="#" id="right" onclick="document.getElementById('right-clicked').innerText='ok'">Click right</a></div>
|
|
18
|
-
</div>
|
|
19
|
-
<div style="height: 5000px; width: 5000px;">
|
|
20
|
-
Right clicked: <span id="right-clicked"></span></br>
|
|
21
|
-
Bottom clicked: <span id="bottom-clicked"></span></br>
|
|
22
|
-
Bottom-right clicked: <span id="bottom-right-clicked"></span></br>
|
|
23
|
-
</div>
|
|
24
|
-
<div style="width: 5000px;">
|
|
25
|
-
<div style="width: 100%; text-align: right;" ><a href="#" id="bottom-right" onclick="document.getElementById('bottom-right-clicked').innerText='ok'">Click bottom-right</a></div>
|
|
26
|
-
</div>
|
|
27
|
-
<a href="#" id="bottom" onclick="document.getElementById('bottom-clicked').innerText='ok'">Click bottom</a>
|
|
28
|
-
</div>
|
|
29
|
-
</body>
|
|
30
|
-
</html>
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html style="overflow: auto;">
|
|
3
|
-
<head>
|
|
4
|
-
<title>The Visibility of Everyday Things</title>
|
|
5
|
-
</head>
|
|
6
|
-
<body style="overflow: hidden;">
|
|
7
|
-
<!-- When the test is run, the window is resized to less than 700 pixels high -->
|
|
8
|
-
<p>This image is copyright Simon Stewart and donated to the Selenium project for use in its test suites.
|
|
9
|
-
</p>
|
|
10
|
-
<img src="beach.jpg" height="480" width="640" alt="a nice beach">
|
|
11
|
-
|
|
12
|
-
<!-- So this is off screen -->
|
|
13
|
-
<iframe width="100%" height="1000" name="resultsFrame" src="xhtmlTest.html"></iframe>
|
|
14
|
-
</body>
|
|
15
|
-
</html>
|