MCPcopy
hub / github.com/VibiumDev/vibium / page

Method page

clients/javascript/src/browser.ts:54–57  ·  view source on GitHub ↗

Get the default page (first browsing context).

()

Source from the content-addressed store, hash-verified

52
53 /** Get the default page (first browsing context). */
54 async page(): Promise<Page> {
55 const result = await this.client.send<{ context: string; userContext: string }>('vibium:browser.page', {});
56 return new Page(this.client, result.context, result.userContext);
57 }
58
59 /** Create a new page (tab) in the default context. */
60 async newPage(): Promise<Page> {

Callers 15

saucedemo-e2e.mjsFile · 0.45
two-tabs.mjsFile · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
runTutorialFunction · 0.45
selectors.test.jsFile · 0.45
navigation.test.jsFile · 0.45
input-eval.test.jsFile · 0.45

Calls

no outgoing calls

Tested by 15

test_new_page_unique_idFunction · 0.36
test_bring_to_frontFunction · 0.36
test_on_popupFunction · 0.36
test_on_page_syncFunction · 0.36
test_on_popup_syncFunction · 0.36
test_browser_closeFunction · 0.36
test_headlessFunction · 0.36
test_headedFunction · 0.36
test_default_visibleFunction · 0.36