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

feat: initial release #1

Merged
merged 15 commits into from Nov 26, 2019
Merged

feat: initial release #1

merged 15 commits into from Nov 26, 2019

Conversation

scurker
Copy link
Member

@scurker scurker commented Nov 25, 2019

There's a few more steps we probably want to take (license, where to publish) but this is the initial code for getting devtools contexts from within puppeteer.

Reviewer checks

Required fields, to be filled out by PR reviewer(s)

  • Follows the commit message policy, appropriate for next version
  • Code is reviewed for security

@scurker scurker changed the title WIP feat: initial release feat: initial release Nov 25, 2019
@scurker scurker requested a review from a team November 25, 2019 18:41
@scurker scurker marked this pull request as ready for review November 25, 2019 18:41
Copy link
Member

@stephenmathieson stephenmathieson left a comment

Choose a reason for hiding this comment

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

This is much easier to grok/understand! I'm super excited that you're building this out without coupling to frameworks/etc, and that it's so little code 💯

Let's make sure we've got tests which will "fail nicely" if the private stuff we're dependent on stops working as expected. Otherwise LGTM!

.babelrc Show resolved Hide resolved
src/index.ts Outdated Show resolved Hide resolved
src/index.ts Outdated Show resolved Hide resolved
src/index.ts Outdated Show resolved Hide resolved
src/index.ts Show resolved Hide resolved
const panel = await extensionPanelTarget.page()

// The extension panel should be the first embedded frame of the targeted page
const [panelFrame] = await panel.frames()
Copy link
Member

Choose a reason for hiding this comment

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

Should we validate that it's the "correct" frame?

test/test.ts Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
@scurker scurker merged commit c8da1a7 into develop Nov 26, 2019
@scurker scurker deleted the initial-commit branch November 26, 2019 20:00
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.

None yet

2 participants