File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
py/selenium/webdriver/common/bidi Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1919import math
2020from dataclasses import dataclass
2121from functools import singledispatchmethod
22- from typing import Any , Optional
22+ from typing import Any , Optional , Union
2323
2424from selenium .common .exceptions import WebDriverException
2525from selenium .webdriver .common .bidi .common import command_builder
@@ -255,7 +255,7 @@ def _(self, value: set):
255255 return {"type" : "set" , "value" : [self .script .convert_to_local_value (item ) for item in value ]}
256256
257257 @_type .register
258- def _ (self , value : list | tuple ):
258+ def _ (self , value : Union [ list , tuple ] ):
259259 return {"type" : "array" , "value" : [self .script .convert_to_local_value (item ) for item in value ]}
260260
261261 @_type .register
You can’t perform that action at this time.
0 commit comments