Skip to content

Commit d49ab6e

Browse files
axelandeAxel Hörtebornmxschmitt
authored
chore: fix requestFinished event when response was null (microsoft#1086)
Co-authored-by: Axel Hörteborn <axel.horteborn@sspa.se> Co-authored-by: Max Schmitt <max@schmitt.mx>
1 parent fe03f73 commit d49ab6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

playwright/_impl/_browser_context.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ def __init__(
137137
"requestFinished",
138138
lambda params: self._on_request_finished(
139139
from_channel(params["request"]),
140-
from_nullable_channel(params["response"]),
140+
from_nullable_channel(params.get("response")),
141141
params["responseEndTiming"],
142142
from_nullable_channel(params.get("page")),
143143
),

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy