I have a form, where <input type="file">
is invisible but there is a visible "Browse" button. I can't find element of file and update its value via sendKeys("filename").
I can use selenium to click "Browse" button and it will open a file dialog. How can I select a file in this open file dialog and close current dialog window?
Python 3.6 Selenium 3.0 Firefox webdriver Mac OS.