Skip to content

How to ignore Patches for Webkit and Firefox? #126

@asafe199

Description

@asafe199

I understand that these patches don't work for Webkit and Firefox, but there is any way to disable them for these browsers?
I got the following errors when use either.

// Firefox
const crSession = (this._page._delegate._sessions.get(this._id) || this._page._delegate._mainFrameSession)._client;
                                                      ^
TypeError: Cannot read properties of undefined (reading 'get')

at Frame._onClearLifecycle (/node_modules/playwright-core/lib/server/frames.js:437:55)
    at FrameManager.frameCommittedNewDocumentNavigation (/node_modules/playwright-core/lib/server/frames.js:175:11)
    at FFPage._onNavigationCommitted (/node_modules/playwright-core/lib/server/firefox/ffPage.js:175:30)
    at FFSession.emit (node:events:507:28)
    at /node_modules/playwright-core/lib/server/firefox/ffConnection.js:127:41
    at runNextTicks (node:internal/process/task_queues:65:5)
    at process.processImmediate (node:internal/timers:476:9)
    at process.callbackTrampoline (node:internal/async_hooks:130:17)

//Webkit
browserController.newPage() failed: K_tj8322puyzvK5uVttwZ\nCause:browser.newPage: Cannot read properties of undefined (reading 'get').

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions