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

docs(readme): update hero snippet to illustrate single API #631

Merged
merged 3 commits into from
Jan 24, 2020

Conversation

arjunattam
Copy link
Contributor

No description provided.

README.md Outdated

await page.goto('https://www.example.com/');
await page.screenshot({ path: 'example.png' });
browsers.forEach(async browserName => {
Copy link
Member

Choose a reason for hiding this comment

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

Let's use modern api and also not run them in parallel:

for (const browser of ['chromium', 'firefox', 'webkit']) {
...
}

@pavelfeldman pavelfeldman merged commit 834698c into master Jan 24, 2020
@pavelfeldman pavelfeldman deleted the arjun27-patch-1 branch January 24, 2020 20:19
sand4rt pushed a commit to sand4rt/playwright that referenced this pull request Dec 21, 2022
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
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