$ method

Future<ElementHandle> $(
  1. String selector
)

The method queries frame for the selector. If there's no such element within the frame, the method will throw an Exception.

selector: A selector to query frame for Returns a Future which resolves to ElementHandle pointing to the frame element.

Implementation

Future<ElementHandle> $(String selector) {
  return _mainWorld.$(selector);
}