Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Playwright timeout errors #82

Open
joshi1207 opened this issue Jul 20, 2024 · 4 comments
Open

Playwright timeout errors #82

joshi1207 opened this issue Jul 20, 2024 · 4 comments

Comments

@joshi1207
Copy link

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>

@vaderjunior
Copy link

same problem. sigh

@amm47
Copy link

amm47 commented Aug 9, 2024

Same

@okflow
Copy link

okflow commented Aug 22, 2024

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

whatsapp- +60 13-908 8506

@maravilhosinga
Copy link

Same here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants