I'm trying to click a button using a VBA Chrome driver via Selenium but I get an ElementNotVisibleError
The HTML code for the button is -
<button class="base-button" id="primary-button" classnames="primary-button" title="Continue">Continue</button>
I've tried to check the element exists and VBA returns TRUE for the following -
MyBrowser.IsElementPresent(Findby.ID("primary-button"))
but when I try to click the button using the following code, i get the error -
MyBrowser.FindElementById("primary-button").Click
IsElementPresentis not the same asIsElementVisible. Have you tried the latter? Further, i assume the element IS actually visible in the browser, to yourself?