Results 1 to 3 of 3

Thread: [RESOLVED] selenium vba runtime-error 438

  1. #1

    Thread Starter
    New Member
    Join Date
    Dec 2016
    Posts
    5

    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"
    driver.Quit
    driver.Close
    End Sub


    https://i.stack.imgur.com/H1z4f.jpg

    https://github.com/danwagnerco/selenium-vba/issues/68

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

  2. #2
    Discovering Life Siddharth Rout's Avatar
    Join Date
    Feb 2005
    Location
    Mumbai, India
    Posts
    12,001

    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: 1943
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


    MyGear:
    ★ CPU ★ Ryzen 5 5800X
    ★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
    ★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
    ★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
    ★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
    ★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
    ★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
    ★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
    ★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
    ★ Keyboard ★ TVS Electronics Gold Keyboard
    ★ Mouse ★ Logitech G502 Hero

  3. #3

    Thread Starter
    New Member
    Join Date
    Dec 2016
    Posts
    5

    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