"Fossies" - the Fresh Open Source Software Archive

Member "selenium-selenium-4.8.1/common/src/web/rc/tests/events/readme.txt" (17 Feb 2023, 1175 Bytes) of package /linux/www/selenium-selenium-4.8.1.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 This directory contains tests for browser event emulation when driven by the
    2 Selenium javascript engine. There are subtle differences in the eventing
    3 for different browsers, which Selenium attempts to emulate when driving
    4 the app with Javascript.
    5 
    6 Current Implementation:
    7 -----------------------
    8 Currently, only the focus, select, click, change and blur events are supported for elements of
    9 types INPUT-TEXT, INPUT-RADIO, INPUT-CHECKBOX, INPUT-BUTTON and SELECT.
   10 
   11 The focus event is not supported for the "window" object.
   12 
   13 Other HTML events, together with all keyboard and mouse events are not currently emulated.
   14 
   15 Key Browser differences:
   16 ----------------
   17 1) Firefox PR1 has a bug which allows "focus" and "blur" events to bubble when
   18 the target element is a CHECKBOX, RADIO, BUTTON or SELECT.
   19 (see http://www.w3.org/TR/DOM-Level-2-Events/events.html#Events-eventgroupings-htmlevents)
   20 *** SeleniumA does _not_ currently emulate this behaviour.
   21 
   22 2) Internet explorer has a bug whereby "select" and "change" events do not bubble up from
   23 target elements to enclosing elements.
   24 *** SeleniumA does currently emulate this behaviour.
   25 
   26 3) The window.onfocus event is not supported.