Skip to content

Commit 756443d

Browse files
fixed error in selenium/webdriver/common/bidi/common.py:19
1 parent 001b95b commit 756443d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

py/selenium/webdriver/common/bidi/common.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
# KIND, either express or implied. See the License for the
1515
# specific language governing permissions and limitations
1616
# under the License.
17+
from typing import Generator, Optional
1718

18-
19-
def command_builder(method: str, params: dict = None) -> dict:
19+
def command_builder(method: str, params: Optional[dict] = None) -> Generator[dict, dict, dict]:
2020
"""Build a command iterator to send to the BiDi protocol.
2121
2222
Parameters:

0 commit comments

Comments
 (0)