dead-brownD
Apify & Crawlee4y ago
3 replies
dead-brown

click on a specific word of a span

Hi everyone, I'm new to the word of scraping and crawling. For the time being I'm using Playwright, and I just learned of crawlee. I'm stuck in playwright, and perhaps crawlee will help.
I need to click at the starting and ending words of a span element. Is there anyway select a specific word of a span?
Alternatively, is there any way to CREATE a DOM element with playwright? Perhaps I could create a DIV around these two words, then click on those DIV.
Or even alternatively, I can get the coordinates of a given word, and click away.
Is any of this possible?
Thanks
Was this page helpful?