Jacob Smith

Results 172 comments of Jacob Smith

I believe the register PR is done (just waiting for upstream PRs to land and unblock it). I could branch off that PR to start the reunification stuff; that usually...

Sorry, I added the extra browser & page setup manually because your bot yelled at me. There is actually an await in my setup. Hmmm. I copy-paste your code, run...

I updated to 19.5.2, but no difference. But. I think I found the source of this baffling behaviour: > If the function passed to the `page.evaluate` returns a non-[Serializable](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify#description) value,...

That's what I was doing originally. However, still no: ```js const output = await page.evaluateHandle(() => { const { activeElement } = document; return { activeElement, }; }); console.log(output) //...

Ahh, sorry I was overly concise. I was actually checking ```js const { activeElement } = await page.… console.log({ activeElement }) ``` I've finally been able to get the data...

> @JakobJingleheimer have you seen this guide that we have https://pptr.dev/guides/evaluate-javascript#return-types ? Sorry, I missed this previously. I had not seen it. The guide's title is rather generic, so I...

I tried to create a minimal reproduction with the same fields and links, but it doesn't repro with just HTML. The actual document is a react app, and the page...

How does one get Puppeteer to wait for react to finish rendering? I looked for that specifically, but I haven't found anything. I thought of using `componentDidMount` to emit an...

Just tried that timeout, and no change to the sequence of focusable elements. I also tried setting the timeout after the page.waitForSelector checking the page has loaded (also no change).

Mm, I understand. I'll try to get something together. Thanks for your help thus-far! I'm at least in a state where I can work around the disorganised focusable elements 🙂