One particularly nasty <input> node $i, on a webpage I am trying to automate, accepts the necessary value sent via WWW::Mechanize::Firefox,
but when a button, invoking the action in which the above input is needed, is clicked, the webpage complains that no value was entered.$i->{value}='xyz';
Apparently, some internal JS-script does not give its approval on the value, and the page isn't modified accordingly. I tried to imitate this, prior-to-clicking, modification, but didn't succeed in that either.
When I submit the value manually, the page is modified as it should (surprise, surprise), whenever the value is assigned after hitting the EnterKey. So my question is whether it is possible to imitate hitting the EnterKey, or any other important events (apart from realized onClick) in WWW::Mechanize::Firefox? Any input will be greatly appreciated.
In reply to W-M-F and event.keyCode===keys.ENTER by pghilb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |