How to write XPath expression for @input
. I'm trying this
expression:
//input[@input='onSearchInput'].
This expression not found.
HTML input tag:
<input type="text" class="input" @input="onSearchInput" placeholder="Word search" style="">
CodePudding user response:
Your markup is not well-formed due to the @
character in @input
. Remove the @
character if you want to use XML-based tools such as XPath.