playwright-python icon indicating copy to clipboard operation
playwright-python copied to clipboard

Python version of the Playwright testing and automation library.

Results 138 playwright-python issues
Sort by recently updated
recently updated
newest added

### Version 1.52 ### Steps to reproduce In Playwright `v1.52.0`, the effective type signature for `playwright.async_api.BrowserContext.__aexit__` does not seem to mark its exception-related parameters (`exc_type`, `exc_val`, `traceback`) as `Optional` (e.g.,...

### Version Works: up to 1.48.0, does not work: anything newer ### Steps to reproduce I am capturing Grafana panels via Playwright Chromium in headless mode and noticed, that beginning...

triaging

### Page(s) [Page.route handler](https://playwright.dev/python/docs/api/class-page#page-route-option-handler) ### Description The doc comments for the [Page.route handler](https://playwright.dev/python/docs/api/class-page#page-route-option-handler) are out of date, the handler takes either a `Route` or a `Route` and a `Request` as...

### 🚀 Feature Request Submit the issue of duplicate key-value pairs in the form ### Example The data required by the server interface is as follows: `test=1&test=2&test=3&mc=kaka` The implementation plan...

P3-collecting-feedback

### Version 1.50.0 ### Steps to reproduce Setup a multipart data object with an array of files being sent in a single field using the ApiRequestContext object ```python multipart_data =...

P3-collecting-feedback

Allows for multiple files to be sent under a single field in an APIRequestContext multipart form data request

Related to #1272 This PR adds support for soft assertions, allowing multiple assertion failures to be collected before raising them together. I implemented this using a context manager pattern since...

### 🚀 Feature Request when parsing a javascript `Date` object to a python `datetime` object, playwright correctly parses the string with the UTC timezone, since that's how js dates are...

P3-collecting-feedback

### 🚀 Feature Request Port expect.poll() to Python ### Example _No response_ ### Motivation Without this functionality it is difficult to write clean checks for things that aren't easily solvable...

P3-collecting-feedback

### Page(s) https://playwright.dev/python/docs/next/mock#mocking-with-har-files ### Description The `browser.new_context(record_har_path=path)` parameter is really useful, but it isn't mentioned on the page about mocking with HAR files, despite a section called [Recording a HAR...