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

phantomjs iframe 访问元素_html/css_WEB-ITnose

WBOY
Release: 2016-06-21 08:59:12
Original
1512 people have browsed it

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


Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template