Skip to main content
Version: 2.7

Configuration

{"content": ["A class for specifying the configuration of an Actor.\n\nCan be used either globally via Configuration.get_global_configuration(),\nor it can be specific to each Actor instance on the actor.config property."]}

Index

Methods

disable_browser_sandbox_on_platform

  • disable_browser_sandbox_on_platform(): Self
  • {"content": ["Disable the browser sandbox mode when running on the Apify platform.\n\nRunning in environment where is_at_home is True does not benefit from browser sandbox as it is already running\nin a container. It can be on the contrary undesired as the process in the container might be running as root and\nthis will crash chromium that was started with browser sandbox mode."]}


    Returns Self

get_global_configuration

  • {"content": ["Retrieve the global instance of the configuration.\n\nMostly for the backwards compatibility. It is recommended to use the service_locator.get_configuration()\ninstead."]}


    Returns Configuration