3

Chrome .NET で Selenium WebDriver を使用してファイルをアップロードする方法

バージョン Chrome (20.0.1132.57)。バージョン chromedriver 22.0.1203.0b

コード:

driver.GetElement(someXpath).SendKeys(filePath)

例外をスローします:

Element is not clickable at point (144, 90.5). Other element would receive the click: <h2>...</h2>

HTML コード:

<a class="button addfile"> Upload <input class="fileupload" type="file" multiple="" name="files[]"/> </a>
4

1 に答える 1