MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / ClickFileInput

Method ClickFileInput

dotnet/test/webdriver/UploadTests.cs:74–80  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

72 }
73
74 [Test]
75 public void ClickFileInput()
76 {
77 Driver.Url = Urls.UploadPage;
78 IWebElement element = Driver.FindElement(By.Id("upload"));
79 Assert.That(() => element.Click(), Throws.InstanceOf<WebDriverException>());
80 }
81
82 [Test]
83 public void UploadingWithHiddenFileInput()

Callers

nothing calls this directly

Calls 3

IdMethod · 0.80
FindElementMethod · 0.45
ClickMethod · 0.45

Tested by

no test coverage detected