browser-stealth 0.2.0__tar.gz → 0.3.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (114) hide show
  1. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/PKG-INFO +9 -1
  2. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/pyproject.toml +16 -5
  3. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/pyproject.toml.orig +7 -3
  4. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/src/browser_stealth/__init__.py +32 -2
  5. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/src/browser_stealth/antidetect/__init__.py +16 -0
  6. browser_stealth-0.3.0/src/browser_stealth/antidetect/_scripts_core.py +498 -0
  7. browser_stealth-0.3.0/src/browser_stealth/antidetect/_scripts_surface.py +401 -0
  8. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/src/browser_stealth/antidetect/clipboard.py +57 -2
  9. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/src/browser_stealth/antidetect/config.py +26 -0
  10. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/src/browser_stealth/antidetect/core.py +15 -1
  11. browser_stealth-0.3.0/src/browser_stealth/antidetect/flags.py +306 -0
  12. browser_stealth-0.3.0/src/browser_stealth/antidetect/scripts.py +126 -0
  13. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/src/browser_stealth/concurrency/pool.py +53 -14
  14. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/src/browser_stealth/concurrency/queues.py +1 -1
  15. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/src/browser_stealth/concurrency/tabs.py +19 -6
  16. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/src/browser_stealth/crypto.py +35 -4
  17. browser_stealth-0.3.0/src/browser_stealth/exceptions.py +81 -0
  18. browser_stealth-0.3.0/src/browser_stealth/fingerprint/database.py +416 -0
  19. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/src/browser_stealth/fingerprint/external.py +8 -19
  20. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/src/browser_stealth/fingerprint/models.py +86 -1
  21. browser_stealth-0.3.0/src/browser_stealth/fingerprint/procedural.py +300 -0
  22. browser_stealth-0.3.0/src/browser_stealth/fs.py +104 -0
  23. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/src/browser_stealth/humanize/__init__.py +10 -0
  24. browser_stealth-0.3.0/src/browser_stealth/humanize/_actions_helpers.py +353 -0
  25. browser_stealth-0.3.0/src/browser_stealth/humanize/_deps.py +91 -0
  26. browser_stealth-0.3.0/src/browser_stealth/humanize/_typing_engine.py +393 -0
  27. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/src/browser_stealth/humanize/actions.py +102 -8
  28. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/src/browser_stealth/humanize/behavior.py +48 -3
  29. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/src/browser_stealth/humanize/consent.py +60 -0
  30. browser_stealth-0.3.0/src/browser_stealth/humanize/safe_find.py +238 -0
  31. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/src/browser_stealth/humanize/touch.py +2 -2
  32. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/src/browser_stealth/humanize/turnstile.py +2 -2
  33. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/src/browser_stealth/humanize/warmer.py +3 -1
  34. browser_stealth-0.3.0/src/browser_stealth/inspect/__init__.py +31 -0
  35. browser_stealth-0.3.0/src/browser_stealth/inspect/_collect.py +333 -0
  36. browser_stealth-0.3.0/src/browser_stealth/inspect/_find.py +122 -0
  37. browser_stealth-0.3.0/src/browser_stealth/inspect/_frames.py +101 -0
  38. browser_stealth-0.3.0/src/browser_stealth/inspect/_nodes.py +164 -0
  39. browser_stealth-0.3.0/src/browser_stealth/inspect/_screenshot.py +77 -0
  40. browser_stealth-0.3.0/src/browser_stealth/inspect/_snapshot.py +61 -0
  41. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/src/browser_stealth/launchers/__init__.py +2 -0
  42. browser_stealth-0.3.0/src/browser_stealth/launchers/_cdp_startup.py +160 -0
  43. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/src/browser_stealth/launchers/nodriver.py +650 -559
  44. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/src/browser_stealth/lifecycle.py +35 -19
  45. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/src/browser_stealth/logging.py +1 -1
  46. browser_stealth-0.3.0/src/browser_stealth/plugin.py +133 -0
  47. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/src/browser_stealth/profiles/rotation.py +57 -4
  48. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/src/browser_stealth/proxy/__init__.py +9 -0
  49. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/src/browser_stealth/proxy/cache.py +56 -5
  50. browser_stealth-0.3.0/src/browser_stealth/proxy/geo.py +90 -0
  51. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/src/browser_stealth/proxy/models.py +42 -5
  52. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/src/browser_stealth/proxy/resolver.py +3 -1
  53. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/src/browser_stealth/proxy/storage.py +24 -19
  54. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/src/browser_stealth/proxy/tunnel.py +87 -87
  55. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/src/browser_stealth/testing/fixtures.py +81 -0
  56. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/src/browser_stealth/testing/recorder.py +12 -6
  57. browser_stealth-0.2.0/src/browser_stealth/antidetect/scripts.py +0 -594
  58. browser_stealth-0.2.0/src/browser_stealth/exceptions.py +0 -41
  59. browser_stealth-0.2.0/src/browser_stealth/fingerprint/database.py +0 -155
  60. browser_stealth-0.2.0/src/browser_stealth/fingerprint/procedural.py +0 -190
  61. browser_stealth-0.2.0/src/browser_stealth/fs.py +0 -91
  62. browser_stealth-0.2.0/src/browser_stealth/humanize/_actions_helpers.py +0 -625
  63. browser_stealth-0.2.0/src/browser_stealth/plugin.py +0 -69
  64. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/README.md +0 -0
  65. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/src/browser_stealth/antidetect/_mobile_scripts.py +0 -0
  66. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/src/browser_stealth/antidetect/antidetect.py +0 -0
  67. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/src/browser_stealth/antidetect/antidetect_scripts.py +0 -0
  68. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/src/browser_stealth/antidetect/mobile.py +0 -0
  69. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/src/browser_stealth/bidi/__init__.py +0 -0
  70. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/src/browser_stealth/bidi/antidetect.py +0 -0
  71. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/src/browser_stealth/bidi/client.py +0 -0
  72. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/src/browser_stealth/bidi/exceptions.py +0 -0
  73. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/src/browser_stealth/bidi/session.py +0 -0
  74. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/src/browser_stealth/concurrency/__init__.py +0 -0
  75. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/src/browser_stealth/concurrency/base.py +0 -0
  76. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/src/browser_stealth/concurrency/limiter.py +0 -0
  77. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/src/browser_stealth/concurrency/metrics.py +0 -0
  78. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/src/browser_stealth/concurrency/models.py +0 -0
  79. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/src/browser_stealth/concurrency/reaper.py +0 -0
  80. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/src/browser_stealth/fingerprint/__init__.py +0 -0
  81. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/src/browser_stealth/fingerprint/synthesizer.py +0 -0
  82. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/src/browser_stealth/humanize/_mobile_scripts.py +0 -0
  83. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/src/browser_stealth/humanize/antidetect.py +0 -0
  84. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/src/browser_stealth/humanize/antidetect_scripts.py +0 -0
  85. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/src/browser_stealth/humanize/config.py +0 -0
  86. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/src/browser_stealth/humanize/math_utils.py +0 -0
  87. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/src/browser_stealth/humanize/search.py +0 -0
  88. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/src/browser_stealth/launchers/camoufox.py +0 -0
  89. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/src/browser_stealth/profiles/__init__.py +0 -0
  90. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/src/browser_stealth/profiles/adapters/__init__.py +0 -0
  91. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/src/browser_stealth/profiles/adapters/nodriver.py +0 -0
  92. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/src/browser_stealth/profiles/adapters/playwright.py +0 -0
  93. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/src/browser_stealth/profiles/adapters/selenium.py +0 -0
  94. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/src/browser_stealth/profiles/hygiene.py +0 -0
  95. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/src/browser_stealth/profiles/manager.py +0 -0
  96. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/src/browser_stealth/profiles/models.py +0 -0
  97. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/src/browser_stealth/profiles/storage.py +0 -0
  98. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/src/browser_stealth/proxy/adapters.py +0 -0
  99. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/src/browser_stealth/proxy/extension.py +0 -0
  100. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/src/browser_stealth/proxy/parser.py +0 -0
  101. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/src/browser_stealth/proxy/pool.py +0 -0
  102. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/src/browser_stealth/py.typed +0 -0
  103. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/src/browser_stealth/testing/__init__.py +0 -0
  104. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/src/browser_stealth/testing/assertions.py +0 -0
  105. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/src/browser_stealth/testing/dom_models.py +0 -0
  106. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/src/browser_stealth/testing/dom_scripts.py +0 -0
  107. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/src/browser_stealth/testing/mocks/__init__.py +0 -0
  108. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/src/browser_stealth/testing/mocks/dom.py +0 -0
  109. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/src/browser_stealth/testing/mocks/nodriver.py +0 -0
  110. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/src/browser_stealth/testing/mocks/playwright.py +0 -0
  111. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/src/browser_stealth/testing/mocks/selenium.py +0 -0
  112. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/src/browser_stealth/testing/server.py +0 -0
  113. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/src/browser_stealth/testing/session.py +0 -0
  114. {browser_stealth-0.2.0 → browser_stealth-0.3.0}/src/browser_stealth/testing/snapshot.py +0 -0
