File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 13
13
AgentOutput ,
14
14
)
15
15
from browser_use .browser .browser import BrowserConfig
16
- from browser_use .browser .context import BrowserContext , BrowserContextWindowSize
16
+ from browser_use .browser .context import BrowserContext
17
17
from browser_use .browser .views import BrowserState
18
18
from gradio .components import Component
19
19
from langchain_core .language_models .chat_models import BaseChatModel
@@ -485,9 +485,8 @@ async def ask_callback_wrapper(
485
485
if save_recording_path
486
486
else None ,
487
487
save_downloads_path = save_download_path if save_download_path else None ,
488
- browser_window_size = BrowserContextWindowSize (
489
- width = window_w , height = window_h
490
- ),
488
+ window_width = window_w ,
489
+ window_height = window_h ,
491
490
)
492
491
if not webui_manager .bu_browser :
493
492
raise ValueError ("Browser not initialized, cannot create context." )
You can’t perform that action at this time.
0 commit comments