Skip to content

Commit 8e79940

Browse files
committed
spinning wheel of death
1 parent d53dc25 commit 8e79940

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717

18+
import json
1819
import uuid
1920

2021
from .session import session_subscribe
@@ -47,7 +48,7 @@ def __init__(self, conn):
4748

4849
def command_iterator(self, command):
4950
"""Generator to yield command."""
50-
yield command.to_json()
51+
yield command
5152

5253
def has_callbacks(self):
5354
"""Checks if there are any callbacks set."""
@@ -231,7 +232,7 @@ def continue_request(self):
231232

232233
def command_iterator(self, command):
233234
"""Generator to yield command."""
234-
yield command.to_json()
235+
yield command
235236

236237

237238
class Response:
@@ -255,4 +256,4 @@ def continue_response(self):
255256

256257
def command_iterator(self, command):
257258
"""Generator to yield command."""
258-
yield command.to_json()
259+
yield command

0 commit comments

Comments
 (0)