SeleniumBase icon

SeleniumBase

Execute Python scraping scripts using SeleniumBase API

Get Job Result

AI-generated

Summary

Fetches the result, optional binary artifacts, and cleans up a completed SeleniumBase job using its ID.

Inputs

  • jobId (required) — The ID of the job to check. Choose from the auto-populated list or use an expression.
  • options.cleanJobAfterExecution — Whether to delete the job and its artifacts from the server after retrieving results. Defaults to true.
  • options.downloadArtifacts — Whether to download generated files (screenshots, logs) as binary data. Defaults to true.

Output shape

One item per input item containing JSON with the job result and optional binary data.

The JSON result contains fields like status, error, and logs. If downloadArtifacts is true, binary data keys are the artifact filenames.

Examples

Example 1: Retrieve a completed job's result and keep artifacts on the server.

Job ID: '12345'; Download Artifacts: false

Example 2: Fetch job results and download generated screenshots as binary files.

Job ID: '12345'; Download Artifacts: true

Links

Discussion