5 ms·
> I think that's the point, a headless browser is unlikely to trigger :hover behaviour. That is not true. I just tried it with headless chrome and triggered :h
by hoistbypetard 6y ago
> I think that's the point, a headless browser is unlikely to trigger :hover behaviour.
That is not true. I just tried it with headless chrome and triggered :hover behavior immediately just by synthesizing mouse movement the same way I would by using it as a scraper.
- gruez 6y agoI think his point is that the average scraper isn't going to bother simulating mouse movements to trigger the hover behavior.
- hoistbypetard 6y agoNot specifically for that purpose, sure. I didn't simulate the mouse movements for that purpose. The hover triggered when I simulated scrolling and clicks the same way I do when I want to scrape sports stats from sites that hide them behind scroll movements or mouse clicks.