Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

168 B
Raw Blame
({
  query(root, selector) {
    return root.querySelector('section');
  },
  queryAll(root, selector) {
    return Array.from(root.querySelectorAll('section'));
  }
})