selenium webdriver - Element is not currently visible and so may not be interacted with Command duration or timeout -


I'm not able to click on the button, I'm getting the error, the element is not visible and I have a xpath < / P>

  driver.findElement (By.xpath ("// type [@ type = 'submit'] [@ name = 'btn_disk']")). Click ();  

but not working

   

Your element does not appear on Selenium click Can be unable to.

Are you sure the element is visible? According to Selenium, an element is visible if:

  • Visibility! = Hidden

  • Display! = Anyone (even the original element is tested against each)

  • Opacity! = 0 (It is not checked to click on an element)

  • Both height and width> 0

  • One For input, type of attribute! = Hidden

See for more information.


Comments