selenium webdriver: org.openqa.selenium.ElementNotVisibleException: Element is not currently visible and so may not be interacted with

前端 未结 4 1125
名媛妹妹
名媛妹妹 2020-12-19 05:40

I am trying to click on the span with the text- clone concept. Following is the html

4条回答
  •  难免孤独
    2020-12-19 05:55

    The problem is in your xpath. selenium webdriver is finding a duplicate element by your xpath in screen which is hidden and tring to perform operation on it. Please change the xpath and it will work. I did the same thing in my code..

提交回复
热议问题