Is your feature request related to a problem? Please describe.
Smart selectors do not work when deal with search bar placeholders using text inside the bar as target
Related to https://github.com/getgauge/taiko/issues/1625
So, if you go to https://www.w3schools.com/jsref/tryit.asp?filename=tryjsref_search_placeholder and then run: _write("AAAA", textBox("Filter items"))_ - Taiko won't write into the search bar
Running: _write("AAAA", textBox({placeholder: "Filter items"}))_ - it'll work
_In the best case, the functionality already exists but I'm missing something - if so, I'd appreciate some pointers :)
Describe the solution you'd like
To be able to interact with elements with placeholders visually available
Describe alternatives you've considered
_write("AAAA", textBox("Filter items"))_ should work just like _write("AAAA", textBox({placeholder: "Filter items"}))_
Additional context
This is an example of the kind of input with placeholders:

Lookforward this feature!
@NivedhaSenthil Currently, Taiko works only on _label_ in textBox
placeholder attribute would be present only on _input_ tag. I'm thinking the current function https://github.com/getgauge/taiko/blob/480cb4726d8afa05d235695eed34db7d6b33cdc6/lib/elementWrapper/textBoxWrapper.js#L6
Will check with _label_ and _input_ tag for the given value. Thougts?
Will check with label and input tag for the given value. Thougts?
This makes sense, because the placeholder is mostly used like a label for text fields. In most cases the label is ommitted when there is a placeholder. In case there is a label with the same text Taiko should pick the placeholder.
Thank you @zabil @saikrishna321 - you rock!
Most helpful comment
This makes sense, because the placeholder is mostly used like a label for text fields. In most cases the label is ommitted when there is a placeholder. In case there is a label with the same text Taiko should pick the placeholder.