From 7ef547e8846be49d089258f8796ca6cfea9f2dae Mon Sep 17 00:00:00 2001 From: Max Bohomolov Date: Wed, 18 Mar 2026 01:36:32 +0000 Subject: [PATCH] expose `BrowserType` and `CrawleePage` --- src/crawlee/browsers/__init__.py | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/crawlee/browsers/__init__.py b/src/crawlee/browsers/__init__.py index 1d961d38e2..0ea1101df4 100644 --- a/src/crawlee/browsers/__init__.py +++ b/src/crawlee/browsers/__init__.py @@ -1,6 +1,8 @@ from crawlee._utils.try_import import install_import_hook as _install_import_hook from crawlee._utils.try_import import try_import as _try_import +from ._types import BrowserType, CrawleePage + _install_import_hook(__name__) @@ -15,4 +17,12 @@ with _try_import(__name__, 'PlaywrightPersistentBrowser'): from ._playwright_browser import PlaywrightPersistentBrowser -__all__ = ['BrowserPool', 'PlaywrightBrowserController', 'PlaywrightBrowserPlugin', 'PlaywrightPersistentBrowser'] + +__all__ = [ + 'BrowserPool', + 'BrowserType', + 'CrawleePage', + 'PlaywrightBrowserController', + 'PlaywrightBrowserPlugin', + 'PlaywrightPersistentBrowser', +]