I'm currently developing a Selenium-Java based application and have to pass some media files, audio or video files to the browser.
I've been able to do it successfully on Chrome using the below code snippet:
DesiredCapabilities capabilities = DesiredCapabilities.chrome();
ChromeOptions options = new ChromeOptions();
ChromeDriver driver = new ChromeDriver(capabilities);
Do you think there are similar options available in Firefox 33.1 to achieve the same capability?
If not so, how can it be done?
Thanks in advance:)