Company
Date Published
Author
Santiago Suarez OrdoƱez
Word count
465
Language
English
Hacker News points
None

Summary

The Selenium WebDriver provides a native solution to upload files in remote servers, making distributed cross browser testing easier. With Selenium 2, the `setFileDetector` method can be used to let WebDriver know that you're uploading files from your local computer to a remote server, allowing for seamless switching between local and remote drivers without changing test code. This feature is available in all official Selenium 2 bindings, starting from version 2.8.0, and can be used with Java or Ruby-based tests.