V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
Reign
V2EX  ›  程序员

有没有什么 headless 浏览器支持 reactjs?

  •  
  •   Reign · Apr 8, 2017 · 2600 views
    This topic created in 3308 days ago, the information mentioned may be changed or developed.

    目前用 phantomjs 抓取一个网站,这个网站完全用 reactjs 写的, phantomjs 完全不支持这么高版本的 js ,直接抛出错误,所以有没有什么好一点的 headless 浏览器能支持 reactjs ,或者说内核是最新版本的 chromium 内核?

    7 replies    2017-04-09 08:21:58 +08:00
    shyling
        2
    shyling  
       Apr 8, 2017
    没有,但你可以直接用 chrome ...
    manhere
        3
    manhere  
       Apr 8, 2017
    试试 CFE3 ?
    manhere
        4
    manhere  
       Apr 8, 2017
    手误 CEF3
    murmur
        5
    murmur  
       Apr 8, 2017
    phantom 至少 es5 是完全支持 promise 貌似不支持 需要 polyfill 一下 自己先注入一个 polyfill 再跑
    coolzjy
        6
    coolzjy  
       Apr 8, 2017 via iPhone
    需要注入一个 function bind
    Reign
        7
    Reign  
    OP
       Apr 9, 2017
    @coolzjy 能详细点吗,谢谢
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3452 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 47ms · UTC 04:23 · PVG 12:23 · LAX 21:23 · JFK 00:23
    ♥ Do have faith in what you're doing.