-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path__init__.py
More file actions
41 lines (38 loc) · 837 Bytes
/
__init__.py
File metadata and controls
41 lines (38 loc) · 837 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
"""
py-playwright - Python Playwright Extensions
A comprehensive wrapper around Playwright for browser automation.
"""
from chrome import (
start_chrome,
shutdown_chrome,
find_chrome_path,
is_port_open,
)
from ext_playwright import (
BrowserTypeNames,
ExtPlaywrightOption,
get_free_port,
connect_over_cdp,
)
from ext_browser_context import ExtBrowserContext, ExtPage
from ext_page import ExtPage
from ext_locator import ExtLocator
__version__ = "0.1.0"
__all__ = [
# Chrome functions
"start_chrome",
"shutdown_chrome",
"find_chrome_path",
"is_port_open",
# Playwright options
"BrowserTypeNames",
"ExtPlaywrightOption",
"get_free_port",
"connect_over_cdp",
# Browser context
"ExtBrowserContext",
# Page
"ExtPage",
# Locator
"ExtLocator",
]