Fixes issue with local files for the web element