massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-pyright / node_modules / pyright / dist / typeshed-fallback / stubs / selenium / selenium / webdriver / remote / switch_to.pyi
diff --git a/.config/coc/extensions/node_modules/coc-pyright/node_modules/pyright/dist/typeshed-fallback/stubs/selenium/selenium/webdriver/remote/switch_to.pyi b/.config/coc/extensions/node_modules/coc-pyright/node_modules/pyright/dist/typeshed-fallback/stubs/selenium/selenium/webdriver/remote/switch_to.pyi
new file mode 100644 (file)
index 0000000..52e8b96
--- /dev/null
@@ -0,0 +1,22 @@
+from selenium.common.exceptions import (
+    NoSuchElementException as NoSuchElementException,
+    NoSuchFrameException as NoSuchFrameException,
+    NoSuchWindowException as NoSuchWindowException,
+)
+from selenium.webdriver.common.alert import Alert as Alert
+from selenium.webdriver.common.by import By as By
+
+from .command import Command as Command
+
+basestring = str
+
+class SwitchTo:
+    def __init__(self, driver) -> None: ...
+    @property
+    def active_element(self): ...
+    @property
+    def alert(self): ...
+    def default_content(self) -> None: ...
+    def frame(self, frame_reference) -> None: ...
+    def parent_frame(self) -> None: ...
+    def window(self, window_name) -> None: ...