@@ -1,27 +1,35 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: browser-stealth
3
- Version: 0.2.0
3
+ Version: 0.3.0
4
4
  Summary: Next-generation browser antidetect, human-like behavior emulation (WindMouse), and profile warmer for Playwright, nodriver, and Selenium.
5
5
  Keywords: playwright-stealth,nodriver,antidetect,web-scraping,windmouse,turnstile-solver,browser-automation
6
6
  Author: Chu4hel
7
7
  Author-email: Chu4hel <106600877+Chu4hel@users.noreply.github.com>
8
8
  License-Expression: MIT
9
9
  Requires-Dist: pydantic>=2.10.0
10
+ Requires-Dist: chutils>=4.0.0
10
11
  Requires-Dist: browser-stealth[playwright,nodriver,selenium,camoufox,bidi,crypto] ; extra == 'all'
11
12
  Requires-Dist: websockets>=14.0.0 ; extra == 'bidi'
12
13
  Requires-Dist: camoufox>=0.4.0 ; extra == 'camoufox'
13
14
  Requires-Dist: cryptography>=41.0.0 ; extra == 'crypto'
15
+ Requires-Dist: browserforge>=1.2.0 ; extra == 'fingerprint'
14
16
  Requires-Dist: nodriver>=0.38 ; extra == 'nodriver'
