Results 1 to 5 of 5

Thread: selenium.chromedriver VBA run time 32

  1. #1

    Thread Starter
    Registered User
    Join Date
    Jun 2022
    Posts
    3

    selenium.chromedriver VBA run time 32

    Hi, I'm very new to selenium.chromedriver. I had this pop out box stated with run time error 32. I really don't know if the code is wrong or a software issue. This basic code is actually looking up for the search box and input the search text which is ABC. I hope I can find someone who can kindly guide me. Your help will be very much appreciated. TQ


    https://ibb.co/sQ4Hdgm
    https://ibb.co/cxQvG81
    https://ibb.co/WK6bTF2

  2. #2
    PowerPoster PlausiblyDamp's Avatar
    Join Date
    Dec 2016
    Location
    Pontypool, Wales
    Posts
    2,474

    Re: selenium.chromedriver VBA run time 32

    Quote Originally Posted by SimonSay View Post
    Hi, I'm very new to selenium.chromedriver. I had this pop out box stated with run time error 32. I really don't know if the code is wrong or a software issue. This basic code is actually looking up for the search box and input the search text which is ABC. I hope I can find someone who can kindly guide me. Your help will be very much appreciated. TQ


    https://ibb.co/sQ4Hdgm
    https://ibb.co/cxQvG81
    https://ibb.co/WK6bTF2
    IIRC Selenium doesn't allow multiple classnames to be used in a single .FindElementByClass - is there a FindElementByCssSelector method?

  3. #3

    Thread Starter
    Registered User
    Join Date
    Jun 2022
    Posts
    3

    Re: selenium.chromedriver VBA run time 32

    Quote Originally Posted by PlausiblyDamp View Post
    IIRC Selenium doesn't allow multiple classnames to be used in a single .FindElementByClass - is there a FindElementByCssSelector method?
    I thank you so much for your response to my issue. Do you mind providing me with an example. Very sorry, I am really very new in selenium. : )

  4. #4
    PowerPoster PlausiblyDamp's Avatar
    Join Date
    Dec 2016
    Location
    Pontypool, Wales
    Posts
    2,474

    Re: selenium.chromedriver VBA run time 32

    Quote Originally Posted by SimonSay View Post
    I thank you so much for your response to my issue. Do you mind providing me with an example. Very sorry, I am really very new in selenium. : )
    If the method I asked about exists then I can give you an example, but you didn't say if it did or didn't exist.

  5. #5

    Thread Starter
    Registered User
    Join Date
    Jun 2022
    Posts
    3

    Re: selenium.chromedriver VBA run time 32

    Quote Originally Posted by PlausiblyDamp View Post
    If the method I asked about exists then I can give you an example, but you didn't say if it did or didn't exist.
    Hi Bro, I had provide you my scripts. I would like to create a input key words in the key in box. Please kindly advice. I only can manage to find FindElementByCss and can't find Cssselector : (

    Sub AlwayUseTheToTest()

    Dim sel As New ChromeDriver

    sel.Start "chrome", "https://www.carousell.sg"
    sel.Get "/"


    sel.FindElementByCss("a.D_hU.D_zm.D_zi").SendKeys "Car"


    End Sub

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