Skip to content
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

Suggestions from chrome-remote-interface #66

Closed
cyrus-and opened this issue Jul 10, 2017 · 1 comment
Closed

Suggestions from chrome-remote-interface #66

cyrus-and opened this issue Jul 10, 2017 · 1 comment

Comments

@cyrus-and
Copy link
Contributor

I did a (very) quick survey of the issues submitted to chrome-remote-interface so far and selected some features that users seem to struggle with using the low-level Chrome Debugging Protocol API.

  • Support browser contexts (Target.createBrowserContext) so to avoid launching multiple instances if one wants a pristine session (e.g., browser.newIsolatedPage() or even expose the context concept through the API).
  • Provide easy access to CSS rules (e.g., adding, toggling, etc.). This may be tricky and too broad to discuss but users particularly struggle with text-ranges.

These may or may not suit this project so I'm not I'm not filing multiple issues; this is mainly to have a place to discuss about them.

@aslushnikov
Copy link
Contributor

aslushnikov commented Jul 10, 2017

That's great. Thank you Andrea.

I'll leave references to the issues with actual user scenarios (and solutions!) for the record:

Both SSL and BrowserContexts fit great with puppeteer, we should have them.

CSS editing seems to be quite a big and niche API which we might not want to touch now. This is a good candidate for a third-party project atop of puppeteer (and this might be a reason to have #31). It also might be that a simple puppeteer API like Frame.injectCSS will address majority of usecases.

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

No branches or pull requests

2 participants