Closed danisty closed 8 months ago
Would you be open to add some tests that on the one hand make sure it is working as expect and on the other hand show case the expected behavior?
I'm unsure if that's a correct format for a test, I'd appreciate any correction. I've ran the tests locally and, with the changes made in this pr, they all pass.
About the changes, as of right now, if you get the children of an element the relaxed
property will be false for all children, even if the Document is relaxed. With the changes, the relaxed
property is passed down to the children of the element.
This also applies for siblings
, allElements
and parents
.
Fixes https://github.com/skrapeit/skrape.it/issues/223