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

Function openOptionsPage

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

Source from the content-addressed store, hash-verified

88
89/** Open the options page and wait for it to load */
90export async function openOptionsPage(context: BrowserContext, extensionId: string): Promise<Page> {
91 const page = await context.newPage();
92 await page.goto(`chrome-extension://${extensionId}/src/options.html`);
93 await page.waitForLoadState("domcontentloaded");
94 return page;
95}
96
97/** Open the popup page and wait for it to load */
98export async function openPopupPage(context: BrowserContext, extensionId: string): Promise<Page> {

Callers 11

options.spec.tsFile · 0.90
backup-zip.spec.tsFile · 0.90
settings.spec.tsFile · 0.90
openToolsPageFunction · 0.90
createScriptAndGoToListFunction · 0.90
waitForSavedScriptInListFunction · 0.85

Calls

no outgoing calls

Tested by 2

openToolsPageFunction · 0.72
createScriptAndGoToListFunction · 0.72