Skip to content

Commit

Permalink
TINY-10006: Local webdriver fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Skylite73 committed Oct 3, 2023
1 parent 781fa87 commit 49d6d16
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion modules/server/src/main/ts/BedrockAuto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ export const go = (bedrockAutoSettings: BedrockAutoSettings): void => {
driver: Attempt.passed(webdriver),
master,
runner,
stickyFirstSession: true
stickyFirstSession: true,
port: servicePort
});
shutdownServices.push(service.shutdown, driver.shutdown);

Expand Down
2 changes: 1 addition & 1 deletion modules/server/src/main/ts/bedrock/auto/DriverLoader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export const startAndWaitForAlive = async (driverSpec: DriverSpec, port: number,
const driverProc = await driverSpec.driverApi.start(args);

// Wait for it to be alive
const status_url = 'http://localhost:' + port + driverSpec.path;
const status_url = 'http://127.0.0.1:' + port + driverSpec.path + '/status';
return ExecUtils.waitForAlive(driverProc, status_url, timeout);
};

Expand Down

0 comments on commit 49d6d16

Please sign in to comment.