How to select value from the auto suggestion text box?

后端 未结 4 1122
刺人心
刺人心 2021-01-29 11:12

From text boxI have tried many methods to find out the solution but I failed, So please help me regarding this Query

Website:- https://www.goibibo.com/

Inside th

4条回答
  •  生来不讨喜
    2021-01-29 11:49

    If you need XPath for first autosuggest option, try

    //ul[@id='react-autosuggest-1']/li[@id='react-autosuggest-1-suggestion--0']
    

    You can replace 0 with1 to get second option, 2 - for third option, etc

提交回复
热议问题