Skip to content

Commit b50b9f2

Browse files
authored
feat: Expose BrowserType and CrawleePage (#1798)
1 parent edf1ee8 commit b50b9f2

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

src/crawlee/browsers/__init__.py

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
from crawlee._utils.try_import import install_import_hook as _install_import_hook
22
from crawlee._utils.try_import import try_import as _try_import
33

4+
from ._types import BrowserType, CrawleePage
5+
46
_install_import_hook(__name__)
57

68

@@ -15,4 +17,12 @@
1517
with _try_import(__name__, 'PlaywrightPersistentBrowser'):
1618
from ._playwright_browser import PlaywrightPersistentBrowser
1719

18-
__all__ = ['BrowserPool', 'PlaywrightBrowserController', 'PlaywrightBrowserPlugin', 'PlaywrightPersistentBrowser']
20+
21+
__all__ = [
22+
'BrowserPool',
23+
'BrowserType',
24+
'CrawleePage',
25+
'PlaywrightBrowserController',
26+
'PlaywrightBrowserPlugin',
27+
'PlaywrightPersistentBrowser',
28+
]

0 commit comments

Comments
 (0)