简体   繁体   中英

How to select from a dropdown with Selenium WebDriver 3.8 for C#

I'm trying to select a value from a dropdown select item with Selenium. However, I cannot find the Select or SelectElement objects within 'OpenQA.Selenium.Support.UI' in C#?

Has this functionality been removed?

Is there an alternate way to select an option from the select element on a webpage?

通过安装Selenium.Support(版本3.8.0)NuGet软件包,可以使用SelectElement。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM