MCPcopy Create free account
hub / github.com/deta/surf / getNavigationHistory

Method getNavigationHistory

app/src/main/viewManager.ts:330–335  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

328 }
329
330 getNavigationHistory() {
331 const entries = this.wcv.webContents.navigationHistory.getAllEntries()
332 const index = this.wcv.webContents.navigationHistory.getActiveIndex()
333
334 return { entries, index }
335 }
336
337 async capturePage(rect?: Electron.Rectangle, quality: 'low' | 'medium' | 'high' = 'low') {
338 if (!this.wcv || !this.wcv.webContents || this.wcv.webContents.isDestroyed()) {

Callers 1

attachIPCEventsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected