Skip to content
This repository was archived by the owner on Apr 17, 2026. It is now read-only.
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
feat(selenium-grid): Change variable and code formatting in selenium_…
…server.ts
  • Loading branch information
filipzamorsky authored May 29, 2019
commit 9811807babb7c83604998ba08a20b9cd48a5793d
10 changes: 5 additions & 5 deletions lib/provider/selenium_server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export class SeleniumServer implements ProviderInterface {
this.runAsNode = providerConfig.runAsNode;
}
if (providerConfig.runAsGrid) {
this.runAsGrid = providerConfig.runAsGrid;
this.grid_node = providerConfig.runAsGrid;
}
if (providerConfig.runAsDetach) {
this.runAsDetach = providerConfig.runAsDetach;
Expand Down Expand Up @@ -199,11 +199,11 @@ export class SeleniumServer implements ProviderInterface {
options.push('0');
}
if (this.runAsGrid) {
options.push('-role');
options.push('node');
options.push('-role');
options.push('node');

options.push('-hub');
options.push(this.runAsNode);
options.push('-hub');
options.push(this.grid_node);
}
options.push('-port');
options.push(this.port.toString());
Expand Down