maybe jdenen/watir-ng | | | | | | |
| | | | jdenen/watir-ng watir-ng - Identify watir-webdriver elements with ng directives | | | | × ----- Forwarded Message ----- From: Raymond Raymundo <raymond.raymu...@devex.com> To: Watir General <watir-general@googlegroups.com> Sent: Tuesday, 10 October 2017, 21:14 Subject: [wtr-general] Re: Uploading file to a readonly field We just removed the readonly attribute from the html, but file_field doesn't since the file upload field has an attribute type='text'. FYI we are using angularjs ng-file-upload, so is there anyway to upload a file without using file_field? On Wednesday, October 11, 2017 at 1:10:09 AM UTC+8, Raymond Raymundo wrote: So i'm trying to upload a file to a field that is set to readonly $browser.text_field(id: 'inputResume').set($cv_path.to _s) And I get error Watir::Exception::ObjectReadO nlyException (Watir::Exception::ObjectReadO nlyException) Is there a way around this? -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com --- You received this message because you are subscribed to the Google Groups "Watir General" group. To unsubscribe from this group and stop receiving emails from it, send an email to watir-general+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com --- You received this message because you are subscribed to the Google Groups "Watir General" group. To unsubscribe from this group and stop receiving emails from it, send an email to watir-general+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.