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

chore: publish win32-arm64 wheel #2800

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

chore: publish win32-arm64 wheel #2800

wants to merge 4 commits into from

Conversation

mxschmitt
Copy link
Member

@mxschmitt mxschmitt commented Mar 25, 2025

What is it solving? Before this change Playwright for Python was not able to run on win32-arm64 since we don't publish a wheel on that platform. The install via PIP was failing. In Node.js its already working since Windows emulates all the arm64 instructions. This patch adds a new wheel using a dedicated win32-arm64 driver (contains also win32-arm64 Node.js) in order to make Playwright work there.

Relates microsoft/playwright#35185

This requires a new roll to make the Docker tests pass.

dgozman
dgozman previously approved these changes Mar 25, 2025
@es0m-msft
Copy link

confirmed successful creation and subsequent installation using
python setup.py bdist_wheel
pip install dist\playwright...whl
playwright install chromium
and then running the sample:

from playwright.sync_api import sync_playwright

with sync_playwright() as p:
for browser_type in [p.chromium]:
browser = browser_type.launch()
page = browser.new_page()
page.goto('http://playwright.dev')
page.screenshot(path=f'example-{browser_type.name}.png')
browser.close()

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.

3 participants