{"id":34144,"date":"2025-04-29T07:35:59","date_gmt":"2025-04-28T23:35:59","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/34144.html"},"modified":"2025-04-29T07:35:59","modified_gmt":"2025-04-28T23:35:59","slug":"%e7%94%a8-puppeteer-%e6%90%ad%e5%bb%ba-mcp-%e6%9c%8d%e5%8a%a1%e5%99%a8%ef%bc%9a%e5%8a%9f%e8%83%bd%e8%af%a6%e8%a7%a3%e4%b8%8e-npx-%e5%90%af%e5%8a%a8%e5%85%a8%e6%94%bb%e7%95%a5","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/34144.html","title":{"rendered":"\u7528 Puppeteer \u642d\u5efa MCP \u670d\u52a1\u5668\uff1a\u529f\u80fd\u8be6\u89e3\u4e0e npx \u542f\u52a8\u5168\u653b\u7565"},"content":{"rendered":"<p>\u5728\u6d4f\u89c8\u5668\u81ea\u52a8\u5316\u9886\u57df&#xff0c;Puppeteer \u51ed\u501f\u5176\u5f3a\u5927\u7684 API \u548c\u7075\u6d3b\u7684\u914d\u7f6e\u80fd\u529b&#xff0c;\u6210\u4e3a\u5f00\u53d1\u8005\u5b9e\u73b0\u7f51\u9875\u4ea4\u4e92\u3001\u622a\u56fe\u3001\u811a\u672c\u6267\u884c\u7684\u9996\u9009\u5de5\u5177\u3002\u672c\u6587\u5c06\u5728\u8be6\u7ec6\u4ecb\u7ecd Puppeteer MCP \u670d\u52a1\u5668\u6838\u5fc3\u529f\u80fd\u7684\u57fa\u7840\u4e0a&#xff0c;\u91cd\u70b9\u89e3\u6790\u5982\u4f55\u901a\u8fc7npx \u5feb\u901f\u542f\u52a8&#xff0c;\u8ba9\u672c\u5730\u5f00\u53d1\u4e0e\u8c03\u8bd5\u66f4\u52a0\u4fbf\u6377\u9ad8\u6548\u3002<\/p>\n<h3>\u4e00\u3001\u6838\u5fc3\u529f\u80fd&#xff1a;\u6253\u9020\u5168\u573a\u666f\u6d4f\u89c8\u5668\u81ea\u52a8\u5316\u5de5\u5177\u7bb1<\/h3>\n<p>\u5728\u6df1\u5165\u542f\u52a8\u914d\u7f6e\u524d&#xff0c;\u6211\u4eec\u5148\u68b3\u7406 Puppeteer MCP \u670d\u52a1\u5668\u63d0\u4f9b\u7684\u6838\u5fc3\u80fd\u529b&#xff0c;\u8fd9\u4e9b\u529f\u80fd\u8986\u76d6\u4e86\u4ece\u57fa\u7840\u5bfc\u822a\u5230\u590d\u6742\u811a\u672c\u6267\u884c\u7684\u5168\u6d41\u7a0b\u64cd\u4f5c\u3002<\/p>\n<h4>1. \u7f51\u9875\u64cd\u4f5c\u5de5\u5177\u96c6<\/h4>\n<ul>\n<li>\n<p>puppeteer_navigate&#xff1a;\u6838\u5fc3\u5bfc\u822a\u5de5\u5177&#xff0c;\u652f\u6301\u4f20\u5165url\u6307\u5b9a\u76ee\u6807\u5730\u5740\u3002<\/p>\n<p>json<\/p>\n<p> {<br \/>\n  &#034;url&#034;: &#034;https:\/\/example.com&#034;, \/\/ \u5fc5\u4f20&#xff0c;\u76ee\u6807\u7f51\u9875URL<br \/>\n  &#034;launchOptions&#034;: { &#034;headless&#034;: false }, \/\/ \u53ef\u9009&#xff0c;\u914d\u7f6e\u6d4f\u89c8\u5668\u542f\u52a8\u53c2\u6570&#xff08;npx\u9ed8\u8ba4\u975e\u65e0\u5934\u6a21\u5f0f&#xff0c;\u4f1a\u663e\u793a\u6d4f\u89c8\u5668\u7a97\u53e3&#xff09;<br \/>\n  &#034;allowDangerous&#034;: false \/\/ \u53ef\u9009&#xff0c;\u9ed8\u8ba4\u7981\u6b62\u5371\u9669\u542f\u52a8\u53c2\u6570&#xff0c;\u4fdd\u969c\u672c\u5730\u5b89\u5168<br \/>\n}<br \/>\n \u00a0 <\/p>\n<p>npx \u573a\u666f\u4f18\u52bf&#xff1a;\u542f\u52a8\u540e\u76f4\u63a5\u6253\u5f00\u53ef\u89c6\u5316\u6d4f\u89c8\u5668\u7a97\u53e3&#xff0c;\u5b9e\u65f6\u89c2\u5bdf\u5bfc\u822a\u6548\u679c&#xff0c;\u65b9\u4fbf\u8c03\u8bd5\u9875\u9762\u52a0\u8f7d\u5f02\u5e38\u7b49\u95ee\u9898\u3002<\/p>\n<\/li>\n<li>\n<p>puppeteer_screenshot&#xff1a;\u652f\u6301\u6574\u9875\u6216\u5143\u7d20\u622a\u56fe&#xff0c;name\u4e3a\u622a\u56fe\u552f\u4e00\u6807\u8bc6\u3002<\/p>\n<p>json<\/p>\n<p> {<br \/>\n  &#034;name&#034;: &#034;homepage_screenshot&#034;, \/\/ \u5fc5\u4f20&#xff0c;\u622a\u56fe\u540d\u79f0<br \/>\n  &#034;selector&#034;: &#034;#main-content&#034;, \/\/ \u53ef\u9009&#xff0c;\u6307\u5b9a\u5143\u7d20\u622a\u56fe&#xff08;npx\u73af\u5883\u4e0b\u53ef\u901a\u8fc7\u6d4f\u89c8\u5668\u7a97\u53e3\u76f4\u89c2\u5b9a\u4f4d\u5143\u7d20&#xff09;<br \/>\n  &#034;width&#034;: 1280, \/\/ \u53ef\u9009&#xff0c;\u81ea\u5b9a\u4e49\u622a\u56fe\u5bbd\u5ea6&#xff08;npx\u9ed8\u8ba4800&#xff0c;\u672c\u5730\u8c03\u8bd5\u53ef\u6309\u9700\u8c03\u6574&#xff09;<br \/>\n  &#034;height&#034;: 720 \/\/ \u53ef\u9009&#xff0c;\u81ea\u5b9a\u4e49\u622a\u56fe\u9ad8\u5ea6<br \/>\n}\n <\/li>\n<li>\n<p>\u4ea4\u4e92\u5de5\u5177\u77e9\u9635&#xff1a;\u5305\u62ecclick&#xff08;\u70b9\u51fb&#xff09;\u3001fill&#xff08;\u586b\u5145\u8868\u5355&#xff09;\u3001select&#xff08;\u4e0b\u62c9\u9009\u62e9&#xff09;\u3001hover&#xff08;\u60ac\u505c&#xff09;\u7b49&#xff0c;\u5747\u901a\u8fc7 CSS \u9009\u62e9\u5668\u5b9a\u4f4d\u5143\u7d20&#xff0c;\u5b8c\u7f8e\u8986\u76d6\u524d\u7aef\u8c03\u8bd5\u5e38\u89c1\u573a\u666f\u3002\u4f8b\u5982\u586b\u5145\u8f93\u5165\u6846&#xff1a;<\/p>\n<p>json<\/p>\n<p> {<br \/>\n  &#034;selector&#034;: &#034;#search-input&#034;, \/\/ \u8f93\u5165\u6846\u9009\u62e9\u5668<br \/>\n  &#034;value&#034;: &#034;puppeteer tutorial&#034; \/\/ \u586b\u5145\u5185\u5bb9<br \/>\n}\n <\/li>\n<li>\n<p>puppeteer_evaluate&#xff1a;\u6267\u884c\u81ea\u5b9a\u4e49 JavaScript&#xff0c;\u652f\u6301\u83b7\u53d6\u9875\u9762\u6570\u636e\u6216\u64cd\u4f5c DOM\u3002<\/p>\n<p>json<\/p>\n<p> {<br \/>\n  &#034;script&#034;: &#034;document.title&#034; \/\/ \u6267\u884c\u540e\u8fd4\u56de\u9875\u9762\u6807\u9898<br \/>\n}<br \/>\n \u00a0 <\/p>\n<p>npx \u4f18\u52bf&#xff1a;\u914d\u5408\u53ef\u89c6\u5316\u7a97\u53e3&#xff0c;\u53ef\u5373\u65f6\u9a8c\u8bc1\u811a\u672c\u6267\u884c\u6548\u679c&#xff0c;\u907f\u514d\u65e0\u5934\u6a21\u5f0f\u4e0b\u7684\u76f2\u76ee\u8c03\u8bd5\u3002<\/p>\n<\/li>\n<\/ul>\n<h4>2. \u8d44\u6e90\u7ba1\u7406\u80fd\u529b<\/h4>\n<ul>\n<li>\n<p>\u670d\u52a1\u5668\u4e3a\u6211\u4eec\u63d0\u4f9b\u4e86\u4e24\u79cd\u91cd\u8981\u7684\u8d44\u6e90&#xff0c;\u65b9\u4fbf\u6211\u4eec\u5bf9\u6d4f\u89c8\u5668\u7684\u72b6\u6001\u548c\u64cd\u4f5c\u7ed3\u679c\u8fdb\u884c\u76d1\u63a7\u548c\u4f7f\u7528\u3002<\/p>\n<h4>\u00a0\u63a7\u5236\u53f0\u65e5\u5fd7&#xff1a;console:\/\/logs<\/h4>\n<p>\u901a\u8fc7\u8fd9\u4e2a\u8d44\u6e90&#xff0c;\u6211\u4eec\u53ef\u4ee5\u83b7\u53d6\u6d4f\u89c8\u5668\u63a7\u5236\u53f0\u7684\u8f93\u51fa\u4fe1\u606f&#xff0c;\u8fd9\u4e9b\u4fe1\u606f\u4ee5\u6587\u672c\u683c\u5f0f\u5448\u73b0&#xff0c;\u5305\u62ec\u6d4f\u89c8\u5668\u8fd0\u884c\u8fc7\u7a0b\u4e2d\u4ea7\u751f\u7684\u6240\u6709\u63a7\u5236\u53f0\u6d88\u606f\u3002\u6211\u4eec\u53ef\u4ee5\u5229\u7528\u8fd9\u4e9b\u65e5\u5fd7\u6765\u8c03\u8bd5\u6211\u4eec\u7684\u64cd\u4f5c&#xff0c;\u67e5\u770b\u9875\u9762\u7684\u8fd0\u884c\u72b6\u6001&#xff0c;\u53ca\u65f6\u53d1\u73b0\u548c\u89e3\u51b3\u95ee\u9898\u3002<\/p>\n<h4>\u00a0\u622a\u56fe\u8d44\u6e90&#xff1a;screenshot:\/\/&lt;name&gt;<\/h4>\n<p>\u6211\u4eec\u901a\u8fc7puppeteer_screenshot\u5de5\u5177\u6355\u83b7\u7684\u622a\u56fe\u4f1a\u4ee5 PNG \u56fe\u50cf\u7684\u5f62\u5f0f\u5b58\u50a8\u4e3a\u8d44\u6e90&#xff0c;\u6bcf\u4e2a\u622a\u56fe\u53ef\u4ee5\u901a\u8fc7\u5728\u6355\u83b7\u65f6\u6307\u5b9a\u7684\u540d\u79f0\u6765\u8bbf\u95ee\u3002\u4f8b\u5982&#xff0c;\u5982\u679c\u6211\u4eec\u5728\u622a\u56fe\u65f6\u5c06\u540d\u79f0\u8bbe\u7f6e\u4e3a &#034;homepage&#034;&#xff0c;\u90a3\u4e48\u5c31\u53ef\u4ee5\u901a\u8fc7screenshot:\/\/homepage\u6765\u83b7\u53d6\u8fd9\u5f20\u622a\u56fe\u3002<\/p>\n<\/li>\n<\/ul>\n<h3>\u4e8c\u3001npx \u542f\u52a8&#xff1a;\u672c\u5730\u5f00\u53d1\u7684\u9ec4\u91d1\u642d\u6863<\/h3>\n<p>\u63a5\u4e0b\u6765\u91cd\u70b9\u8bb2\u89e3\u5982\u4f55\u901a\u8fc7 npx \u5feb\u901f\u542f\u52a8\u670d\u52a1\u5668&#xff0c;\u4eab\u53d7\u53ef\u89c6\u5316\u8c03\u8bd5\u7684\u4fbf\u5229\u3002npx \u65e0\u9700\u5168\u5c40\u5b89\u88c5&#xff0c;\u76f4\u63a5\u8c03\u7528\u672c\u5730\u4f9d\u8d56&#xff0c;\u5c24\u5176\u9002\u5408\u4e34\u65f6\u9879\u76ee\u6216\u5feb\u901f\u9a8c\u8bc1\u573a\u666f\u3002<\/p>\n<h4>1. \u521d\u59cb\u5316\u9879\u76ee&#xff08;\u9996\u6b21\u4f7f\u7528\u5fc5\u505a&#xff09;<\/h4>\n<p>bash<\/p>\n<p>mkdir my-puppeteer-project &amp;&amp; cd $_  # \u521b\u5efa\u5e76\u8fdb\u5165\u9879\u76ee\u76ee\u5f55<br \/>\nnpm init -y  # \u751f\u6210package.json&#xff08;\u8bb0\u5f55\u4f9d\u8d56&#xff0c;\u65b9\u4fbf\u540e\u7eed\u7ba1\u7406&#xff09;<\/p>\n<ul>\n<li>npm init -y\u4f1a\u81ea\u52a8\u751f\u6210\u9ed8\u8ba4\u914d\u7f6e\u7684package.json&#xff0c;\u540e\u7eed\u5b89\u88c5\u7684&#064;modelcontextprotocol\/server-puppeteer\u4f1a\u8bb0\u5f55\u5728dependencies\u4e2d\u3002<\/li>\n<\/ul>\n<h4>2. \u5b89\u88c5\u6838\u5fc3\u4f9d\u8d56<\/h4>\n<p>bash<\/p>\n<p>npm install &#064;modelcontextprotocol\/server-puppeteer  # \u5b89\u88c5\u670d\u52a1\u5668\u5305\u53ca\u6240\u6709\u4f9d\u8d56<\/p>\n<p>\u5b89\u88c5\u5b8c\u6210\u540e&#xff0c;\u53ef\u901a\u8fc7\u4ee5\u4e0b\u65b9\u5f0f\u9a8c\u8bc1&#xff1a;<\/p>\n<\/p>\n<ul>\n<li>\u68c0\u67e5node_modules\/&#064;modelcontextprotocol\/server-puppeteer\u76ee\u5f55\u662f\u5426\u5b58\u5728&#xff1b;<\/li>\n<li>\u67e5\u770bpackage.json\u4e2d\u662f\u5426\u5305\u542b\u5bf9\u5e94\u4f9d\u8d56\u9879\u3002<\/li>\n<\/ul>\n<h4>3. \u4e00\u952e\u542f\u52a8\u670d\u52a1\u5668&#xff08;\u5e26\u53ef\u89c6\u5316\u7a97\u53e3&#xff09;<\/h4>\n<p>bash<\/p>\n<p>npx &#064;modelcontextprotocol\/server-puppeteer  # \u542f\u52a8\u547d\u4ee4<\/p>\n<ul>\n<li>\u542f\u52a8\u6548\u679c&#xff1a;\u81ea\u52a8\u6253\u5f00 Chrome \u6d4f\u89c8\u5668\u7a97\u53e3&#xff08;\u975e\u65e0\u5934\u6a21\u5f0f&#xff09;&#xff0c;\u63a7\u5236\u53f0\u8f93\u51fa\u670d\u52a1\u5668\u8fde\u63a5\u72b6\u6001\u53ca\u5de5\u5177\u5217\u8868&#xff0c;\u63d0\u793aReady to accept requests\u5373\u8868\u793a\u542f\u52a8\u6210\u529f\u3002<\/li>\n<li>\u8c03\u8bd5\u4f18\u52bf&#xff1a;\u6240\u6709\u9875\u9762\u64cd\u4f5c&#xff08;\u5982\u70b9\u51fb\u3001\u586b\u5145&#xff09;\u90fd\u4f1a\u5728\u6d4f\u89c8\u5668\u7a97\u53e3\u4e2d\u53ef\u89c6\u5316\u6267\u884c&#xff0c;\u5b9e\u65f6\u53cd\u9988\u64cd\u4f5c\u7ed3\u679c&#xff0c;\u6bd4\u65e0\u5934\u6a21\u5f0f\u66f4\u9002\u5408\u524d\u7aef\u4ea4\u4e92\u8c03\u8bd5\u3002<\/li>\n<\/ul>\n<h4>4. \u642d\u914d\u68c0\u67e5\u5668\u589e\u5f3a\u8c03\u8bd5&#xff08;\u53ef\u9009&#xff09;<\/h4>\n<p>\u82e5\u9700\u56fe\u5f62\u5316\u67e5\u770b\u5de5\u5177\u8c03\u7528\u65e5\u5fd7\u548c\u8d44\u6e90\u5217\u8868&#xff0c;\u53ef\u540c\u65f6\u542f\u52a8 MCP \u5b98\u65b9\u68c0\u67e5\u5668&#xff1a;<\/p>\n<\/p>\n<p>bash<\/p>\n<p>npm install &#064;modelcontextprotocol\/inspector<br \/>\nnpx &#064;modelcontextprotocol\/inspector npx -y &#064;modelcontextprotocol\/server-puppeteer  # \u68c0\u67e5\u5668&#043;\u670d\u52a1\u5668\u4e00\u952e\u542f\u52a8<\/p>\n<ul>\n<li>-y\u53c2\u6570&#xff1a;\u81ea\u52a8\u786e\u8ba4\u5b89\u88c5\u68c0\u67e5\u5668\u4f9d\u8d56&#xff0c;\u907f\u514d\u624b\u52a8\u8f93\u5165yes&#xff1b;<\/li>\n<li>\u68c0\u67e5\u5668\u754c\u9762\u53ef\u5b9e\u65f6\u663e\u793a\u5de5\u5177\u8fd4\u56de\u7ed3\u679c&#xff08;\u5982\u622a\u56fe\u9884\u89c8\u3001\u63a7\u5236\u53f0\u65e5\u5fd7\u6587\u672c&#xff09;&#xff0c;\u9002\u5408\u65b0\u624b\u5feb\u901f\u5b9a\u4f4d\u95ee\u9898\u3002<\/li>\n<\/ul>\n<h3>\u4e09\u3001VS Code \u914d\u7f6e&#xff1a;\u63d0\u5347 npx \u5f00\u53d1\u6548\u7387<\/h3>\n<p>\u5bf9\u4e8e\u4e60\u60ef VS Code \u7684\u5f00\u53d1\u8005&#xff0c;\u53ef\u901a\u8fc7\u4ee5\u4e0b\u914d\u7f6e\u5b9e\u73b0\u65e0\u7f1d\u96c6\u6210&#xff1a;<\/p>\n<h4>1. \u7528\u6237\u8bbe\u7f6e&#xff08;\u5168\u5c40\u751f\u6548&#xff09;<\/h4>\n<p>\u6309\u4e0bCtrl &#043; Shift &#043; P\u6253\u5f00\u547d\u4ee4\u9762\u677f&#xff0c;\u641c\u7d22\u5e76\u6253\u5f00settings.json&#xff08;\u7528\u6237\u8bbe\u7f6e JSON&#xff09;&#xff0c;\u6dfb\u52a0&#xff1a;<\/p>\n<\/p>\n<p>json<\/p>\n<p>{<br \/>\n  &#034;mcp&#034;: {<br \/>\n    &#034;servers&#034;: {<br \/>\n      &#034;puppeteer&#034;: {<br \/>\n        &#034;command&#034;: &#034;npx&#034;, \/\/ \u4f7f\u7528npx\u6267\u884c\u547d\u4ee4<br \/>\n        &#034;args&#034;: [&#034;-y&#034;, &#034;&#064;modelcontextprotocol\/server-puppeteer&#034;] \/\/ \u81ea\u52a8\u786e\u8ba4\u4f9d\u8d56&#xff0c;\u542f\u52a8\u670d\u52a1\u5668<br \/>\n      }<br \/>\n    }<br \/>\n  }<br \/>\n}<\/p>\n<ul>\n<li>\u914d\u7f6e\u540e&#xff0c;VS Code \u7684 MCP \u63d2\u4ef6\u53ef\u76f4\u63a5\u8bc6\u522b\u670d\u52a1\u5668&#xff0c;\u652f\u6301\u901a\u8fc7\u63d2\u4ef6\u754c\u9762\u4e00\u952e\u542f\u52a8&#xff0c;\u65e0\u9700\u624b\u52a8\u8f93\u5165\u547d\u4ee4\u3002<\/li>\n<\/ul>\n<h4>2. \u5de5\u4f5c\u533a\u914d\u7f6e&#xff08;\u9879\u76ee\u7ea7\u5171\u4eab&#xff09;<\/h4>\n<p>\u5728\u9879\u76ee\u6839\u76ee\u5f55\u521b\u5efa.vscode\/mcp.json&#xff08;\u56e2\u961f\u534f\u4f5c\u63a8\u8350&#xff09;&#xff1a;<\/p>\n<\/p>\n<p>json<\/p>\n<p>{<br \/>\n  &#034;servers&#034;: {<br \/>\n    &#034;puppeteer&#034;: {<br \/>\n      &#034;command&#034;: &#034;npx&#034;,<br \/>\n      &#034;args&#034;: [&#034;-y&#034;, &#034;&#064;modelcontextprotocol\/server-puppeteer&#034;]<br \/>\n    }<br \/>\n  }<br \/>\n}<\/p>\n<ul>\n<li>\u6b64\u914d\u7f6e\u4ec5\u5728\u5f53\u524d\u9879\u76ee\u751f\u6548&#xff0c;\u907f\u514d\u5168\u5c40\u8bbe\u7f6e\u51b2\u7a81&#xff0c;\u9002\u5408\u591a\u4eba\u534f\u4f5c\u65f6\u7edf\u4e00\u5f00\u53d1\u73af\u5883\u3002<\/li>\n<\/ul>\n<h3>\u56db\u3001npx \u9ad8\u7ea7\u914d\u7f6e&#xff1a;\u5b9a\u5236\u5316\u6d4f\u89c8\u5668\u884c\u4e3a<\/h3>\n<h4>1. \u901a\u8fc7\u73af\u5883\u53d8\u91cf\u8c03\u6574\u542f\u52a8\u53c2\u6570&#xff08;\u5168\u5c40\u751f\u6548&#xff09;<\/h4>\n<p>\u82e5\u9700\u81ea\u5b9a\u4e49\u6d4f\u89c8\u5668\u7a97\u53e3\u5927\u5c0f\u3001\u6307\u5b9a Chrome \u8def\u5f84\u7b49&#xff0c;\u53ef\u5728 npx \u542f\u52a8\u65f6\u6dfb\u52a0\u73af\u5883\u53d8\u91cf&#xff1a;<\/p>\n<\/p>\n<p>json<\/p>\n<p>{<br \/>\n  &#034;mcpServers&#034;: {<br \/>\n    &#034;puppeteer&#034;: {<br \/>\n      &#034;command&#034;: &#034;npx&#034;,<br \/>\n      &#034;args&#034;: [&#034;-y&#034;, &#034;&#064;modelcontextprotocol\/server-puppeteer&#034;],<br \/>\n      &#034;env&#034;: {<br \/>\n        &#034;PUPPETEER_LAUNCH_OPTIONS&#034;: &#034;{\\\\&#034;args\\\\&#034;:[\\\\&#034;&#8211;window-size&#061;1920,1080\\\\&#034;]}&#034;, \/\/ \u8bbe\u7f6e\u7a97\u53e3\u5c3a\u5bf8<br \/>\n        &#034;ALLOW_DANGEROUS&#034;: &#034;true&#034; \/\/ \u5141\u8bb8\u5371\u9669\u53c2\u6570&#xff08;\u5982&#8211;no-sandbox&#xff0c;\u672c\u5730\u8c03\u8bd5\u614e\u7528&#xff09;<br \/>\n      }<br \/>\n    }<br \/>\n  }<br \/>\n}<\/p>\n<ul>\n<li>PUPPETEER_LAUNCH_OPTIONS&#xff1a;\u652f\u6301 Puppeteer \u5b8c\u6574\u7684LaunchOptions&#xff0c;\u5982headless&#xff08;npx \u9ed8\u8ba4false&#xff0c;\u663e\u793a\u7a97\u53e3&#xff09;\u3001executablePath&#xff08;\u6307\u5b9a\u672c\u5730 Chrome \u8def\u5f84&#xff09;\u3002<\/li>\n<\/ul>\n<h4>2. \u5de5\u5177\u8c03\u7528\u65f6\u52a8\u6001\u8986\u76d6\u914d\u7f6e&#xff08;\u5355\u6b21\u751f\u6548&#xff09;<\/h4>\n<p>\u5728\u8c03\u7528puppeteer_navigate\u65f6&#xff0c;\u53ef\u4e34\u65f6\u4f20\u5165launchOptions&#xff0c;\u4f18\u5148\u7ea7\u9ad8\u4e8e\u5168\u5c40\u914d\u7f6e&#xff1a;<\/p>\n<\/p>\n<p>json<\/p>\n<p>{<br \/>\n  &#034;url&#034;: &#034;https:\/\/github.com&#034;,<br \/>\n  &#034;launchOptions&#034;: {<br \/>\n    &#034;headless&#034;: true, \/\/ \u4e34\u65f6\u8bbe\u4e3a\u65e0\u5934\u6a21\u5f0f&#xff08;\u8986\u76d6npx\u9ed8\u8ba4\u7684\u53ef\u89c6\u5316\u7a97\u53e3&#xff09;<br \/>\n    &#034;defaultViewport&#034;: { &#034;width&#034;: 1024, &#034;height&#034;: 768 } \/\/ \u4e34\u65f6\u8bbe\u7f6e\u89c6\u53e3\u5c3a\u5bf8<br \/>\n  }<br \/>\n}<\/p>\n<ul>\n<li>\u6ce8\u610f&#xff1a;\u82e5launchOptions\u4e0e\u4e0a\u6b21\u8c03\u7528\u4e0d\u540c&#xff0c;\u670d\u52a1\u5668\u4f1a\u81ea\u52a8\u91cd\u542f\u6d4f\u89c8\u5668\u4ee5\u5e94\u7528\u65b0\u914d\u7f6e&#xff0c;npx \u73af\u5883\u4e0b\u91cd\u542f\u8fc7\u7a0b\u4f1a\u663e\u793a\u6d4f\u89c8\u5668\u7a97\u53e3\u91cd\u65b0\u52a0\u8f7d\u3002<\/li>\n<\/ul>\n<h3>\u4e94\u3001npx \u542f\u52a8\u5e38\u89c1\u95ee\u9898\u4e0e\u89e3\u51b3\u65b9\u6848<\/h3>\n<h4>1. \u6d4f\u89c8\u5668\u7a97\u53e3\u672a\u5f39\u51fa&#xff1f;<\/h4>\n<ul>\n<li>\u539f\u56e0 1&#xff1a;\u5168\u5c40\u6216\u5de5\u5177\u8c03\u7528\u4e2d\u8bbe\u7f6e\u4e86headless: true\u3002 \u89e3\u51b3&#xff1a;\u68c0\u67e5\u914d\u7f6e\u4e2d\u7684launchOptions&#xff0c;\u786e\u4fddheadless\u4e3afalse&#xff08;npx \u9ed8\u8ba4\u503c&#xff09;\u3002<\/li>\n<li>\u539f\u56e0 2&#xff1a;Puppeteer \u4f9d\u8d56\u7684 Chromium \u672a\u6b63\u786e\u5b89\u88c5\u3002 \u89e3\u51b3&#xff1a;\u5220\u9664node_modules\u540e\u91cd\u65b0\u5b89\u88c5\u4f9d\u8d56&#xff0c;\u6216\u901a\u8fc7PUPPETEER_EXECUTABLE_PATH\u6307\u5b9a\u672c\u5730 Chrome \u8def\u5f84\u3002<\/li>\n<\/ul>\n<h4>2. \u5371\u9669\u53c2\u6570\u62a5\u9519&#xff08;Dangerous arguments detected&#xff09;<\/h4>\n<ul>\n<li>\u539f\u56e0&#xff1a;\u914d\u7f6e\u4e2d\u5305\u542b&#8211;no-sandbox\u7b49\u98ce\u9669\u53c2\u6570&#xff0c;\u4e14allowDangerous\u4e3afalse&#xff08;\u9ed8\u8ba4\u503c&#xff09;\u3002 \u89e3\u51b3&#xff1a;\u672c\u5730\u8c03\u8bd5\u5efa\u8bae\u4fdd\u6301\u9ed8\u8ba4\u5b89\u5168\u7b56\u7565&#xff08;\u4e0d\u5141\u8bb8\u5371\u9669\u53c2\u6570&#xff09;&#xff0c;\u786e\u6709\u9700\u8981\u65f6\u8bbe\u7f6eallowDangerous: true&#xff0c;\u5e76\u786e\u4fdd\u64cd\u4f5c\u5728\u53ef\u63a7\u73af\u5883\u4e2d\u8fdb\u884c\u3002<\/li>\n<\/ul>\n<h4>3. \u5982\u4f55\u67e5\u770b\u622a\u56fe\u548c\u65e5\u5fd7&#xff1f;<\/h4>\n<ul>\n<li>\u622a\u56fe&#xff1a;\u901a\u8fc7puppeteer_screenshot\u5de5\u5177\u7684name\u53c2\u6570\u751f\u6210\u540e&#xff0c;\u53ef\u5728 MCP \u68c0\u67e5\u5668\u4e2d\u76f4\u63a5\u9884\u89c8&#xff0c;\u6216\u901a\u8fc7curl http:\/\/localhost:\u7aef\u53e3\/screenshot:\/\/&lt;name&gt;\u83b7\u53d6\u4e8c\u8fdb\u5236\u6570\u636e\u3002<\/li>\n<li>\u65e5\u5fd7&#xff1a;\u63a7\u5236\u53f0\u65e5\u5fd7\u5b58\u50a8\u5728console:\/\/logs&#xff0c;\u53ef\u901a\u8fc7\u670d\u52a1\u5668\u63d0\u4f9b\u7684ReadResource\u63a5\u53e3\u8bfb\u53d6&#xff0c;npx \u73af\u5883\u4e0b\u68c0\u67e5\u5668\u4f1a\u5b9e\u65f6\u540c\u6b65\u65e5\u5fd7\u5185\u5bb9\u3002<\/li>\n<\/ul>\n<h3>\u516d\u3001\u4e3a\u4ec0\u4e48\u9009\u62e9 npx \u542f\u52a8&#xff1f;<\/h3>\n<ul>\n<li>\u96f6\u914d\u7f6e\u6210\u672c&#xff1a;\u65e0\u9700\u5168\u5c40\u5b89\u88c5&#xff0c;\u76f4\u63a5\u8c03\u7528\u672c\u5730\u4f9d\u8d56&#xff0c;\u9002\u5408\u5feb\u901f\u9a8c\u8bc1\u60f3\u6cd5\u6216\u4e34\u65f6\u9879\u76ee\u3002<\/li>\n<li>\u53ef\u89c6\u5316\u8c03\u8bd5&#xff1a;\u9ed8\u8ba4\u6253\u5f00\u6d4f\u89c8\u5668\u7a97\u53e3&#xff0c;\u64cd\u4f5c\u8fc7\u7a0b\u4e00\u76ee\u4e86\u7136&#xff0c;\u5927\u5e45\u964d\u4f4e\u524d\u7aef\u4ea4\u4e92\u8c03\u8bd5\u96be\u5ea6\u3002<\/li>\n<li>\u7075\u6d3b\u6269\u5c55&#xff1a;\u652f\u6301\u901a\u8fc7\u73af\u5883\u53d8\u91cf\u6216\u5de5\u5177\u53c2\u6570\u52a8\u6001\u8c03\u6574\u6d4f\u89c8\u5668\u914d\u7f6e&#xff0c;\u9002\u914d\u4e0d\u540c\u8c03\u8bd5\u573a\u666f\u3002<\/li>\n<\/ul>\n<p>\u901a\u8fc7 npx \u542f\u52a8 Puppeteer MCP \u670d\u52a1\u5668&#xff0c;\u6211\u4eec\u65e2\u80fd\u4eab\u53d7\u5168\u529f\u80fd\u7684\u6d4f\u89c8\u5668\u81ea\u52a8\u5316\u80fd\u529b&#xff0c;\u53c8\u80fd\u501f\u52a9\u53ef\u89c6\u5316\u7a97\u53e3\u548c\u4fbf\u6377\u7684\u914d\u7f6e&#xff0c;\u8ba9\u5f00\u53d1\u8c03\u8bd5\u6548\u7387\u63d0\u5347\u4e00\u4e2a\u53f0\u9636\u3002\u5982\u679c\u4f60\u5728\u4f7f\u7528\u8fc7\u7a0b\u4e2d\u9047\u5230\u95ee\u9898&#xff0c;\u6b22\u8fce\u5728\u8bc4\u8bba\u533a\u7559\u8a00\u4ea4\u6d41&#xff01;<\/p>\n<\/p>\n<p>\u89c9\u5f97\u672c\u6587\u5b9e\u7528\u7684\u8bdd&#xff0c;\u522b\u5fd8\u4e86\u70b9\u8d5e\u6536\u85cf&#xff0c;\u5173\u6ce8\u6211\u4eec\u83b7\u53d6\u66f4\u591a MCP \u670d\u52a1\u5668\u5f00\u53d1\u548c Puppeteer \u5b9e\u6218\u6280\u5de7&#xff0c;\u8ba9\u6d4f\u89c8\u5668\u81ea\u52a8\u5316\u5f00\u53d1\u66f4\u7b80\u5355\u9ad8\u6548&#xff01;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1k\u6b21\uff0c\u70b9\u8d5e36\u6b21\uff0c\u6536\u85cf26\u6b21\u3002\u5728\u6d4f\u89c8\u5668\u81ea\u52a8\u5316\u9886\u57df\uff0cPuppeteer \u51ed\u501f\u5176\u5f3a\u5927\u7684 API \u548c\u7075\u6d3b\u7684\u914d\u7f6e\u80fd\u529b\uff0c\u6210\u4e3a\u5f00\u53d1\u8005\u5b9e\u73b0\u7f51\u9875\u4ea4\u4e92\u3001\u622a\u56fe\u3001\u811a\u672c\u6267\u884c\u7684\u9996\u9009\u5de5\u5177\u3002\u672c\u6587\u5c06\u5728\u8be6\u7ec6\u4ecb\u7ecd Puppeteer MCP \u670d\u52a1\u5668\u6838\u5fc3\u529f\u80fd\u7684\u57fa\u7840\u4e0a\uff0c\u91cd\u70b9\u89e3\u6790\u5982\u4f55\u901a\u8fc7\uff0c\u8ba9\u672c\u5730\u5f00\u53d1\u4e0e\u8c03\u8bd5\u66f4\u52a0\u4fbf\u6377\u9ad8\u6548\u3002<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[81,2880,2881],"topic":[],"class_list":["post-34144","post","type-post","status-publish","format-standard","hentry","category-server","tag-python","tag-2880","tag-2881"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u7528 Puppeteer \u642d\u5efa MCP \u670d\u52a1\u5668\uff1a\u529f\u80fd\u8be6\u89e3\u4e0e npx \u542f\u52a8\u5168\u653b\u7565 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/34144.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u7528 Puppeteer \u642d\u5efa MCP \u670d\u52a1\u5668\uff1a\u529f\u80fd\u8be6\u89e3\u4e0e npx \u542f\u52a8\u5168\u653b\u7565 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1k\u6b21\uff0c\u70b9\u8d5e36\u6b21\uff0c\u6536\u85cf26\u6b21\u3002\u5728\u6d4f\u89c8\u5668\u81ea\u52a8\u5316\u9886\u57df\uff0cPuppeteer \u51ed\u501f\u5176\u5f3a\u5927\u7684 API \u548c\u7075\u6d3b\u7684\u914d\u7f6e\u80fd\u529b\uff0c\u6210\u4e3a\u5f00\u53d1\u8005\u5b9e\u73b0\u7f51\u9875\u4ea4\u4e92\u3001\u622a\u56fe\u3001\u811a\u672c\u6267\u884c\u7684\u9996\u9009\u5de5\u5177\u3002\u672c\u6587\u5c06\u5728\u8be6\u7ec6\u4ecb\u7ecd Puppeteer MCP \u670d\u52a1\u5668\u6838\u5fc3\u529f\u80fd\u7684\u57fa\u7840\u4e0a\uff0c\u91cd\u70b9\u89e3\u6790\u5982\u4f55\u901a\u8fc7\uff0c\u8ba9\u672c\u5730\u5f00\u53d1\u4e0e\u8c03\u8bd5\u66f4\u52a0\u4fbf\u6377\u9ad8\u6548\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/34144.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-04-28T23:35:59+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/34144.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/34144.html\",\"name\":\"\u7528 Puppeteer \u642d\u5efa MCP \u670d\u52a1\u5668\uff1a\u529f\u80fd\u8be6\u89e3\u4e0e npx \u542f\u52a8\u5168\u653b\u7565 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-04-28T23:35:59+00:00\",\"dateModified\":\"2025-04-28T23:35:59+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/34144.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/34144.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/34144.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u7528 Puppeteer \u642d\u5efa MCP \u670d\u52a1\u5668\uff1a\u529f\u80fd\u8be6\u89e3\u4e0e npx \u542f\u52a8\u5168\u653b\u7565\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u7528 Puppeteer \u642d\u5efa MCP \u670d\u52a1\u5668\uff1a\u529f\u80fd\u8be6\u89e3\u4e0e npx \u542f\u52a8\u5168\u653b\u7565 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/34144.html","og_locale":"zh_CN","og_type":"article","og_title":"\u7528 Puppeteer \u642d\u5efa MCP \u670d\u52a1\u5668\uff1a\u529f\u80fd\u8be6\u89e3\u4e0e npx \u542f\u52a8\u5168\u653b\u7565 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1k\u6b21\uff0c\u70b9\u8d5e36\u6b21\uff0c\u6536\u85cf26\u6b21\u3002\u5728\u6d4f\u89c8\u5668\u81ea\u52a8\u5316\u9886\u57df\uff0cPuppeteer \u51ed\u501f\u5176\u5f3a\u5927\u7684 API \u548c\u7075\u6d3b\u7684\u914d\u7f6e\u80fd\u529b\uff0c\u6210\u4e3a\u5f00\u53d1\u8005\u5b9e\u73b0\u7f51\u9875\u4ea4\u4e92\u3001\u622a\u56fe\u3001\u811a\u672c\u6267\u884c\u7684\u9996\u9009\u5de5\u5177\u3002\u672c\u6587\u5c06\u5728\u8be6\u7ec6\u4ecb\u7ecd Puppeteer MCP \u670d\u52a1\u5668\u6838\u5fc3\u529f\u80fd\u7684\u57fa\u7840\u4e0a\uff0c\u91cd\u70b9\u89e3\u6790\u5982\u4f55\u901a\u8fc7\uff0c\u8ba9\u672c\u5730\u5f00\u53d1\u4e0e\u8c03\u8bd5\u66f4\u52a0\u4fbf\u6377\u9ad8\u6548\u3002","og_url":"https:\/\/www.wsisp.com\/helps\/34144.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-04-28T23:35:59+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/34144.html","url":"https:\/\/www.wsisp.com\/helps\/34144.html","name":"\u7528 Puppeteer \u642d\u5efa MCP \u670d\u52a1\u5668\uff1a\u529f\u80fd\u8be6\u89e3\u4e0e npx \u542f\u52a8\u5168\u653b\u7565 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-04-28T23:35:59+00:00","dateModified":"2025-04-28T23:35:59+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/34144.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/34144.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/34144.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u7528 Puppeteer \u642d\u5efa MCP \u670d\u52a1\u5668\uff1a\u529f\u80fd\u8be6\u89e3\u4e0e npx \u542f\u52a8\u5168\u653b\u7565"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/34144","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=34144"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/34144\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=34144"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=34144"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=34144"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=34144"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}