Skip to content

Instantly share code, notes, and snippets.

View ildarius's full-sized avatar

ildar khakimov ildarius

View GitHub Profile
@ildarius
ildarius / xpath_examples.md
Last active November 16, 2023 15:46
Примеры xPath
View xpath_examples.md

Ищем по тексту (содержит)

Найди div, a, id итд которые содержат текст

some writing

//*/div[contains(text(),"some writing")]

Ищем по тексту (когда точный текст)

a[normalize-space(text())="ANCHOR TEXT"]

Поиск в родительском ноде

@ildarius
ildarius / selenium-php-webdriver-cheatsheet.md
Last active April 24, 2021 06:39 — forked from aczietlow/selenium-php-webdriver-cheatsheet.md
PHP selenium webdriver CheatSheet (facebook/webdriver).