Unable to capture "Choose File" as button object

Thank you for updates.

FirefoxOutput.txt contained an interesting message:

Caused by: org.openqa.selenium.InvalidArgumentException: 
    Cannot click <input type=file> elements

I googled with this message as key. I found an issue in StackOverflow.

The W3C WebDriver Specification, in its description of the Element Click algorithm in Section 14.1, step 3 states: “If the element is an input element in the file upload state1 return error with error code invalid argument.”

When the Chromium team completes spec-compliance for chromedriver, it will behave as geckodriver, IEDriverServer.exe, the current preview version of Microsoft’s driver implementation for Edge, and Apple’s just released driver implementation for Safari 12 all behave.

To successfully upload files using WebDriver, you should use the sendKeys method with the full path to the file you want to upload.