I am learning Selenium VBA. I want to use HideCommandPromptwindow in Selenium VBA.
The code bellow returns runtime-error 438 error.
HideCommandPromptWindow example:
Attached print-screen source: https://github.com/danwagnerco/selenium-vba/issues/68.
My code:
Sub abc()
Dim driver As New SeleniumWrapper.WebDriver
driver.HideCommandPromptWindow = True
driver.Start "chrome", "https://www.google.com"
driver.Quit
driver.Close
End Sub
Error:
For driver.HideCommandPromptWindow = TrueI'm prompted with runtime error 438 object doesn't support this property or method.
How can I use it? Have a nice day!

SeleniumWrapperdoesn't have aHideCommandPromptWindowmethod, or the VBA run-time would have found it. Re-type the dot; is there aHideCommandPromptWindowmember in the list? If not, you need to use something that's there. If yes, then the API isn't raising standard errors, or is twisting their meaning and in that case I'd refer to the API's documentation.. what does it say aboutHideCommandPromptWindow?