diff --git a/second.ts b/second.ts index 79c1dbb..76549ad 100644 --- a/second.ts +++ b/second.ts @@ -25,7 +25,7 @@ import waitAnyKey from './waitAnyKey'; console.log(e) } finally { await new Promise(resolve => setTimeout(resolve, 5 * 1000)); - waitAnyKey(); + await waitAnyKey(); await driver?.quit(); } }()) \ No newline at end of file