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
Example: add listen for custom event on page load #529
Conversation
Is missing |
examples/custom-event.js
Outdated
* limitations under the License. | ||
*/ | ||
|
||
const puppeteer = require('../index.js'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
require('puppeteer');
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
Think it's an oversite. We probably should add that. |
Sure, let's leave that for a separate PR though :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shall we call the example expose-function.js
?
@aslushnikov naw, I'd rather examples be use case driven than match api names. People will be searching for examples on how to get something done. |
No description provided.