Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion components/puppeteer/actions/get-html/get-html.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export default {
key: "puppeteer-get-html",
name: "Get HTML",
description: "Get the HTML of a webpage using Puppeteer. [See the documentation](https://pptr.dev/api/puppeteer.page.content)",
version: "0.0.6",
version: "0.0.7",
type: "action",
props: {
puppeteer,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export default {
key: "puppeteer-get-page-title",
name: "Get Page Title",
description: "Get the title of a webpage using Puppeteer. [See the documentation](https://pptr.dev/api/puppeteer.page.title)",
version: "0.0.6",
version: "0.0.7",
type: "action",
props: {
puppeteer,
Expand Down
2 changes: 1 addition & 1 deletion components/puppeteer/actions/get-pdf/get-pdf.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default {
key: "puppeteer-get-pdf",
name: "Get PDF",
description: "Generate a PDF of a page using Puppeteer. [See the documentation](https://pptr.dev/api/puppeteer.page.pdf)",
version: "0.0.6",
version: "0.0.7",
type: "action",
props: {
puppeteer,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default {
key: "puppeteer-screenshot-page",
name: "Screenshot a Page",
description: "Captures a screenshot of a page using Puppeteer. [See the documentation](https://pptr.dev/api/puppeteer.page.screenshot)",
version: "0.0.7",
version: "0.0.8",
type: "action",
props: {
puppeteer,
Expand Down
2 changes: 1 addition & 1 deletion components/puppeteer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pipedream/puppeteer",
"version": "0.7.0",
"version": "0.8.0",
"description": "Pipedream Puppeteer Components",
"main": "puppeteer.app.mjs",
"keywords": [
Expand Down
2 changes: 2 additions & 0 deletions components/puppeteer/puppeteer.app.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,14 @@ export default {
const browser = await puppeteer.launch({
executablePath: await chromium.executablePath(),
headless: chromium.headless,
cacheDirectory: "/tmp",
ignoreHTTPSErrors: true,
defaultViewport: chromium.defaultViewport,
args: [
...chromium.args,
"--hide-scrollbars",
"--disable-web-security",
"--font-render-hinting=none",
],
...opts,
});
Expand Down
1 change: 1 addition & 0 deletions packages/browsers/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export const puppeteer = {
headless: chromium.headless,
ignoreHTTPSErrors: true,
defaultViewport: chromium.defaultViewport,
cacheDirectory: "/tmp",
args: [
...chromium.args,
"--hide-scrollbars",
Expand Down
2 changes: 1 addition & 1 deletion packages/browsers/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pipedream/browsers",
"version": "1.0.0",
"version": "1.0.1",
"description": "For using puppeeter or playwright in Pipedream Node.js Code Steps. Includes the prebuilt binaries and specific versions for compatiblity with Pipedream.",
"main": "index.mjs",
"scripts": {
Expand Down
3 changes: 3 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.