Searched refs:XPathEscaper (Results 1 – 4 of 4) sorted by relevance
8 use Facebook\WebDriver\Support\XPathEscaper; alias148 XPathEscaper::escapeQuotes($text)156 $idFilter = sprintf('@for = %s', XPathEscaper::escapeQuotes($id));195 … $valueSelector = $value ? sprintf(' and @value = %s', XPathEscaper::escapeQuotes($value)) : '';203 … sprintf('.//input[@name = %s%s]', XPathEscaper::escapeQuotes($this->name), $valueSelector)214 XPathEscaper::escapeQuotes($formId),215 XPathEscaper::escapeQuotes($this->name),
8 use Facebook\WebDriver\Support\XPathEscaper; alias85 $xpath = './/option[@value = ' . XPathEscaper::escapeQuotes($value) . ']';106 $xpath = './/option[normalize-space(.) = ' . XPathEscaper::escapeQuotes($text) . ']';141 … $xpath = './/option[contains(normalize-space(.), ' . XPathEscaper::escapeQuotes($text) . ')]';191 $xpath = './/option[@value = ' . XPathEscaper::escapeQuotes($value) . ']';204 $xpath = './/option[normalize-space(.) = ' . XPathEscaper::escapeQuotes($text) . ']';217 … $xpath = './/option[contains(normalize-space(.), ' . XPathEscaper::escapeQuotes($text) . ')]';
5 class XPathEscaper class
173 - `XPathEscaper` helper class to quote XPaths containing both single and double quotes.