Skip to content

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

feat(webkit): bump to 1500 (#7224)

Yury Semikhatsky79b2e5ddebe0
diff --git a/browsers.json b/browsers.json
index a6d4924dce..73228f29d4 100644
--- a/browsers.json
+++ b/browsers.json
@@ -23,7 +23,7 @@
},
{
"name": "webkit",
- "revision": "1499",
+ "revision": "1500",
"installByDefault": true,
"revisionOverrides": {
"mac10.14": "1446"
diff --git a/src/server/webkit/protocol.ts b/src/server/webkit/protocol.ts
index 891567db8a..da7a611947 100644
--- a/src/server/webkit/protocol.ts
+++ b/src/server/webkit/protocol.ts
@@ -2219,6 +2219,15 @@ export module Protocol {
*/
nodeId: NodeId;
}
+ /**
+ * Fired when a detached DOM node is about to be destroyed. Currently, this event will only be fired when a DOM node that is detached is about to be destructed.
+ */
+ export type willDestroyDOMNodePayload = {
+ /**
+ * Id of the node that will be destroyed.
+ */
+ nodeId: NodeId;
+ }
/**
* Called when shadow root is pushed into the element.
*/
@@ -8650,6 +8659,7 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the
"DOM.childNodeCountUpdated": DOM.childNodeCountUpdatedPayload;
"DOM.childNodeInserted": DOM.childNodeInsertedPayload;
"DOM.childNodeRemoved": DOM.childNodeRemovedPayload;
+ "DOM.willDestroyDOMNode": DOM.willDestroyDOMNodePayload;
"DOM.shadowRootPushed": DOM.shadowRootPushedPayload;
"DOM.shadowRootPopped": DOM.shadowRootPoppedPayload;
"DOM.customElementStateChanged": DOM.customElementStateChangedPayload;