The type or namespace SelectElement could not be found in selenium c#

后端 未结 5 570
没有蜡笔的小新
没有蜡笔的小新 2020-12-07 01:19
driver.FindElement(By.Id(\"inputUsername\")).SendKeys(\"aca\");
driver.FindElement(By.Id(\"inputPassword\")).SendKeys(\"123\");
driver.FindElement(By.TagName(\"butto         


        
5条回答
  •  既然无缘
    2020-12-07 01:56

    First of all, You need to install the proper package from NuGet which is Selenium.Support

    Correct using statements is as:

    using OpenQA.Selenium.Support.UI;

提交回复
热议问题