levis84
levis84

Reputation: 1054

Selenium Webdriver Findsby VB syntax

I have the c# syntax for finding an id:

[FindsBy(How = How.Id, Using = "email")]
private IWebElement emailAddressTextField;

But what is the VB.NET equivalent? There is not much information with Selenium and VB...

Cheers!

Upvotes: 0

Views: 165

Answers (1)

Nebrot
Nebrot

Reputation: 26

I used this to convert the code:

http://converter.telerik.com/

<FindsBy(How := How.Id, [Using] := "email")> _
Private emailAddressTextField As IWebElement

HTH

Upvotes: 1

Related Questions