mirror of
https://github.com/browser-use/browser-use.git
synced 2026-09-14 19:59:47 +08:00
examples fixes
This commit is contained in:
@@ -80,6 +80,7 @@ async def run_single_task(task_file):
|
||||
try:
|
||||
await session.start()
|
||||
from browser_use.browser.events import NavigateToUrlEvent
|
||||
|
||||
event = session.event_bus.dispatch(NavigateToUrlEvent(url='https://httpbin.org/get', new_tab=True))
|
||||
await event
|
||||
print('[DEBUG] Browser test: navigation successful', file=sys.stderr)
|
||||
|
||||
Reference in New Issue
Block a user