Skip to content

Commit

Permalink
fix: fix chromedriver start
Browse files Browse the repository at this point in the history
ChromeDriver changed its startup message from "ChromeDriver was started successfully." to "ChromeDriver was started successfully on port XXXXX."
  • Loading branch information
Kelly Selden committed Sep 3, 2024
1 parent 019189c commit 8f43382
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/remote/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -193,13 +193,13 @@ async function spawnWebDriver(name, args) {

await driverSwitch(name, {
async chrome() {
await waitForText('ChromeDriver was started successfully.');
await waitForText('ChromeDriver was started successfully');
},
async firefox() {
await waitForText('Listening on 127.0.0.1');
},
async edge() {
await waitForText('Microsoft Edge WebDriver was started successfully.');
await waitForText('Microsoft Edge WebDriver was started successfully');
},
});

Expand Down

0 comments on commit 8f43382

Please sign in to comment.