π¨πΌπ»κ°λ°/μ
λ λμ
μ λ λμ - C#, Select Option μ ν
Janger
2022. 10. 26. 17:00
728x90
Install-Package Selenium.Support
// By Text
(new SelectElement(driver.FindElement(By.XPath(""))).SelectByText("");
// By Value
(new SelectElement(driver.FindElement(By.XPath(""))).SelectByValue("");
μΆμ²:
How to select an option from drop down using Selenium WebDriver C#?
I was trying for my web test selecting an option. An example can be found here: http://www.tizag.com/phpT/examples/formex.php Everything works great except the selecting an option part. How to sel...
stackoverflow.com
728x90