2 from typing import Any, Optional, Callable, List, Text, Union, Sequence
\r
4 class Error(Exception): ...
\r
6 def register(name: Text, klass: Optional[Callable[[], BaseBrowser]], instance: BaseBrowser = ..., update_tryorder: int = ...) -> None: ...
\r
7 def get(using: Optional[Text] = ...) -> BaseBrowser: ...
\r
8 def open(url: Text, new: int = ..., autoraise: bool = ...) -> bool: ...
\r
9 def open_new(url: Text) -> bool: ...
\r
10 def open_new_tab(url: Text) -> bool: ...
\r
13 args = ... # type: List[str]
\r
14 name = ... # type: str
\r
15 basename = ... # type: str
\r
16 def __init__(self, name: Text = ...) -> None: ...
\r
17 def open(self, url: Text, new: int = ..., autoraise: bool = ...) -> bool: ...
\r
18 def open_new(self, url: Text) -> bool: ...
\r
19 def open_new_tab(self, url: Text) -> bool: ...
\r
21 class GenericBrowser(BaseBrowser):
\r
22 args = ... # type: List[str]
\r
23 name = ... # type: str
\r
24 basename = ... # type: str
\r
25 def __init__(self, name: Union[Text, Sequence[Text]]) -> None: ...
\r
26 def open(self, url: Text, new: int = ..., autoraise: bool = ...) -> bool: ...
\r
28 class BackgroundBrowser(GenericBrowser):
\r
29 def open(self, url: Text, new: int = ..., autoraise: bool = ...) -> bool: ...
\r
31 class UnixBrowser(BaseBrowser):
\r
32 raise_opts = ... # type: List[str]
\r
33 background = ... # type: bool
\r
34 redirect_stdout = ... # type: bool
\r
35 remote_args = ... # type: List[str]
\r
36 remote_action = ... # type: str
\r
37 remote_action_newwin = ... # type: str
\r
38 remote_action_newtab = ... # type: str
\r
39 def open(self, url: Text, new: int = ..., autoraise: bool = ...) -> bool: ...
\r
41 class Mozilla(UnixBrowser):
\r
42 raise_opts = ... # type: List[str]
\r
43 remote_args = ... # type: List[str]
\r
44 remote_action = ... # type: str
\r
45 remote_action_newwin = ... # type: str
\r
46 remote_action_newtab = ... # type: str
\r
47 background = ... # type: bool
\r
49 class Galeon(UnixBrowser):
\r
50 raise_opts = ... # type: List[str]
\r
51 remote_args = ... # type: List[str]
\r
52 remote_action = ... # type: str
\r
53 remote_action_newwin = ... # type: str
\r
54 background = ... # type: bool
\r
56 if sys.version_info[:2] == (2, 7) or sys.version_info >= (3, 3):
\r
57 class Chrome(UnixBrowser):
\r
58 remote_args = ... # type: List[str]
\r
59 remote_action = ... # type: str
\r
60 remote_action_newwin = ... # type: str
\r
61 remote_action_newtab = ... # type: str
\r
62 background = ... # type: bool
\r
64 class Opera(UnixBrowser):
\r
65 raise_opts = ... # type: List[str]
\r
66 remote_args = ... # type: List[str]
\r
67 remote_action = ... # type: str
\r
68 remote_action_newwin = ... # type: str
\r
69 remote_action_newtab = ... # type: str
\r
70 background = ... # type: bool
\r
72 class Elinks(UnixBrowser):
\r
73 remote_args = ... # type: List[str]
\r
74 remote_action = ... # type: str
\r
75 remote_action_newwin = ... # type: str
\r
76 remote_action_newtab = ... # type: str
\r
77 background = ... # type: bool
\r
78 redirect_stdout = ... # type: bool
\r
80 class Konqueror(BaseBrowser):
\r
81 def open(self, url: Text, new: int = ..., autoraise: bool = ...) -> bool: ...
\r
83 class Grail(BaseBrowser):
\r
84 def open(self, url: Text, new: int = ..., autoraise: bool = ...) -> bool: ...
\r
86 class WindowsDefault(BaseBrowser):
\r
87 def open(self, url: Text, new: int = ..., autoraise: bool = ...) -> bool: ...
\r
89 class MacOSX(BaseBrowser):
\r
90 name = ... # type: str
\r
91 def __init__(self, name: Text) -> None: ...
\r
92 def open(self, url: Text, new: int = ..., autoraise: bool = ...) -> bool: ...
\r
94 class MacOSXOSAScript(BaseBrowser):
\r
95 def __init__(self, name: Text) -> None: ...
\r
96 def open(self, url: Text, new: int = ..., autoraise: bool = ...) -> bool: ...
\r