I use Fizzlerfor Html Agility Pack. This is my selector that works with thin-width jquery when I test it in firebug:
$('table.adsh>tbody:nth-child(1)>tr:nth-child(4) table tr:nth-child(1)>td:nth-child(2)')
But this line of code returns null in C # code:
var item = page.QuerySelector("table.adsh>tbody:nth-child(1)>tr:nth-child(4) table tr:nth-child(1)>td:nth-child(2)");
Elementalways zero. Is there something wrong with my selector?
Any help is appreciated in advance.
source
share