We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0264165 commit dd6301bCopy full SHA for dd6301b
src/apify/_configuration.py
@@ -373,7 +373,9 @@ def disable_browser_sandbox_on_platform(self) -> Self:
373
in a container. It can be on the contrary undesired as the process in the container might be running as root and
374
this will crash chromium that was started with browser sandbox mode.
375
"""
376
- self.disable_browser_sandbox = self.is_at_home or self.disable_browser_sandbox
+ if self.is_at_home and not self.disable_browser_sandbox:
377
+ self.disable_browser_sandbox = True
378
+ logger.warning('Actor is running on the Apify platform, `disable_browser_sandbox` was changed to True.')
379
return self
380
381
@classmethod
0 commit comments