File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2222class Options (ChromiumOptions ):
2323 KEY = "ms:edgeOptions"
2424
25- def __init__ (self ):
25+ def __init__ (self ) -> None :
2626 super ().__init__ ()
2727 self ._use_webview = False
2828
Original file line number Diff line number Diff line change 1414# KIND, either express or implied. See the License for the
1515# specific language governing permissions and limitations
1616# under the License.
17+ import typing
1718import warnings
1819from typing import Union
1920
2425
2526
2627class Log :
27- def __init__ (self ):
28+ def __init__ (self ) -> None :
2829 self .level = None
2930
3031 def to_capabilities (self ) -> dict :
@@ -36,9 +37,9 @@ def to_capabilities(self) -> dict:
3637class Options (ArgOptions ):
3738 KEY = "moz:firefoxOptions"
3839
39- def __init__ (self ):
40+ def __init__ (self ) -> None :
4041 super ().__init__ ()
41- self ._binary : FirefoxBinary = None
42+ self ._binary : typing . Optional [ FirefoxBinary ] = None
4243 self ._preferences : dict = {}
4344 self ._profile = None
4445 self ._proxy = None
You can’t perform that action at this time.
0 commit comments