uploadFile
Uploads a file to the Selenium Standalone server or other browser driver
(e.g. Chromedriver) by using the file command.
Note: that this command is only supported if you use a Selenium Hub or
Chromedriver directly.
Usage
browser.uploadFile(localPath)
Parameters
| Name | Type | Details | 
|---|---|---|
| localPath | String | local path to file | 
Example
const path = require('path');
it('should upload a file', function () {
    const filePath = path.join(__dirname, '/local/path/to/your/file');
    const remoteFilePath = browser.uploadFile(filePath);
    $('.upload-data-file-input').setValue(remoteFilePath);
});