mouse_out method
Implementation
Future<Online> mouse_out(AbstractSelector selector) async {
Show.action('mouse out', selector.selector);
var selected = selector is XPath
? await (await page).waitForXPath(selector.selector, visible: true)
: await (await page).waitForSelector(selector.selector, visible: true);
if (selected != null) {
await selected.evaluate('''element => {
var mouseOutEvent = new MouseEvent('mouseout', {bubbles: true});
element.dispatchEvent(mouseOutEvent);
}''');
}
return this;
}