Handling Windows filechooser dialog with Selenium

38 Views Asked by At

I am wondering if there are any Selenium users who have to deal with things like the Windows File Chooser Dialog, which Selenium can't handle (and for which sendKeys() to the input box will not work)? How do you handle the file chooser? I have had some success eith WinAppDriver but it also causes a lot of problems with setup and building and conflicts.

In many cases we can do something like fileInput.sendKeys("filename.txt") but in this case it doesn't work and still opens a windows file dialog.

I would like to hear some options for handling these cases with Selenium (and anything else needed)? Especially with Java.

0

There are 0 best solutions below