Decouple the seleniumrunner from the browser and the xserver.
Attach a file by drag & drop or click to upload