Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion browser_utils/initialization/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,8 @@ async def enable_temporary_chat_mode(page: AsyncPage) -> None: # pragma: no cov
"""
try:
incognito_button_locator = page.locator(
'button[aria-label="Temporary chat toggle"]'
'button[aria-label="Temporary chat toggle"]',
'button[aria-label="Toggle temporary chat"]'
)

await incognito_button_locator.wait_for(state="visible", timeout=10000)
Expand Down
3 changes: 2 additions & 1 deletion browser_utils/models/switcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,8 @@ async def switch_ai_studio_model(page: AsyncPage, model_id: str, req_id: str) ->
try:
logger.debug("[Model] Re-enabling temporary chat mode...")
incognito_button_locator = page.locator(
'button[aria-label="Temporary chat toggle"]'
'button[aria-label="Temporary chat toggle"]',
'button[aria-label="Toggle temporary chat"]'
)

await incognito_button_locator.wait_for(
Expand Down
Loading