-1
我想單擊一個文本,狂喜的東西。Selenium點擊LinkText
IList<IWebElement> links = driver.FindElements(By.LinkText("Reveal"));
我試試這個
foreach (IWebElement linkz in links)
{
//actions.MoveToElement(linkz).Click().Perform();
linkz.Click();
Thread.Sleep(5000);
}
,我得到
Unhandled Exception: System.InvalidOperationException: unknown error: Element is not clickable at point (518, 658). Other element would receive the click: <center>...</center>