We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21ed761 commit 7fd9786Copy full SHA for 7fd9786
seleniumbase/undetected/cdp.py
@@ -54,15 +54,15 @@ def __init__(self, options):
54
self._session = requests.Session()
55
self._last_resp = None
56
self._last_json = None
57
- resp = self.get(self.endpoints.json) # noqa
+ resp = self.get(self.endpoints.json)
58
self.sessionId = resp[0]["id"]
59
self.wsurl = resp[0]["webSocketDebuggerUrl"]
60
61
def tab_activate(self, id=None):
62
if not id:
63
active_tab = self.tab_list()[0]
64
- id = active_tab.id # noqa
65
- self.wsurl = active_tab.webSocketDebuggerUrl # noqa
+ id = active_tab.id
+ self.wsurl = active_tab.webSocketDebuggerUrl
66
return self.post(self.endpoints["activate"].format(id=id))
67
68
def tab_list(self):
0 commit comments