MCPcopy
hub / github.com/microsoft/playwright / from

Method from

packages/playwright-core/src/client/page.ts:115–117  ·  view source on GitHub ↗
(page: channels.PageChannel)

Source from the content-addressed store, hash-verified

113 private _locatorHandlers = new Map<number, { locator: Locator, handler: (locator: Locator) => any, times: number | undefined }>();
114
115 static from(page: channels.PageChannel): Page {
116 return (page as any)._object;
117 }
118
119 static fromNullable(page: channels.PageChannel | undefined): Page | null {
120 return page ? Page.from(page) : null;

Callers 15

webPlatform.tsFile · 0.45
filterEntryFunction · 0.45
encodeBase128Function · 0.45
encodeIntegerMethod · 0.45
encodeNullMethod · 0.45
encodePrintableStringMethod · 0.45
encodeBitStringMethod · 0.45
encodeDateMethod · 0.45
_encodeMethod · 0.45
_encodeLengthMethod · 0.45
SocksConnectionClass · 0.45
_runMethod · 0.45

Calls

no outgoing calls

Tested by 8

rFunction · 0.36
queryAllFunction · 0.36
queryAllFunction · 0.36
testWebSocketMessagesFunction · 0.36
queryAllFunction · 0.36
queryAllFunction · 0.36
queryAllFunction · 0.36
zipReportFunction · 0.36