15
17
  Requires-Dist: playwright>=1.40.0 ; extra == 'playwright'
18
+ Requires-Dist: redis>=5.0.0 ; extra == 'redis'
16
19
  Requires-Dist: selenium>=4.15.0 ; extra == 'selenium'
20
+ Requires-Dist: pytest>=8.0 ; extra == 'testing'
21
+ Requires-Dist: httpx>=0.27.0 ; extra == 'testing'
17
22
  Requires-Python: >=3.11
18
23
  Provides-Extra: all
19
24
  Provides-Extra: bidi
20
25
  Provides-Extra: camoufox
21
26
  Provides-Extra: crypto
27
+ Provides-Extra: fingerprint
22
28
  Provides-Extra: nodriver
23
29
  Provides-Extra: playwright
30
+ Provides-Extra: redis
24
31
  Provides-Extra: selenium
32
+ Provides-Extra: testing
25
33
  Description-Content-Type: text/markdown
26
34
 
27
35
  # browser-stealth 🥷
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "browser-stealth"
3
- version = "0.2.0"
3
+ version = "0.3.0"
4
4
  description = "Next-generation browser antidetect, human-like behavior emulation (WindMouse), and profile warmer for Playwright, nodriver, and Selenium."
5
5
  readme = "README.md"
6
6
  license = "MIT"
@@ -14,7 +14,10 @@ keywords = [
14
14
  "turnstile-solver",
15
15
  "browser-automation",
16
16
  ]
17
- dependencies = ["pydantic>=2.10.0"]
17
+ dependencies = [
18
+ "pydantic>=2.10.0",
19
+ "chutils>=4.0.0",
20
+ ]
18
21
 
19
22
  [[project.authors]]
20
23
  name = "Chu4hel"
@@ -27,6 +30,12 @@ selenium = ["selenium>=4.15.0"]
27
30
  camoufox = ["camoufox>=0.4.0"]
28
31
  bidi = ["websockets>=14.0.0"]
29
32
  crypto = ["cryptography>=41.0.0"]
33
+ fingerprint = ["browserforge>=1.2.0"]
34
+ redis = ["redis>=5.0.0"]
35
+ testing = [
36
+ "pytest>=8.0",
37
+ "httpx>=0.27.0",
38
+ ]
30
39
  all = ["browser-stealth[playwright,nodriver,selenium,camoufox,bidi,crypto]"]
31
40
 
32
41
  [project.entry-points."chutils.plugins.stealth"]
@@ -38,14 +47,13 @@ build-backend = "uv_build"
38
47
 
39
48
  [dependency-groups]
