How do you click on an element which is hidden using Selenium WebDriver?

前端 未结 3 1719
臣服心动
臣服心动 2020-12-15 08:43

I have a web application which I am automating using WebDriver and Python.

The issue is that there is a menu something like this

3条回答
  •  暖寄归人
    2020-12-15 09:33

    If your application uses jQuery you can use it to specify a target element which will simplify your work. E.g.

    $('.targetClass')
    

提交回复
热议问题