Closed eldyvoon closed 8 years ago
I do this link: x('body > div.container.main-page > div > div > div > table > tr:nth-child(1) > td > a@href')
found it's working fine, hmm it doesn't recognize tbody
?
I detected that selector doesn't work fine with deep levels, but I'm not sure what is happening.
I think that is not related directly with x-ray, maybe with the parser used by x-ray, but definitely need the light of @matthewmueller.
Try to omit "tbody" completely, worked for me
yes, I remember a similar problem with table tags
I have the same problem.
You should try looking at the actual source code of the web page, as DevTools will show the proper DOM even if it is "malformed".
Yep, see, no tbody
on the actual source:
This is solved @Kikobeats.
Subject of the issue
Weak selectors issue
Steps to reproduce
run below example
Expected behaviour
Get the link.
Actual behaviour
I got empty object.