getting cannot focus element in chrome and edge using java/selenium

后端 未结 7 2240
南笙
南笙 2020-12-06 05:26

I am getting a cannot focus element error when running my test in chrome and edge in FF it works fine. I have tried posted resolutions but to no avail. I am not sure wha

7条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-06 06:05

    May be the Xpath you have set is not up to that element level. E.g. if a text box is traversing through Div\div\textarea then most probably, you are taking only Div\ part. I had the same problem and it got resolved after writing xpath upto textarea node.

提交回复
热议问题