View Source ScraperEx.Sandbox (scraper_ex v0.2.3)
Sandboxing allows you to set the return value of a specific flow
ScraperEx.Sandbox.set_run_task_result(my_flow(), %{my_result: :ok})
Link to this section Summary
Link to this section Functions
@spec run_task_result(flow_config :: [ScraperEx.task_config()]) :: any()
Gets the results for a flow
@spec set_run_task_result( flow_config :: [ScraperEx.task_config()], {:ok, any()} | {:error, any()} ) :: :ok
Sets the result for a flow