"Getting 'innertext does not exist on element' error – what am I missing?"
Ugh, driving me nuts here. Trying to scrape some text with Puppeteer/Playwright (or maybe just vanilla JS?), and boom—*"innertext does not exist on element"*.
Pretty sure I’m targeting the right element, but nope.
Is it a typo? Should I be using *innerText* (case-sensitive maybe?) or *textContent* instead?
Or is the element just not loaded yet? Tried adding a waitForSelector but still no luck.
Anyone else run into this? Feels like a dumb mistake but google ain’t helping much.
Thanks in advance!
(Also, if you’ve got a better way to grab text, lmk. This error’s killing my vibe.)
"Is ProxyBay Still the Best Way to Access Torrent Sites?"
Honestly, I’ve been relying on ProxyBay for ages to find working mirrors when the main sites go down. But lately, it feels like half the links are dead or sketchy AF.
Anyone else noticing this? Or am I just unlucky?
I get that it’s a cat-and-mouse game with takedowns, but c’mon… there’s gotta be something more reliable by now.
Still, when ProxyBay *does* work, it’s a lifesaver. Just wondering if there’s a better alternative or if we’re all stuck refreshing the same old proxies.
Drop your thoughts—or better yet, any solid alternatives you’ve found. Cheers!
So, I’ve been on the hunt for a solid *adjustable screen size dev tool* lately. You know, something that lets me test my designs on different screen sizes without pulling my hair out.
I’ve tried a couple, but they either feel clunky or don’t have enough flexibility. Like, c’mon, I just wanna resize stuff smoothly and see how it looks on mobile, tablet, desktop, etc.
Anyone got any recs? Preferably free or budget-friendly (student life, amirite?).
Also, if it’s got some extra features like hot reloading or device presets, that’d be a huge plus.
"JavaScript load JSON file from desktop – how does it work?"
hey guys, i'm trying to figure out how to use javascript load json file from desktop. like, i have a `data.json` on my pc and wanna read it in my js code.
i tried `fetch()` but it gives me CORS errors. is there a simple way to do this without setting up a server?
also, what about the FileReader API? does that work for local files? or do i need user to manually select the file every time?
any quick examples or tips would be awesome! thanks in advance
(ps. if this is a dumb question, pls go easy on me lol)
"Wait, is this really not acceptable or am I just overreacting?"
Okay, so I gotta ask... there’s this thing that keeps happening, and I *thought* it was totally fine? But now people are acting like it’s *not acceptable* at all.
Like, am I missing something??
I get that norms change, but c’mon... is it *actually* a big deal or are people just being extra?
Kinda feels like the goalposts moved overnight. Or maybe I’m just clueless lol.
Either way, someone explain why this is *not acceptable* now. Gimme your hot takes—no judgement, just real talk.
(Also, low-key wondering if I’m the only one who didn’t get the memo.)
So I’ve been messing around with Puppeteer and trying to figure out how to use waitforselector puppeteer get all p tags on a page. I know it’s probably basic for some of you, but I’m kinda stuck lol.
Here’s what I’m trying to do: I want to wait for all the `<p>` tags to load on a page and then grab them. I’ve tried using `page.waitForSelector('p')`, but it only waits for the first `<p>` tag, not all of them.
Is there a way to make sure *all* the `<p>` tags are loaded before I use something like `page.$$('p')` to get them? Or am I overcomplicating this?
Any help would be awesome, thanks in advance!
(Also, sorry if this has been asked before, I tried searching but couldn’t find exactly what I needed.)