Consulting

Results 1 to 3 of 3

Thread: Selenium Wrapper VBA Help

  1. #1
    VBAX Newbie
    Joined
    Sep 2015
    Posts
    2
    Location

    Selenium Wrapper VBA Help

    Which part of this element could I use to select it using a web driver?

    I'm using Selenium Wrapper to use it in VBA but I can't seem to get the correct syntax to select it.



    <input value="Export Details" class="btn" name="csvsetup" title="Export Details" type="submit">


    something like

    SeleniumWrapper.WebDriver.FindElementBy*SOMETHING* ("csvsetup") or ("btn") or ("Export Details")

    I just can't figure out what to do. All I want is it to click that darn button.

  2. #2
    you can use the
    Name
    Class
    title
    as attributes.

    these all correspond to SUBMIT button in your desired webpage.

  3. #3
    You can use Name like that
    bot.FindElementByName("csvsetup").Click

Posting Permissions

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