fill_action method
Implementation
@override
Future<Online> fill_action(Online browser, dynamic value) async {
var page = (await browser.page);
//page wait for completly loaded
await Future.delayed(Duration(milliseconds: 500));
for (var modifier in modifiers ?? []) {
await page.keyboard.down(modifier);
}
//wait 500ms
await Future.delayed(Duration(milliseconds: 500));
await page.keyboard.press(key);
//wait 500ms
await Future.delayed(Duration(milliseconds: 500));
for (var modifier in modifiers ?? []) {
await page.keyboard.up(modifier);
}
return browser;
}