I'm trying to locate an element with Selenium. But it gives an error saying:
Unable to locate an element with the xpath expression //li[normalize-space()='Don't check credit card BINs'] because of the following error:
SyntaxError: Failed to execute 'evaluate' on 'Document': The string '//li[normalize-space()='Don't check credit card BINs']' is not a valid XPath expression.
I've tried searching the element by inspect and indeed the element cannot be read/found. Is there a special way on writing code for Can't word? Because I suspect that ' symbol cannot be located by selenium.
Here is the dropdown menu that I want to locate (the Don't check credit card BINs menu):

As you can see above, that the specific text is not found by xpath.
