drashland / sinco

Browser Automation and Testing Tool for Deno, written in full TypeScript
https://drash.land/sinco
MIT License
57 stars 3 forks source link

feat: Add a wait() method to Page #129

Closed ebebbington closed 2 years ago

ebebbington commented 2 years ago

partially addresses #128

ebebbington commented 2 years ago

I'm really not sure if this would be useful... most content is within the content loaded event

Putting this on hold for now for ref

ebebbington commented 2 years ago

actually would be, eg say we use react/vue and we wanna wait for all elems on the dom to load:

await page.wait(`document.querySelector("users-list")