Can anyone help with the following errors I'm getting when I try to upload a local file in a web app please?
If I use the 'send keys' command I get this error -
"Failed to set the 'value' property on 'HTMLInputElement'. This input element accepts a filename, which may only be programmatically set to the empty string."
If I use the 'type' command I get this error -
"Unable to upload files due to cross origin frames in the page"
I know this is possible because I had it working in a previous environment (which has since been deleted). I thought I might just need to add a 'select frame' beforehand, but the 'type' command just hangs when I do that.
I have the 'Allow access to file URLs' option in the Selenium extension enabled.
Any help appreciated!! Thanks.


Report
All responses (
Answers (