Hi,
I need help, Please.
I want to click on the blue button in a Modal Window
The button is a dynamic object, its xpath is like:
//[@id=“modal_565981”]/div/div[1]/div[2]/a
the number 565981 change.
So I use this xpath:
(//[contains(@id,‘modal_’)]/div/div[1]/div[2]/a)[1]
But I got this error:
Unable to click on object ‘Object Repository/…/Valider_modal’ (Root cause: org.openqa.selenium.ElementNotVisibleException: element not visible
Please help I’m dealing with the same type issue, "Element not Visible’ error and very frustrated:
I want to select the checkbox that is called ‘VA’ on the webpage and the object’s Xpath is :
//input[@id=‘geography-states-VA’]
And here is the elment’s attributes when I inspect on the UI: