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._impl._errors.Error: net::ERR_HTTP2_PROTOCOL_ERROR at https://www.lowes.com/ #24

Open
jaydhary14 opened this issue Feb 2, 2024 · 0 comments

Comments

@jaydhary14
Copy link

jaydhary14 commented Feb 2, 2024

python3 main.py
Initializing the Vimbot driver...
Navigating to Google...
Please enter your objective: find "3-IN-ONE" in Frisco Lowes
Capturing the screen...
Getting actions for the given objective...
JSON Response: {'click': 'F', 'type': '3-IN-ONE Frisco Lowes'}
Capturing the screen...
Getting actions for the given objective...
JSON Response: {'navigate': 'https://www.lowes.com'}
Capturing the screen...
Getting actions for the given objective...
JSON Response: {'click': 'SJ', 'type': '3-IN-ONE'}
Capturing the screen...
Getting actions for the given objective...
JSON Response: {'navigate': 'https://www.lowes.com'}
Traceback (most recent call last):
File "/Users/jaydeep/git/vimGPT/main.py", line 54, in
main_entry()
File "/Users/jaydeep/git/vimGPT/main.py", line 49, in main_entry
main(args.voice)
File "/Users/jaydeep/git/vimGPT/main.py", line 37, in main
if driver.perform_action(action): # returns True if done
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/jaydeep/git/vimGPT/vimbot.py", line 36, in perform_action
self.navigate(action["navigate"])
File "/Users/jaydeep/git/vimGPT/vimbot.py", line 43, in navigate
self.page.goto(url=url if "://" in url else "https://" + url, timeout=60000)
File "/usr/local/lib/python3.11/site-packages/playwright/sync_api/_generated.py", line 9327, in goto
self._sync(
File "/usr/local/lib/python3.11/site-packages/playwright/_impl/_sync_base.py", line 115, in _sync
return task.result()
^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/playwright/_impl/_page.py", line 484, in goto
return await self._main_frame.goto(**locals_to_params(locals()))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/playwright/_impl/_frame.py", line 149, in goto
await self._channel.send("goto", locals_to_params(locals()))
File "/usr/local/lib/python3.11/site-packages/playwright/_impl/_connection.py", line 63, in send
return await self._connection.wrap_api_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/playwright/_impl/_connection.py", line 495, in wrap_api_call
return await cb()
^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/playwright/_impl/_connection.py", line 101, in inner_send
result = next(iter(done)).result()
^^^^^^^^^^^^^^^^^^^^^^^^^
playwright._impl._errors.Error: net::ERR_HTTP2_PROTOCOL_ERROR at https://www.lowes.com/

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

1 participant