Issue
I have a question. I am trying to access a search field with Selenium, but this has no name and no ID in the html code. Does anyone know how I can get the search field so that I can write something in it with selenium?
Solution
You can write the xpath
for that like from you screenshot:
//input[@type='text']
You can learn more about xpath
from here
Answered By - Akzy
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.