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 in selenium-server.ts
  • Loading branch information
filipzamorsky authored May 29, 2019
commit 500bd1e27f89fc7b29ba3cf7c56295036a1f630b
8 changes: 4 additions & 4 deletions lib/provider/selenium_server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export class SeleniumServer implements ProviderInterface {
}
if (providerConfig.runAsGrid) {
this.runAsGrid = providerConfig.runAsGrid;
}
}
if (providerConfig.runAsDetach) {
this.runAsDetach = providerConfig.runAsDetach;
this.runAsNode = true;
Expand Down Expand Up @@ -203,8 +203,8 @@ export class SeleniumServer implements ProviderInterface {
options.push('node');

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

Expand Down Expand Up @@ -345,4 +345,4 @@ export function semanticVersionParser(xmlKey: string) {
*/
export function matchBinaries(): RegExp|null {
return /selenium-server-standalone-\d+.\d+.\d+.*.jar/g;
}
}