playwright/test/assets/sectionselectorengine.js

10 lines
198 B
JavaScript
Raw Normal View History

({
create(root, target) {
},
query(root, selector) {
return root.querySelector('section');
},
queryAll(root, selector) {
return Array.from(root.querySelectorAll('section'));
}
})