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?
CodePudding user response:
You can write the xpath
for that like from you screenshot:
//input[@type='text']
You can learn more about xpath
from here