Example usage for Java org.openqa.selenium.support.ui Quotes fields, constructors, methods, implement or subclass
The text is from its open source code.
String | escape(String toEscape) Convert strings with both quotes and ticks into a valid xpath component For example, foo will be converted to "foo" , f"oo will be converted to 'f"oo' , foo'"bar will be converted to concat("foo'", '"', "bar") |