Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/javascript/448.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript WWW::Mechanize::Firefox打开url错误_Javascript_Jquery_Ajax_Perl - Fatal编程技术网

Javascript WWW::Mechanize::Firefox打开url错误

Javascript WWW::Mechanize::Firefox打开url错误,javascript,jquery,ajax,perl,Javascript,Jquery,Ajax,Perl,我在perl中使用WWW::Mechanize::Firefox来自动化一个过程。我可以通过提供所需字段并发布到URL来轻松登录 URL:hxxp://www.somesite.com/login-link.php 成功登录后,上述URL将发生更改 hxxp://www.somesite.com/app/default.php 当我关注任何链接时,URL都不会改变,但content div会改变。当您直接在浏览器上打开链接时hxxp://www.somesite.com/app/profile

我在perl中使用WWW::Mechanize::Firefox来自动化一个过程。我可以通过提供所需字段并发布到URL来轻松登录

URL:
hxxp://www.somesite.com/login-link.php

成功登录后,上述URL将发生更改

hxxp://www.somesite.com/app/default.php
当我关注任何链接时,URL都不会改变,但content div会改变。当您直接在浏览器上打开链接时hxxp://www.somesite.com/app/profile.php?id=3 它不会加载父div/frame,而父div/frame是hxxp://www.somesite.com/app/default.php.


我的问题是,是否可以在维护/保留父分区的同时获取($url2)。

修复了任何感兴趣的人的问题。我使用EVAL函数实现了这一点