(context: BrowserContext, extensionId: string)
| 189 | |
| 190 | /** Open the agent chat page */ |
| 191 | export async function openAgentChatPage(context: BrowserContext, extensionId: string): Promise<Page> { |
| 192 | const page = await context.newPage(); |
| 193 | await page.goto(`chrome-extension://${extensionId}/src/options.html#/agent/chat`); |
| 194 | await page.waitForLoadState("domcontentloaded"); |
| 195 | return page; |
| 196 | } |
| 197 | |
| 198 | /** Open the agent provider page */ |
| 199 | export async function openAgentProviderPage(context: BrowserContext, extensionId: string): Promise<Page> { |
no outgoing calls
no test coverage detected