Skip to content

Commit

Permalink
Change browser_session attribute to create a default Session at Protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
neyberson committed Aug 15, 2024
1 parent fad9431 commit 5bf493a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion devtools/protocol.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
from .tab import Tab
from .session import Session
from collections import OrderedDict


class Protocol:
def __init__(self, browser_pipe):
self.browser_session = self.tab.browser_session
self.browser_session = Session(self, session_id="")
self.tabs = OrderedDict()
self.browser_pipe = browser_pipe

Expand Down

0 comments on commit 5bf493a

Please sign in to comment.