Using C#, suppose I've declared a web element as follows
[FindsBy(How = How.Id, Using = "foo")]
private IWebElement bar { get; set; }
Is there any way to access this element's locator, "foo" inline using the element?
Something like
string locator = bar.GetTheUsing