PDA

View Full Version : Selenium Wrapper VBA Help



Benzula
09-09-2015, 07:33 PM
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.

silverfang
05-05-2020, 12:05 AM
you can use the
Name
Class
title
as attributes.

these all correspond to SUBMIT button in your desired webpage.

YasserKhalil
05-05-2020, 12:37 AM
You can use Name like that

bot.FindElementByName("csvsetup").Click