Today one colleague asked me one question. If he entered the value in the textbox, how to get that value from textbox in C# and Selenium ?
It is simple. You can use GetAttribute("value") to achieve your goal.
public string GetTextBoxValue(IWebElement textBoxElement)
{
return textBoxElement.GetAttribute("value");
}
1 comment:
Borgata Hotel Casino & Spa - MapYRO
Discover and compare Borgata Hotel Casino & Spa, Atlantic City, 서울특별 출장마사지 NJ. See 청주 출장안마 13 traveler reviews, 태백 출장샵 14 광양 출장마사지 photos and 남원 출장마사지 blog posts. Rating: 3.6 · 13 reviews
Post a Comment