def partial_text(element_text): return bys.by_partial_text(element_text)
def test_by_partial_text(): assert by_partial_text("text") == ( "xpath", './/*[text()[contains(normalize-space(.), concat("", "text"))]]')