I'm trying to find elements like this:
<use xlink:href="site.org/path/action#edit"></use>
by a given attribute using this selector:
public static By ElementsSelector { get; set; } = By.CssSelector(@"use[xlink:href='site.org/path/action#edit']");
and I find elements by:
Driver.FindElements(EditProfilePage.ElementsSelector)[0].Click();
but I get an exception:
OpenQA.Selenium.InvalidSelectorException: 'invalid selector: An invalid or illegal selector was specified
(Session info: chrome=78.0.3904.87)'
Question: How can I find elements with a given xlink:href
attribute?