“Element is not currently visible and so may not be interacted with” but another is?

前端 未结 5 1501
予麋鹿
予麋鹿 2020-12-16 04:01

I\'ve created another question which I think is the cause for this error: Why does the Selenium Firefox Driver consider my modal not displayed when the parent has overflow:h

5条回答
  •  伪装坚强ぢ
    2020-12-16 05:01

    After discussing this with you in chat, I think the best solution (for now, at least) is to move the button out of the footer for your modal and into the body of it.

    This is what you want (for now):

    
    

    And not this:

    
    
    
    

提交回复
热议问题