1 Attachment(s)
[RESOLVED] selenium vba runtime-error 438
I am learning selenium vba
The below code occurred runtime-error 438
I want to use "Hidecommandpromptwindow" property in selenium vba
How can i use it ?
Have a nice day !!
driver.HideCommandPromptWindow = True runtime error 438 object doesn't support this property or method
Sub abc()
Dim driver As New SeleniumWrapper.WebDriver
driver.HideCommandPromptWindow = True
driver.Start "chrome", "https://www.google.com"
driver.Quit
driver.Close
End Sub
https://i.stack.imgur.com/H1z4f.jpg
https://github.com/danwagnerco/selenium-vba/issues/68
Attachment 147965
1 Attachment(s)
Re: selenium vba runtime-error 438
The .HideCommandPromptWindow property was available from version 1.0.18
You are getting that error because you are using an old version of the wrapper. My guess is that you are using version 1.0.17.
Please download the latest version from the below link and try again. I tried with version 1.0.17 and I got the error but when I installed the version 1.0.18, it worked just fine as shown in the screenshot below.
Selenium Wrapper Setup File
Hope it helps :)
Attachment 147979
Re: selenium vba runtime-error 438
wow thank you very much :)
I admired your knowledge.
My curiosity has been resolved.:wave: