ranjan-mohanty / vfs-appointment-bot

VFS Appointment Bot - This script automates checking for appointments at VFS Global offices in a specified country.
MIT License
199 stars 99 forks source link

Playwright timeout errors #82

Open joshi1207 opened 1 month ago

joshi1207 commented 1 month ago

Describe the bug playwright._impl._errors.timeouterror: locator.click: timeout 30000ms exceeded

To Reproduce

Run the script as usual, fill in the parameters

Expected behavior It should open VFS url.

Screenshots

image

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context

Activate Windows Go to Settings to activate Windows.

PS C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\site-packages\vfs_appointment_bot> vfs-appointment-bot -sc IN -dc DE [REDACTED] Starting VFS Bot for IN-DE Enter the visa center: Bangalore - Visa Application Centre Enter the visa category: National Visa (stay of more than 90 days): Student Visa Enter the visa sub category: D Student visa: students with APS certificate [REDACTED] Locator. click: Timeout 30000ms exceeded. Call log: Naiting for get_by_role("button", name="Reject All") Traceback (most recent call last): File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\site-packages\vfs_appointment_bot\main.py", line 89, in main appointment_found = vfs_bot.run(args)

File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\site-packages\vfs_appointment_bot\vfs_bot\vfs_bot.py", line 81, in run self.pre_login_steps(page) File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\site-packages\vfs_appointment_bot\vfs_bot\vfs_bot_de.py", line 80, in pre_log in_steps policies_reject_button.click() File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\site-packages\playwright\syncapi_generated.py", line 15093, in click self . sync( File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\site-packages\playwright_impl_sync_base.py", line 115, in sync return task.result() AAAAAAAAAAAAA File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\site-packages\playwright_impl_locator.py", line 156, in click return await self . frame. click(self ._ selector, strict=True, ** params)

File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\site-packages\playwright_impl_frame.py", line 488, in click await self ._ channel.send("click", locals_toparams(locals())) File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\site-packages\playwright_impl_connection.py", line 59, in send return await self . connection.wrap_api_call( AAAAAAAAAAAAAAAAAAAAAA File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\site-packages\playwright_impl_connection.py", line 514, in wrap_api_call raise rewrite_error(error, f"{parsedst['apiName' ]}: {error}") from None playwright . impl ._ errors. TimeoutError: Locator. click: Timeout 30000ms exceeded. Call log: Naiting for get_by_role("button", name="Reject All")

PS C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\site-packages\vfs_appointment_bot>

vaderjunior commented 1 month ago

same problem. sigh

amm47 commented 4 weeks ago

Same

okflow commented 2 weeks ago

if any body can expert in making bot i have some project for that devloper

whatsapp- +60 13-908 8506