40
49
  dev = [
41
- "chutils",
42
50
  "cryptography>=50.0.2",
43
- "httpx>=0.28.1",
44
51
  "mypy>=2.3.1",
45
52
  "playwright>=1.62.0",
46
53
  "pytest>=9.1.1",
47
54
  "pytest-asyncio>=1.4.0",
48
55
  "pytest-mock>=3.16.0",
56
+ "httpx>=0.27.0",
49
57
  "ruff>=0.16.9",
50
58
  "selenium>=4.50.0",
51
59
  "websockets>=17.1",
@@ -57,7 +65,10 @@ pythonpath = ["src"]
57
65
  testpaths = ["tests"]
58
66
  python_files = ["test_*.py"]
59
67
  asyncio_default_fixture_loop_scope = "function"
60
- markers = ["e2e: End-to-end integration and antidetect tests"]
68
+ markers = [
69
+ "e2e: End-to-end integration and antidetect tests",
70
+ "heavy: Slow live network tests against external anti-bot detection suites (CreepJS, Sannysoft, Turnstile)",
71
+ ]
61
72
 
62
73
  [tool.ruff]
63
74
  target-version = "py311"
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "browser-stealth"
3
- version = "0.2.0"
3
+ version = "0.3.0"
4
4
  description = "Next-generation browser antidetect, human-like behavior emulation (WindMouse), and profile warmer for Playwright, nodriver, and Selenium."
5
5
  readme = "README.md"
6
6
  authors = [
@@ -19,6 +19,7 @@ keywords = [
19
19
  ]
20
20
  dependencies = [
21
21
  "pydantic>=2.10.0",
22
+ "chutils>=4.0.0",
22
23
  ]
23
24
 
24
25
  [project.optional-dependencies]
@@ -28,6 +29,9 @@ selenium = ["selenium>=4.15.0"]
28
29
  camoufox = ["camoufox>=0.4.0"]
29
30
  bidi = ["websockets>=14.0.0"]
30
31
  crypto = ["cryptography>=41.0.0"]
32
+ fingerprint = ["browserforge>=1.2.0"]
33
+ redis = ["redis>=5.0.0"]
34
+ testing = ["pytest>=8.0", "httpx>=0.27.0"]
31
35
  all = [
32
36
  "browser-stealth[playwright,nodriver,selenium,camoufox,bidi,crypto]",
33
37
  ]
@@ -41,14 +45,13 @@ build-backend = "uv_build"
41
45
 
42
46
  [dependency-groups]
43
47
  dev = [
44
- "chutils",
45
48
  "cryptography>=50.0.2",
46
- "httpx>=0.28.1",
47
49
  "mypy>=2.3.1",
48
50
  "playwright>=1.62.0",
49
51
  "pytest>=9.1.1",
50
52
  "pytest-asyncio>=1.4.0",
51
53
  "pytest-mock>=3.16.0",
54
+ "httpx>=0.27.0",
52
55
  "ruff>=0.16.9",
53
56
  "selenium>=4.50.0",
54
57
  "websockets>=17.1",
@@ -64,6 +67,7 @@ python_files = ["test_*.py"]
64
67
  asyncio_default_fixture_loop_scope = "function"
65
68
  markers = [
66
69
  "e2e: End-to-end integration and antidetect tests",
70
+ "heavy: Slow live network tests against external anti-bot detection suites (CreepJS, Sannysoft, Turnstile)",
67
71
  ]
68
72
 
69
73
  [tool.ruff]
@@ -11,6 +11,7 @@ from . import (
11
11
  concurrency,
12
12
  fingerprint,
13
13
  humanize,
14
+ inspect,
14
15
  launchers,
15
16
  profiles,
16
17
  proxy,
@@ -25,9 +26,24 @@ from .antidetect.core import (
25
26
  get_browser_launch_args,
26
27
  get_client_hints,
27
28
  )
29
+ from .antidetect.flags import (
30
+ UNSUPPORTED_CHROMIUM_FLAGS,
31
+ FlagPolicy,
32
+ UnsupportedFlag,
33
+ UnsupportedFlagRule,
34
+ find_unsupported_flags,
35
+ raise_for_unsupported_flags,
36
+ sanitize_browser_args,
37
+ )
28
38
  from .bidi.client import BiDiClient
29
39
  from .bidi.session import BiDiSession, bidi_session
30
- from .exceptions import BrowserStealthError, OptionalDependencyError
40
+ from .crypto import decrypt_portable, encrypt_portable
41
+ from .exceptions import (
42
+ BrowserStealthError,
43
+ InspectionError,
44
+ OptionalDependencyError,
45
+ UnsupportedBrowserFlagError,
46
+ )
31
47
  from .humanize.actions import (
32
48
  TouchGestureGenerator,
33
49
  TouchPoint,
@@ -58,6 +74,7 @@ from .humanize.turnstile import (
58
74
  )
59
75
  from .humanize.warmer import ProfileWarmer, SyncProfileWarmer
60
76
  from .launchers import camoufox, nodriver
77
+ from .launchers.camoufox import launch_camoufox
61
78
  from .launchers.nodriver import close_tab, launch_nodriver, nodriver_session
62
79
  from .profiles.manager import ProfileManager
63
80
  from .profiles.models import BrowserProfile
@@ -65,10 +82,11 @@ from .proxy.models import ProxyConfig, ProxyHealthResult
65
82
  from .proxy.parser import parse_proxy
66
83
  from .proxy.pool import ProxyPool
67
84
 
68
- __version__ = "0.2.0"
85
+ __version__ = "0.3.0"
69
86
 
70
87
  __all__ = [
71
88
  "ANTIDETECT_JS_SCRIPT",
89
+ "UNSUPPORTED_CHROMIUM_FLAGS",
72
90
  "AntidetectConfig",
73
91
  "BehavioralProfile",
74
92
  "BezierCurveGenerator",
@@ -76,6 +94,8 @@ __all__ = [
76
94
  "BiDiSession",
77
95
  "BrowserProfile",
78
96
  "BrowserStealthError",
97
+ "FlagPolicy",
98
+ "InspectionError",
79
99
  "JitterDelayGenerator",
80
100
  "KeyboardTypoGenerator",
81
101
  "OptionalDependencyError",
@@ -87,6 +107,9 @@ __all__ = [
87
107
  "SyncProfileWarmer",
88
108
  "TouchGestureGenerator",
89
109
  "TouchPoint",
110
+ "UnsupportedBrowserFlagError",
111
+ "UnsupportedFlag",
112
+ "UnsupportedFlagRule",
90
113
  "WindMouseGenerator",
91
114
  "antidetect",
92
115
  "apply_antidetect_nodriver",
@@ -105,13 +128,18 @@ __all__ = [
105
128
  "click",
106
129
  "close_tab",
107
130
  "concurrency",
131
+ "decrypt_portable",
108
132
  "detect_cf_turnstile",
133
+ "encrypt_portable",
134
+ "find_unsupported_flags",
109
135
  "fingerprint",
110
136
  "get_browser_launch_args",
111
137
  "get_client_hints",
112
138
  "human_sleep",
113
139
  "humanize",
140
+ "inspect",
114
141
  "is_cf_turnstile_solved",
142
+ "launch_camoufox",
115
143
  "launch_nodriver",
116
144
  "launchers",
117
145
  "move_mouse",
@@ -120,6 +148,8 @@ __all__ = [
120
148
  "parse_proxy",
121
149
  "profiles",
122
150
  "proxy",
151
+ "raise_for_unsupported_flags",
152
+ "sanitize_browser_args",
123
153
  "scroll_to",
124
154
  "solve_cf_turnstile",
125
155
  "testing",
@@ -21,6 +21,15 @@ from .core import (
21
21
  get_browser_launch_args,
22
22
  get_client_hints,
23
23
  )
24
+ from .flags import (
25
+ UNSUPPORTED_CHROMIUM_FLAGS,
26
+ FlagPolicy,
27
+ UnsupportedFlag,
28
+ UnsupportedFlagRule,
29
+ find_unsupported_flags,
30
+ raise_for_unsupported_flags,
31
+ sanitize_browser_args,
32
+ )
24
33
  from .scripts import (
25
34
  DEFAULT_DEVICE_MEMORY,
26
35
  DEFAULT_HARDWARE_CONCURRENCY,
@@ -37,7 +46,11 @@ __all__ = [
37
46
  "DEFAULT_WEBGL_VENDOR",
38
47
  "GET_COPIED_CLIPBOARD_JS",
39
48
  "INSTALL_CLIPBOARD_HOOK_JS",
49
+ "UNSUPPORTED_CHROMIUM_FLAGS",
40
50
  "AntidetectConfig",
51
+ "FlagPolicy",
52
+ "UnsupportedFlag",
53
+ "UnsupportedFlagRule",
41
54
  "_ensure_nodriver",
42
55
  "_ensure_playwright",
43
56
  "_ensure_selenium",
@@ -47,7 +60,10 @@ __all__ = [
47
60
  "apply_antidetect_selenium",
48
61
  "apply_clipboard_isolation",
49
62
  "extract_clearance_cookies",
63
+ "find_unsupported_flags",
50
64
  "get_browser_launch_args",
51
65
  "get_client_hints",
52
66
  "get_isolated_clipboard_text",
67
+ "raise_for_unsupported_flags",
68
+ "sanitize_browser_args",
53
69
  ]