We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0214bef commit 1237ec1Copy full SHA for 1237ec1
lib/core/Proxy.js
@@ -103,9 +103,9 @@ class Proxy {
103
customReqInstance.addCustomRequest(commandId);
104
105
//Send to playwright server
106
- const railsId = [...this.contexts.keys()][0];
107
- const railsContext = this.contexts.get(railsId);
108
- railsContext.outgoingSocket.send(JSON.stringify(command));
+ const sessionId = [...this.contexts.keys()][0];
+ const sessionContext = this.contexts.get(sessionId);
+ sessionContext.outgoingSocket.send(JSON.stringify(command));
109
110
//Get the resolved promise and returning it to end user
111
customReqInstance.customRequestList[commandId].promise
0 commit comments