Files
django-stubs/django-stubs/test/selenium.pyi
Maxim Kurnikov 9a2b88b270 more cleanups
2018-12-22 04:42:37 +03:00

23 lines
683 B
Python

from typing import Any, Callable, Dict, List, Tuple, Type, Union
from django.test import LiveServerTestCase
class SeleniumTestCaseBase:
browsers: Any = ...
browser: Any = ...
def __new__(
cls: Type[SeleniumTestCaseBase],
name: str,
bases: Tuple[Type[SeleniumTestCase]],
attrs: Dict[str, Union[Callable, List[str], str]],
) -> Type[SeleniumTestCase]: ...
@classmethod
def import_webdriver(cls, browser: Any): ...
def create_webdriver(self): ...
class SeleniumTestCase(LiveServerTestCase):
implicit_wait: int = ...
@classmethod
def setUpClass(cls) -> None: ...
def disable_implicit_wait(self) -> None: ...