MCPcopy
hub / github.com/garrytan/gstack / getCurrentUrl

Method getCurrentUrl

browse/src/browser-manager.ts:1034–1040  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1032 }
1033
1034 getCurrentUrl(): string {
1035 try {
1036 return this.getPage().url();
1037 } catch {
1038 return 'about:blank';
1039 }
1040 }
1041
1042 /**
1043 * Diagnostic for `$B memory` and the /memory endpoint.

Callers 5

handoffMethod · 0.95
handleMetaCommandFunction · 0.80
makeFetchHandlerFunction · 0.80
startFunction · 0.80

Calls 1

getPageMethod · 0.95

Tested by

no test coverage detected