Module: Watir

Includes:
Exception
Defined in:
lib/safariwatir/scripter.rb,
lib/safariwatir.rb,
lib/watir/exceptions.rb

Overview

:nodoc:

Defined Under Namespace

Modules: Container, Exception, PageContainer Classes: AppleScripter, FrameJavaScripter, JavaScripter, Safari, TableJavaScripter, WebKit

Constant Summary collapse

ELEMENT_NOT_FOUND =
"__safari_watir_element_unfound__"
FRAME_NOT_FOUND =
"__safari_watir_frame_unfound__"
NO_RESPONSE =
"__safari_watir_no_response__"
TABLE_CELL_NOT_FOUND =
"__safari_watir_cell_unfound__"
EXTRA_ACTION_SUCCESS =
"__safari_watir_extra_action__"
JS_LIBRARY =
%|
function dispatchOnChange(element) {
  var event = document.createEvent('HTMLEvents');
  event.initEvent('change', true, true);  
  element.dispatchEvent(event);
}|