def text(element_text): return bys.by_text(element_text)
def test_by_text(): assert by_text("test") == ( "xpath", './/*[text()[normalize-space(.) = concat("", "test")]]')