mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-14 21:53:35 +03:00
10 lines
198 B
JavaScript
10 lines
198 B
JavaScript
({
|
|
create(root, target) {
|
|
},
|
|
query(root, selector) {
|
|
return root.querySelector('section');
|
|
},
|
|
queryAll(root, selector) {
|
|
return Array.from(root.querySelectorAll('section'));
|
|
}
|
|
}) |