Getting 'innertext does not exist on element' error – what am I missing? Alternatively, if you want a slight

22 Replies, 1189 Views

Yo, thanks everyone! Totally was a typo—*innerText* fixed it.

Weirdly, *waitForSelector* wasn’t working at first, but adding a longer timeout did the trick.

Still not sure why *textContent* gave me extra whitespace, but eh, it works now.

Appreciate the Playwright docs tip—definitely bookmarking those. Cheers!

Messages In This Thread



Users browsing this thread: 1 Guest(s)