Skip to content

API Index

Alphabetical index of public scripting APIs. Each entry links to the full reference on its namespace page.

A

C

  • console.clear() — Clears all console lines captured so far in the current script run and resets group nesting depth.

D

E

  • console.error(...args) — Same argument formatting as console.log, captured at the error level (styled as an error in the Logs UI).

G

L

T

W

  • console.warn(...args) — Same argument formatting as console.log, captured at the warn level (styled as a warning in the Logs UI).

A

C

D

E

F

G

  • hc.globals.clear(key) — Removes a global variable by exact key, or every key under a namespace.
  • hc.globals.get(key) — Returns the value set during this send (via hc.globals.set) if present; otherwise returns the merged runtime variable value (global, collection, and environment).
  • hc.globals.set(key, value) — Sets a global variable for the remainder of this send and persists it to app settings when the send completes.

I

  • hc.info — Postman-compatible metadata about the current script run, plus HarborClient workflow and live-page fields.

L

  • hc.livePage — Type: async factory — (url?: string, options?: { reuse?: boolean }) => Promise<LivePageHandle> Opens or reuses an embedded browser tab and returns a handle for focus, close, navigation, DOM query/evaluate/inject, and screenshots.

P

R

S

T