Skip to content

Playwright timeout errors  #82

@joshi1207

Description

@joshi1207

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):

  • OS: Windows 10
  • Browser [e.g. chrome, safari] firefox
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

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\sync_api_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_to_params(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"{parsed_st['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>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions