WebDriver / gets stuck on opening file download window
I am using my WebDriver with FireFox.
I have an element: // input [@ class = "uploadFiles"], when I click on it: driver.findElement (By.xpath ("// input [@ class =" uploadFiles "]")) the upload window opens file (Windows OS window), but the test doesn't continue until the next line, and get stuck.
Any help?
+3
source to share
4 answers
Webdriver does not interact with os level dialogs and that reason does not continue until next line. Does something help you here: http://code.google.com/p/selenium/wiki/FrequentlyAskedQuestions#Q:_Does_WebDriver_support_file_uploads ?
+2
source to share