我有这个问题与硒; 我找不到我的textinput:它总是引发这个例子:
Element is not currently interactable and may not be manipulated
Run Code Online (Sandbox Code Playgroud)
在这一行:
Driver.FindElement(By.Id("ctl00")).Clear();
Run Code Online (Sandbox Code Playgroud)
我试着像这样等待:
Waiting.Until(driver =>(By.Id("ctl00")));
Run Code Online (Sandbox Code Playgroud)
和
Waiting.Until(ExpectedConditions.ElementExists(By.Id("ctl00")));
Run Code Online (Sandbox Code Playgroud)
但没有运气.
selenium ×1