get_element method

Future<ElementHandle?> get_element(
  1. AbstractSelector selector
)

Implementation

Future<ElementHandle?> get_element(AbstractSelector selector) async {
  return await (await page).waitForSelector(selector.selector);
}