pyquery
pyquery copied to clipboard
xpath_contains_function behaves differently from jQuery
Hi @gawel,
xpath.add_post_condition("contains(text(), '%s')" % value) in here
, does not match the children's text.
A possible fix comes from Is there a way to get all the children's text in xpath -
contains(normalize-space(), '%s')
Thanks,
Unfortunatly this break some tests