Skip to content

Commit 58a511f

Browse files
committed
refactor: refactor imports for cleaner organization and improved clarity
1 parent abaad5b commit 58a511f

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

pydoll/elements/web_element.py

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,6 @@
1313
from pydoll.connection import ConnectionHandler
1414
from pydoll.constants import (
1515
Key,
16-
KeyEventType,
17-
KeyModifier,
18-
MouseButton,
19-
MouseEventType,
20-
ScreenshotFormat,
2116
Scripts,
2217
)
2318
from pydoll.elements.mixins import FindElementsMixin
@@ -27,13 +22,19 @@
2722
ElementNotInteractable,
2823
ElementNotVisible,
2924
)
30-
from pydoll.protocol.dom.responses import (
25+
from pydoll.protocol.dom.methods import (
3126
GetBoxModelResponse,
3227
GetOuterHTMLResponse,
3328
)
3429
from pydoll.protocol.dom.types import Quad
35-
from pydoll.protocol.page.responses import CaptureScreenshotResponse
36-
from pydoll.protocol.page.types import Viewport
30+
from pydoll.protocol.input.types import (
31+
KeyEventType,
32+
KeyModifier,
33+
MouseButton,
34+
MouseEventType,
35+
)
36+
from pydoll.protocol.page.methods import CaptureScreenshotResponse
37+
from pydoll.protocol.page.types import ScreenshotFormat, Viewport
3738
from pydoll.utils import (
3839
decode_base64_to_bytes,
3940
extract_text_from_html,

0 commit comments

Comments
 (0)