$$ method
The method runs document.querySelectorAll
within the page.
If no elements match the selector, the return value resolves to []
.
Shortcut for Page.mainFrame.$$(selector)
.
Implementation
Future<List<ElementHandle>> $$(String selector) {
return mainFrame.$$(selector);
}