<?xml version="1.0" encoding="utf-8"?>
<!--  RSS generated by phpcms.cn RSS Builder [2026-05-02 21:45:35]  --> 
<rss version="2.0" xmlns:im="http://purl.org/rss/1.0/item-images/" xmlns:dc="http://purl.org/dc/elements/1.1/" >
<channel>
<pubDate>Sat, 02 May 2026 21:45:35 +0800</pubDate>
<lastBuildDate>Sat, 02 May 2026 21:45:35 +0800</lastBuildDate>
<docs>https://www.zhoulujun.cn</docs>
<description>浏览器内核，方面的介绍</description>
<link>https://www.zhoulujun.cn</link>
<title>Puppeteer</title>
<image>
<title>Puppeteer</title>
<url><![CDATA[]]></url>
<link>https://www.zhoulujun.cn</link>
<description>浏览器内核，方面的介绍</description>
</image>
<webMaster>https://www.zhoulujun.cn</webMaster>
<generator>https://www.zhoulujun.cn</generator>
<ttl>60</ttl>
<dc:creator>https://www.zhoulujun.cn</dc:creator>
<dc:date>Sat, 02 May 2026 21:45:35 +0800</dc:date>
<item>
<title><![CDATA[puppeteer生成pdf文件分页如何优化：css page-break]]></title>
<link><![CDATA[/html/webfront/browser/Puppeteer/9491.html]]></link>
<description><![CDATA[用puppeteer将html文件转成pdf，生成文件分页不尽人意，甚至但直接从一行文本中间分开，如何优化呢？很多时候，我希望分页有我自己的控制，   ]]></description>
<pubDate>2021-09-24 17:20:00</pubDate>
<guid><![CDATA[/html/webfront/browser/Puppeteer/9491.html]]></guid>
<author>https://www.zhoulujun.cn</author>
</item>
<item>
<title><![CDATA[Puppeteer截图/生成PDF乱码：alpine linux中文字体如何解决？]]></title>
<link><![CDATA[/html/webfront/browser/Puppeteer/9457.html]]></link>
<description><![CDATA[Puppeteer在生成PDF与截图的时候，发现中文全身乱码。中文好了，繁体是乱码是因为linux上，默认没有中文字体支持，特别是像alpine这种魔改   ]]></description>
<pubDate>2025-01-26 17:07:19</pubDate>
<guid><![CDATA[/html/webfront/browser/Puppeteer/9457.html]]></guid>
<author>https://www.zhoulujun.cn</author>
</item>
<item>
<title><![CDATA[Puppeteer set LocalStorage/SessionStorage]]></title>
<link><![CDATA[/html/webfront/browser/Puppeteer/9456.html]]></link>
<description><![CDATA[Puppeteer设置cookie 有官方的方法，参考《Puppeteer setCookie设置踩坑》但是，我们现在很多设置在localstorage与sessionstorage里面，   ]]></description>
<pubDate>2025-01-26 16:04:05</pubDate>
<guid><![CDATA[/html/webfront/browser/Puppeteer/9456.html]]></guid>
<author>https://www.zhoulujun.cn</author>
</item>
<item>
<title><![CDATA[Chromium sanbox技术]]></title>
<link><![CDATA[/html/webfront/browser/Puppeteer/9443.html]]></link>
<description><![CDATA[<img src=/uploadfile/images/2025/01/thumb_150_150_20250116172823596060003.png border='0' /><br />浏览器渲染引擎、GPU、PPAPI插件以及语音识别服务等进程是运行在沙箱中的。此外不同系统平台下的部分服务也会受沙箱保护，例如Windows下打印时调用的PDF转换服务、icon浏览服务；MacOS下NaCl loader、需要访问IOSurface的镜像服务等]]></description>
<pubDate>2025-01-16 17:24:10</pubDate>
<guid><![CDATA[/html/webfront/browser/Puppeteer/9443.html]]></guid>
<author>https://www.zhoulujun.cn</author>
</item>
<item>
<title><![CDATA[聊聊Puppeteer launch参数与Chromium启动参数]]></title>
<link><![CDATA[/html/webfront/browser/Puppeteer/9442.html]]></link>
<description><![CDATA[puppeteer launch 参数还蛮多，在linux上调试，最需要注意的是 Chromium启动参数，那就更多了，完全证明明白，估计项目都凉凉了]]></description>
<pubDate>2025-01-16 16:26:33</pubDate>
<guid><![CDATA[/html/webfront/browser/Puppeteer/9442.html]]></guid>
<author>https://www.zhoulujun.cn</author>
</item>
<item>
<title><![CDATA[Puppeteer无法找到Chrome，Alpine版Linux如何安装chrome]]></title>
<link><![CDATA[/html/webfront/browser/Puppeteer/9439.html]]></link>
<description><![CDATA[我希望用Puppeteer来把网页截图为pdf存档，但是在本地调试Puppeteer毫无问题，但是在docker里面，就无法成功，报错！ root  cache puppetee   ]]></description>
<pubDate>2025-01-16 10:53:55</pubDate>
<guid><![CDATA[/html/webfront/browser/Puppeteer/9439.html]]></guid>
<author>https://www.zhoulujun.cn</author>
</item>
<item>
<title><![CDATA[Puppeteer页面请求waitUntil、waitfor、setDefaultTimeout]]></title>
<link><![CDATA[/html/webfront/browser/Puppeteer/9436.html]]></link>
<description><![CDATA[如果同时设置了 setDefaultTimeout 和 setDefaultNavigationTimeout，导航操作会优先使用 setDefaultNavigationTimeout 的值。]]></description>
<pubDate>2025-01-13 12:01:34</pubDate>
<guid><![CDATA[/html/webfront/browser/Puppeteer/9436.html]]></guid>
<author>https://www.zhoulujun.cn</author>
</item>
<item>
<title><![CDATA[Puppeteer跨域策略CSP绕过设置]]></title>
<link><![CDATA[/html/webfront/browser/Puppeteer/9435.html]]></link>
<description><![CDATA[要去抓cookie，那还不如第一种方法模拟登陆好两个域名的网站开启跨域，直接互相调用接口。一个是--disable-web-securit，还有就是调用page setRequestInterception(true);]]></description>
<pubDate>2025-01-13 09:36:16</pubDate>
<guid><![CDATA[/html/webfront/browser/Puppeteer/9435.html]]></guid>
<author>https://www.zhoulujun.cn</author>
</item>
<item>
<title><![CDATA[Puppeteer 调试线上页面：拦截请求替换本地文件debugger]]></title>
<link><![CDATA[/html/webfront/browser/Puppeteer/9433.html]]></link>
<description><![CDATA[由于 Puppeteer 可以在请求发出前进行拦截与替换，所以很方便地在本地开发解决线上Bug以及新需求。这样可以减少无谓的提交同时真实地检验   ]]></description>
<pubDate>2025-01-13 09:56:49</pubDate>
<guid><![CDATA[/html/webfront/browser/Puppeteer/9433.html]]></guid>
<author>https://www.zhoulujun.cn</author>
</item>
<item>
<title><![CDATA[Puppeteer setCookie设置踩坑]]></title>
<link><![CDATA[/html/webfront/browser/Puppeteer/9432.html]]></link>
<description><![CDATA[puppeteer设置cookie，在 page setcookie方法失效，需要在browser设置，但是我发现本地，Browser setCookie() 无法跨域设置cookies，也没法设置 domain 为localhost]]></description>
<pubDate>2025-01-13 09:31:46</pubDate>
<guid><![CDATA[/html/webfront/browser/Puppeteer/9432.html]]></guid>
<author>https://www.zhoulujun.cn</author>
</item>
<item>
<title><![CDATA[Puppeteer远程通过chrome浏览器调试]]></title>
<link><![CDATA[/html/webfront/browser/Puppeteer/9427.html]]></link>
<description><![CDATA[<img src=/uploadfile/images/2025/01/thumb_150_150_20250110154744457059677.png border='0' /><br />Puppeteer 是无头浏览器，但是对于截图合生成pdf等功能而言，我希望查看器页面效果（本地关闭headless即可），如何做？如何在浏览器中运行   ]]></description>
<pubDate>2025-01-10 15:42:06</pubDate>
<guid><![CDATA[/html/webfront/browser/Puppeteer/9427.html]]></guid>
<author>https://www.zhoulujun.cn</author>
</item>
</channel>
</rss>
