-
-
Notifications
You must be signed in to change notification settings - Fork 303
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Element selector returning empty value #194
Comments
Hey, thanks for the report! |
Yeah, I had been using latest master ones -- looks like it's 0.5.0. |
@ap0 you can find the version just by typing |
@ap0 can't reproduce the bug.
where |
I'm running it embedded in an app, don't know if that makes a difference:
Output:
|
@ap0 I have managed to reproduce it. |
It was a side effect of a big refactoring :( |
Now it should work. |
Thanks! |
* Fixes * Fixed path to HTMLElement.value
Describe the bug
After updating ferret to the latest version, my scraper code no longer works. Both ELEMENTS and ELEMENT are returning an empty result. Reverting to a previous revision I was using (
b3e0a68cd06e4ff577e0dc750aa73533b778ae74
) still works.To Reproduce
Using this sample HTML (extracted from the page that's causing issues): https://gist.github.com/ap0/67f6549afb8ac6cc2c4989525750808b
If I run this code:
... using an old revision (b3e0a68), I get the expected output:
But if I use the latest version, I get this:
However, if I call
ELEMENTS_COUNT(mlswebsite, '#listings_table > tbody > tr')
, I get the expected element count of 40.Expected behavior
Expected to see the IDs in the first array (as shown above)
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: