Subject: | After ->get_set_value the $mech object blows up on next call to ->current_form->get_text |
Hi Max, I'd like to ask for some guidance once again and hope you can provide some.
In my commit https://github.com/andk/WWW-Mechanize-Chrome/commit/52fe3007336b56604366d8a903bac8e1d1669fa7 I have added tests to t/50-form2.t that illustrate what the subject line says.
When I run 50-form2.t after this commit, it consistently dies after "ok 13 - The objectId still matches /injectedScriptId/". The diagnostics that follow say:
: Could not find node with given id
:
: -32000 at /home/andk/src/WWW-Mechanize-Chrome/blib/lib/Chrome/DevToolsProtocol.pm line 302
: # Looks like you planned 22 tests but ran 13.
: Dubious, test returned 255 (wstat 65280, 0xff00)
: Failed 9/22 subtests
When I trace the program I stumble over an 'Ignored message' that is about 'method' => 'DOM.attributeModified' which may or may not be a hint that on_response is required to do something when the message arrives.
Do you have a suggestion what to try to get this internal state adjusted?