Open jeromekwek opened 9 years ago
The HTML isn’t the same.
In your browser there is some JS running post fetch which changes the order, this won’t happen in CQ.
If you slow your browser down you can see it happen. (Grab attached.)
Thanks for your quick reply, Ben!
In that case, is there any way for CsQuery to "wait" for the page to process completely (with the new order), and then return with the actual result as displayed?
Or are there any other workaround/s for this issue?
It doesn’t run javascript, so no.
Hi,
I'm trying to use CsQuery to go through some pages of Thesaurus.com
Using the address http://www.thesaurus.com/browse/test as an example, the code I'm using is as follows:
Result from CsQuery:
Result from jQuery:
Both are using the same dom selection (i.e. #filters-0 > div.relevancy-block > div > ul:nth-child(1) > li:nth-child(1) > a), but CsQuery is returning me "search" while jQuery is returning me "analysis", which is correct. Any idea what's going on?