Quantcast
Channel: Active questions tagged excel - Stack Overflow
Viewing all articles
Browse latest Browse all 88081

Element not interactable with Selenium Excel VBA when using SendKeys

$
0
0

I am trying to login a site and I am using FindElementById. In the following code the first part of using SendKeys working well while when trying to use the same technique for the password field, I got error message which tells me that the element is not interactable

Sub Test()
Dim bot As New WebDriver

With bot
    .AddArgument "--disable-notifications"
    .Start "Chrome", "https://www.excelforum.com/excel-programming-vba-macros/"
    .Get "/"

    .FindElementById("navbar_username").SendKeys "username"
    .FindElementById("navbar_password").SendKeys "password"'.FindElementByName("vb_login_password").SendKeys "password"
    Stop
End With
End Sub

Thanks advanced for help


Viewing all articles
Browse latest Browse all 88081

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>