-
Notifications
You must be signed in to change notification settings - Fork 59
/
typing.py
41 lines (27 loc) · 972 Bytes
/
typing.py
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
from __future__ import annotations
from typing import Protocol
import dash
class DashDuo(Protocol):
"The dash_duo pytest fixture lives in dash.testing.plugin.dash_duo."
def start_server(self, start_server) -> None:
...
def find_element(self, selector: str) -> dash.development.base_component.Component:
...
def wait_for_text_to_equal(
self, selector: str, text: str, timeout: int = None
) -> None:
...
def get_logs(self) -> list[str]:
...
def clear_storage(self) -> None:
...
def percy_snapshot(self, name: str, wait_for_callbacks: bool = False) -> None:
...
def multiple_click(self, selector: str, clicks: int) -> None:
...
def wait_for_element(self, selector: str, timeout: int = None) -> None:
...
def take_snapshot(self, name: str) -> None:
...
def wait_for_page(self, url: str = None, timeout: int = 10) -> None:
...