fill_action method

  1. @override
Future<Online> fill_action(
  1. Online browser,
  2. dynamic value
)
override

Implementation

@override
Future<Online> fill_action(Online browser, dynamic value) async {
  var count = 0;
  do {
    await before?.call(browser);
    await doit(browser);
    await after?.call(browser);
    await Future.delayed(delay ?? Duration(seconds: 1));
    count++;
  } while (!(await check(browser)) && count < retry);

  return browser;
}