set_attribute method
Implementation
Future<Online> set_attribute(
AbstractSelector selector, String attribute, String value) async {
Show.action('setting', attribute, 'to', value, selector.selector);
await (await page).waitForSelector(selector.selector);
await (await page).evaluate('''(selector, attribute, value) => {
document.querySelector(selector).setAttribute(attribute, value);
}''', args: [selector.selector, attribute, value]);
return this;
}