" OpenQA.Selenium.ElementNotVisibleException:元素不可见",在C#中

时间:2018-04-10 20:45:57

标签: c# selenium-webdriver

请帮我解决问题:"等待"不起作用20秒或30 ......,测试成功运行,但运行失败"调试测试"。 代码复制如下:

def PreSerializer(request, *args):
    person = args[0]
    if person == "david":
        ...

==========================

[FindsBy(How = How.XPath, Using = "/html/body/form/div[12]/div[1]/div[1]..../ul/li/a")]
private OpenQA.Selenium.IWebElement NewMRLink;

//..........
Pages.WaitForElementVisible(Browser.driver, CreateR);
CreateR.Click();   

===================

0 个答案:

没有答案