在C#中使用Selenium的XPath定位器,可以使用contains函数来定位包含部分文本的元素。下面是一个示例代码: IWebElement element = driver.FindElement(By.
確定! 回上一頁