Skip to content

Commit c5f4402

Browse files
authored
Fix button locator syntax in switcher.py
1 parent 68ca6dc commit c5f4402

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

browser_utils/models/switcher.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,7 @@ async def switch_ai_studio_model(page: AsyncPage, model_id: str, req_id: str) ->
161161
try:
162162
logger.debug("[Model] Re-enabling temporary chat mode...")
163163
incognito_button_locator = page.locator(
164-
'button[aria-label="Temporary chat toggle"]',
165-
'button[aria-label="Toggle temporary chat"]'
164+
'button[aria-label="Temporary chat toggle"]', 'button[aria-label="Toggle temporary chat"]'
166165
)
167166

168167
await incognito_button_locator.wait_for(

0 commit comments

Comments
 (0)