Skip to content

Commit 1237ec1

Browse files
Changing variable to generic names
1 parent 0214bef commit 1237ec1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/core/Proxy.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,9 @@ class Proxy {
103103
customReqInstance.addCustomRequest(commandId);
104104

105105
//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));
106+
const sessionId = [...this.contexts.keys()][0];
107+
const sessionContext = this.contexts.get(sessionId);
108+
sessionContext.outgoingSocket.send(JSON.stringify(command));
109109

110110
//Get the resolved promise and returning it to end user
111111
customReqInstance.customRequestList[commandId].promise

0 commit comments

Comments
 (0)