http://qs321.pair.com?node_id=11116743

1nelly1 has asked for the wisdom of the Perl Monks concerning the following question:

Hello,
I installed WWW::Mechanize::Chrome on Windows with Strawberry Perl. Just for your information, I had to force installation of Log::Log4perl as already discussed here.
According to the author the method saveResources_future is a rough prototype. However for my purpose it is already working fine. But I can't get the method to save the files in the intended directory which I pass to the method via target_dir option. The files are always saved in the current working directory. The target_file option works well. Is this my fault or because the method is still a prototype? I would just like to save the files somewehere else no matter where the target_file is stored and what their relation is to the target_file.

Another problem I faced is that the tab=>'current' option is not working. If Chrome is still open then I get the error message 'error when connectingInternal Exception' at line 993 in Chrome.pm. I just realized that when using $mech->get there seem to be started two instances of Chrome at once. One with 'about:blank' and the other with the desired page. If I have Chrome already open before start of WWW::Mechanize::Firefox then those 'about:blank' pages are added to the first instance. tab=>'current' might not work because it might refer to the second instance. And at the end WWW:Mechanize:Chrome tries to close the first instance but is not successful when there are more tabs already open. Then there seems to be the error message 'Couldn't kill browser child 4360 with SIGKILL: Invalid argument' at line 1740 in Chrome.pm.
Best regards
1nelly1