MCPcopy Index your code
hub / github.com/scriptscat/scriptcat / openAgentChatPage

Function openAgentChatPage

e2e/utils.ts:191–196  ·  view source on GitHub ↗
(context: BrowserContext, extensionId: string)

Source from the content-addressed store, hash-verified

189
190/** Open the agent chat page */
191export 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 */
199export async function openAgentProviderPage(context: BrowserContext, extensionId: string): Promise<Page> {

Callers 2

agent-chat.spec.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected