Home
last modified time | relevance | path

Searched refs:xpathToEscape (Results 1 – 1 of 1) sorted by relevance

/plugin/combo/vendor/php-webdriver/webdriver/lib/Support/
DXPathEscaper.php11 * @param string $xpathToEscape The xpath to be converted.
14 public static function escapeQuotes($xpathToEscape) argument
17 if (mb_strpos($xpathToEscape, "'") === false) {
18 return sprintf("'%s'", $xpathToEscape);
22 if (mb_strpos($xpathToEscape, '"') === false) {
23 return sprintf('"%s"', $xpathToEscape);
29 str_replace("'", "', \"'\" ,'", $xpathToEscape)