How to write XPath expression with @attribute

Viewed 57

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="">
1 Answers
Related