私はC#OpenQA.Selenium.Support.PageObjects
とOpenQA.Selenium
.
ページモデルで、入力マスクのあるテキストボックスにメールを入力してみました。
[FindsBy(How = How.Id, Using = "Email")]
private IWebElement _txtEmail;
public string Email
{
set
{
_txtEmail.SendKeys(value);
}
}
その後、SendKey の後、このスクリーンショットのようなものが得られました。
定型入力がある場合の SendKeys の正しい方法は何ですか?