Home >Web Front-end >HTML Tutorial >phantomjs iframe 访问元素_html/css_WEB-ITnose

phantomjs iframe 访问元素_html/css_WEB-ITnose

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-21 08:59:121562browse

执行参数:phantomjs --web-security=no xxx.jsvar content = page.evaluate(function() {    return $("iframe:first").contents().find("#ptlogin_iframe").contents().find("#switcher_plogin").html();});


Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn