Wednesday, 21 August 2013

CasperJS querySelectorAll Regex

CasperJS querySelectorAll Regex

How do I get all the DIVs starting with ID div-gpt-ad?
This is the line
document.querySelectorAll('div#div-gpt-ad-1363287890054-0-oop');
there are multiple divs with IDs starting with div-gpt-ad on my page and I
want to get them all.
Thanks!!

No comments:

Post a Comment