Writing a script in vba using selenium for the purpose of switching iframe when I run it, I get an error: object doesn\'t support this property. How can I do it if I take the be
According to the suggestion given by @Mathieu Guindon, the solution should be like below (working one).
Sub HandleIframe()
With New ChromeDriver
.get "http://hcad.org/quick-search/"
.SwitchToFrame .FindElementByTag("iframe", timeout:=10000)
.FindElementById("acct").SendKeys "8227"
.FindElementByCss("input[value='Search']").Click
End With
End Sub