Skip to content

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

chore: delete unused screencast hacks (#3964)

Yury Semikhatsky989709b102ef
diff --git a/src/client/channelOwner.ts b/src/client/channelOwner.ts
index c29c8d9370..c943d22133 100644
--- a/src/client/channelOwner.ts
+++ b/src/client/channelOwner.ts
@@ -48,7 +48,7 @@ export abstract class ChannelOwner<T extends channels.Channel = channels.Channel
const base = new EventEmitter();
this._channel = new Proxy(base, {
get: (obj: any, prop) => {
- if (String(prop).startsWith('_') && String(prop) !== '_enableScreencast' && String(prop) !== '_disableScreencast')
+ if (String(prop).startsWith('_'))
return obj[prop];
if (prop === 'then')
return obj.then;