File tree 2 files changed +5
-4
lines changed
2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 22
22
class Options (ChromiumOptions ):
23
23
KEY = "ms:edgeOptions"
24
24
25
- def __init__ (self ):
25
+ def __init__ (self ) -> None :
26
26
super ().__init__ ()
27
27
self ._use_webview = False
28
28
Original file line number Diff line number Diff line change 14
14
# KIND, either express or implied. See the License for the
15
15
# specific language governing permissions and limitations
16
16
# under the License.
17
+ import typing
17
18
import warnings
18
19
from typing import Union
19
20
24
25
25
26
26
27
class Log :
27
- def __init__ (self ):
28
+ def __init__ (self ) -> None :
28
29
self .level = None
29
30
30
31
def to_capabilities (self ) -> dict :
@@ -36,9 +37,9 @@ def to_capabilities(self) -> dict:
36
37
class Options (ArgOptions ):
37
38
KEY = "moz:firefoxOptions"
38
39
39
- def __init__ (self ):
40
+ def __init__ (self ) -> None :
40
41
super ().__init__ ()
41
- self ._binary : FirefoxBinary = None
42
+ self ._binary : typing . Optional [ FirefoxBinary ] = None
42
43
self ._preferences : dict = {}
43
44
self ._profile = None
44
45
self ._proxy = None
You can’t perform that action at this time.
0 commit comments