Selenium Webdriver Findsby VB语法

时间:2016-02-29 09:54:30

标签: c# vb.net selenium-webdriver

我有c#语法来查找id:

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

但是什么是VB.NET等价物? Selenium和VB没有太多信息......

干杯!

1 个答案:

答案 0 :(得分:1)

我用它来转换代码:

http://converter.telerik.com/

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

HTH