set_all method

Future<Online> set_all(
  1. AbstractSelector selector,
  2. String text
)

Implementation

Future<Online> set_all(AbstractSelector selector, String text) async {
  Show.action('setting', selector.selector, 'to', text);
  await wait(Waitable.ElementVisible(selector));
  await (await page).$$(selector.selector).then((elements) async {
    for (var element in elements) {
      await element.type(text);
    }
  });
  return this;
}