Skip to content

feat: add browser logs #22

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

Merged
merged 23 commits into from
Apr 6, 2023
Merged

feat: add browser logs #22

merged 23 commits into from
Apr 6, 2023

Conversation

vCaisim
Copy link
Contributor

@vCaisim vCaisim commented Mar 27, 2023

Changes:

@vCaisim vCaisim requested a review from agoldis March 27, 2023 14:29
@agoldis
Copy link
Contributor

agoldis commented Mar 28, 2023

@vCaisim is it ready? A short demo would be great. Also, please update the status of the tasks in https://github.com/orgs/currents-dev/projects/4

@agoldis
Copy link
Contributor

agoldis commented Mar 29, 2023

@vCaisim is it ready for review? if yes, please move the associated tasks in https://github.com/currents-dev/cypress-debugger/projects?query=is%3Aopen

@vCaisim
Copy link
Contributor Author

vCaisim commented Mar 29, 2023

@vCaisim is it ready for review? if yes, please move the associated tasks in https://github.com/currents-dev/cypress-debugger/projects?query=is%3Aopen

Let me make some small changes, and update the UI a bit. I will ask for review later

@vCaisim
Copy link
Contributor Author

vCaisim commented Mar 29, 2023

console messages UI update:
image

@vCaisim vCaisim marked this pull request as ready for review March 29, 2023 14:37
@agoldis
Copy link
Contributor

agoldis commented Mar 30, 2023

@vCaisim
Copy link
Contributor Author

vCaisim commented Mar 30, 2023

https://www.loom.com/share/f06838f546cd4c1f99c1e6925014f26f

Thanks for the feedback. I will analyze how puppeteer uses CDP.

Copy link
Contributor

@agoldis agoldis left a comment

Choose a reason for hiding this comment

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

@vSaicim that's great, especially for a POC, I think we can publish it soon.

Please see inline comments, but also I am seeing the use of any across the board. What do you think of removing as many any as possible?

return Number(existing.split("=")[1]);
}

// running cypress with ELECTRON_EXTRA_LAUNCH_ARGS="--remote-debugging-port=9222" do not set the args
Copy link
Contributor

Choose a reason for hiding this comment

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

@vCaisim what do you mean here? Please elaborate

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The debugging port is retrieved from the browser launch args. For electron, the args is an empty object

Copy link
Contributor

Choose a reason for hiding this comment

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

ok, please provide an example of how the debugging port is retrieved for chrome and electron - it help to maintain the project\

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Contributor

@agoldis agoldis left a comment

Choose a reason for hiding this comment

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

From the previous review: please provide an example of how the debugging port is retrieved for chrome and electron - it help to maintain the project

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