Пример #1
0
def text(element_text):
    return bys.by_text(element_text)
Пример #2
0
def test_by_text():
    assert by_text("test") == (
        "xpath", './/*[text()[normalize-space(.) = concat("", "test")]]')