Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

browser(firefox): allow setting download behavior of default context (#2502)

Pavel Feldman4ec215a88b6d
diff --git a/browser_patches/firefox/BUILD_NUMBER b/browser_patches/firefox/BUILD_NUMBER
index 21a801b486..9b75b77391 100644
--- a/browser_patches/firefox/BUILD_NUMBER
+++ b/browser_patches/firefox/BUILD_NUMBER
@@ -1 +1,2 @@
1103
+1104
diff --git a/browser_patches/firefox/juggler/protocol/Protocol.js b/browser_patches/firefox/juggler/protocol/Protocol.js
index b96c43547a..87a3e8d866 100644
--- a/browser_patches/firefox/juggler/protocol/Protocol.js
+++ b/browser_patches/firefox/juggler/protocol/Protocol.js
@@ -156,7 +156,6 @@ axTypes.AXTree = {
value: t.Optional(t.String),
description: t.Optional(t.String),
- value: t.Optional(t.String),
roledescription: t.Optional(t.String),
valuetext: t.Optional(t.String),
orientation: t.Optional(t.String),
@@ -207,7 +206,7 @@ const Browser = {
},
'downloadCreated': {
uuid: t.String,
- browserContextId: t.String,
+ browserContextId: t.Optional(t.String),
pageTargetId: t.String,
url: t.String,
suggestedFileName: t.String,