Method: Playwright::Page#query_selector_all

Defined in:
lib/playwright_api/page.rb

#query_selector_all(selector) ⇒ Object

The method finds all elements matching the specified selector within the page. If no elements match the selector, the return value resolves to ‘[]`.

Shortcut for main frame’s [‘method: Frame.querySelectorAll`].



1172
1173
1174
# File 'lib/playwright_api/page.rb', line 1172

def query_selector_all(selector)
  wrap_impl(@impl.query_selector_all(unwrap_impl(selector)))
end