Move options.json to example
This commit is contained in:
parent
ff2392318f
commit
d163f29e58
@ -1,3 +0,0 @@
|
|||||||
{
|
|
||||||
"uberPhoneNumber": "4444567891"
|
|
||||||
}
|
|
3
options.json.example
Normal file
3
options.json.example
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"uberPhoneNumber": "1234567891"
|
||||||
|
}
|
@ -55,6 +55,7 @@ async function main() {
|
|||||||
`input[id="PHONE_NUMBER_or_EMAIL_ADDRESS"]`,
|
`input[id="PHONE_NUMBER_or_EMAIL_ADDRESS"]`,
|
||||||
options.uberPhoneNumber ?? "",
|
options.uberPhoneNumber ?? "",
|
||||||
)
|
)
|
||||||
|
await page.click('button[type="submit"]');
|
||||||
|
|
||||||
for (let i = 0; i < 100; i++) {
|
for (let i = 0; i < 100; i++) {
|
||||||
await sleep(500)
|
await sleep(500)
|
||||||
|
Loading…
Reference in New Issue
Block a user