Skip to content

Passing in a paremeter to EvaluateFunctionAsync #2844

Answered by kblok
Naelsh asked this question in Q&A
Discussion options

You must be logged in to vote

You have index inside the string. It should be something like this

const block = document.querySelector(`div.grupo_prefiles:nth-child(${index})`);

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Naelsh
Comment options

@kblok
Comment options

@Naelsh
Comment options

Answer selected by kblok
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants