From d163f29e58d6c4e6f27148edd3c47d7118069564 Mon Sep 17 00:00:00 2001 From: PAlexanderFranklin Date: Wed, 30 Aug 2023 18:47:25 -0700 Subject: [PATCH] Move options.json to example --- options.json | 3 --- options.json.example | 3 +++ src/index.js | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) delete mode 100644 options.json create mode 100644 options.json.example diff --git a/options.json b/options.json deleted file mode 100644 index fea537e..0000000 --- a/options.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "uberPhoneNumber": "4444567891" -} diff --git a/options.json.example b/options.json.example new file mode 100644 index 0000000..119d3ab --- /dev/null +++ b/options.json.example @@ -0,0 +1,3 @@ +{ + "uberPhoneNumber": "1234567891" +} diff --git a/src/index.js b/src/index.js index 3ee1337..ff238e0 100644 --- a/src/index.js +++ b/src/index.js @@ -55,6 +55,7 @@ async function main() { `input[id="PHONE_NUMBER_or_EMAIL_ADDRESS"]`, options.uberPhoneNumber ?? "", ) + await page.click('button[type="submit"]'); for (let i = 0; i < 100; i++) { await sleep(500)