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(browsers): code snippet follow-ups #21383

Merged
merged 2 commits into from Mar 7, 2023

Conversation

mxschmitt
Copy link
Member

@mxschmitt mxschmitt commented Mar 3, 2023

Follow-up on #21051.

@mxschmitt mxschmitt requested a review from dgozman March 3, 2023 15:22
@@ -133,10 +133,11 @@ pwsh bin/Debug/netX/playwright.ps1 install --with-deps chromium
```

## Update Playwright regulary
* langs: js
Copy link
Contributor

Choose a reason for hiding this comment

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

Why js only? It's a good cross-language advice.

Copy link
Member Author

Choose a reason for hiding this comment

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

Updating the dependency is hard in Java, maven/gradle, Python, conda,pip,potry, dotnet nuget so I'd keep it Node.js only for now.

playwright.webkit(),
playwright.firefox()
);
for (BrowserType browserType : browserTypes) {
Copy link
Contributor

Choose a reason for hiding this comment

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

To be fair, this is probably not how you do it. Let's ask Yury, but I'd think using env.BROWSER is a better way.

docs/src/browsers.md Outdated Show resolved Hide resolved
@mxschmitt mxschmitt merged commit 68b351c into microsoft:main Mar 7, 2023
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

3 participants