Results 1 to 3 of 3

Thread: [RESOLVED] selenium vba runtime-error 438

  1. #1

    Thread Starter
    New Member
    Join Date
    Dec 2016

    Resolved [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"
    End Sub



    Name:  vvvv.jpg
Views: 849
Size:  56.8 KB
    Last edited by Lady Jane; May 24th, 2017 at 07:31 PM.

  2. #2
    Super Moderator Siddharth Rout's Avatar
    Join Date
    Feb 2005
    Mumbai, India

    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

    Name:  Capture.jpg
Views: 643
Size:  10.1 KB
    A good exercise for the Heart is to bend down and help another up...
    Please Mark your Thread "Resolved", if the query is solved

    Microsoft MVP: 2011 - 2015 IMP Links : Acceptable Use Policy, FAQ
    OMEN by HP - 15-ce073tx with Win10+Office 2013. || Mac Book Pro (10.6.8) with Office 2011

  3. #3

    Thread Starter
    New Member
    Join Date
    Dec 2016

    Re: selenium vba runtime-error 438

    wow thank you very much
    I admired your knowledge.
    My curiosity has been resolved.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts


Click Here to Expand Forum to Full Width