UNPKG

selenium-webdriver

Version:

The official WebDriver JavaScript bindings from the Selenium project

9 lines 2.41 kB
<!DOCTYPE html><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no"><meta http-equiv="Content-Language" content="en"><meta http-equiv="X-UA-Compatible" content="IE=edge"><title>ControlFlow.EventType</title><link href="dossier.css" rel="stylesheet" type="text/css"><header><div><form><div><input type="search" placeholder="Search" tabindex="1"></div></form></div></header><main><article><div class="parentlink"><b>Namespace:</b> <a href="namespace_webdriver_promise.html">webdriver.promise</a></div><div class="codelink"><a href="source/lib/webdriver/promise.js.src.html#l1326">View Source</a></div><h1>enum ControlFlow.EventType</h1><dl><dt>Type<code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String">string</a></code></dl><p>Events that may be emitted by an <a href="class_webdriver_promise_ControlFlow.html"><code>webdriver.promise.ControlFlow</code></a>.</p> <h2>Values and Descriptions</h2><div id="IDLE" class="property"><dl><dt>IDLE<dd><p>Emitted when all tasks have been successfully executed.</p> </dl></div><div id="RESET" class="property"><dl><dt>RESET<dd><p>Emitted when a ControlFlow has been reset.</p> </dl></div><div id="SCHEDULE_TASK" class="property"><dl><dt>SCHEDULE_TASK<dd><p>Emitted whenever a new task has been scheduled.</p> </dl></div><div id="UNCAUGHT_EXCEPTION" class="property"><dl><dt>UNCAUGHT_EXCEPTION<dd><p>Emitted whenever a control flow aborts due to an unhandled promise rejection. This event will be emitted along with the offending rejection reason. Upon emitting this event, the control flow will empty its task queue and revert to its initial state.</p> </dl></div></article><nav><h3><a href="index.html" tabindex="2">Overview</a></h3><div><input type="checkbox" id="nav-modules" checked/><label for="nav-modules"><h3><span class="selectable" tabindex="2">Modules</span></h3></label><div id="nav-modules-view"></div></div><div><input type="checkbox" id="nav-types" checked/><label for="nav-types"><h3><span class="selectable" tabindex="2">Types</span></h3></label><div id="nav-types-view"></div></div><h3><a href="Changes.html" tabindex="2">Changes</a></h3></nav></main><footer><div><a href="https://github.com/jleyba/js-dossier">Generated by dossier</a></div></footer><script src="types.js"></script><script src="dossier.js"></script>