loading...

Discussion on: Strapi, another use case: Build your own API from any website with Puppeteer

Collapse
seefor profile image
Sif Baksh

Dude this is great man, I got it to work and thanks for teaching me.

Here is the update li to update:
li.result-card.job-result-card.result-card--with-hover-state.job-card__contents--active

Thread Thread
hichamelbsi profile image
ELABBASSI Hicham Author

Thank you, Sif!

Well, it seems that the selector in the tutorial is still working li.result-card.job-result-card. Be careful, the selector in your reply will select only the active list item (as you can see, the .job-card__contents--active is the active CSS class for a selected list item). We need all the list items (not just the selected one) so you need to get a more generic selector.

Thread Thread
seefor profile image
Sif Baksh

Thanks for that, I will give that a try