-
-
Notifications
You must be signed in to change notification settings - Fork 200
Description
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/