Skip to content

Enable puppeteer click.js #37

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

sjorsdonkers
Copy link

@sjorsdonkers sjorsdonkers commented May 6, 2025

Depends on: lightpanda-io/browser#602

===     node puppeteer/click.js
=== OK  559.4367ms      node puppeteer/click.js

runner/main.go Outdated
@@ -100,6 +100,7 @@ func run(ctx context.Context, args []string, stdout, stderr io.Writer) error {
{Bin: "node", Args: []string{"puppeteer/cdp.js"}, Env: []string{"RUNS=10"}},
{Bin: "node", Args: []string{"puppeteer/dump.js"}, Env: []string{"URL=http://127.0.0.1:1234/campfire-commerce/"}},
{Bin: "node", Args: []string{"puppeteer/links.js"}, Env: []string{"URL=http://127.0.0.1:1234/campfire-commerce/"}},
{Bin: "node", Args: []string{"puppeteer/click.js"}, Env: []string{"URL=http://127.0.0.1:1234/campfire-commerce/"}},
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

click.js doesn't take an url as parameter.

Suggested change
{Bin: "node", Args: []string{"puppeteer/click.js"}, Env: []string{"URL=http://127.0.0.1:1234/campfire-commerce/"}},
{Bin: "node", Args: []string{"puppeteer/click.js"}},

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed: 63dc179

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants