You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
System:
Chrome 132.0.6834.84 (Build oficial) (64 bits)
Windows 11 64bit (tested too on Windows 10 64bit)
test code:
import asyncio
import nodriver as uc
async def test_nodriver(url):
browser = await uc.Browser.create(headless=True)
tab = await browser.get(url)
await tab
html = await tab.get_content()
browser.stop()
return html
html = uc.loop().run_until_complete(test_nodriver('https://example.com'))
print(html)
traceback:
Traceback (most recent call last):
File "D:\PYTHON\test_nodriver.py", line 12, in <module>
html = uc.loop().run_until_complete(test_nodriver('https://example.com'))
File "C:\python\lib\asyncio\base_events.py", line 642, in run_until_complete
return future.result()
File "D:\PYTHON\test_nodriver.py", line 5, in test_nodriver
browser = await uc.Browser.create(headless=True)
File "C:\python\lib\site-packages\nodriver\core\browser.py", line 90, in create
await instance.start()
File "C:\python\lib\site-packages\nodriver\core\browser.py", line 393, in start
await self.connection.send(cdp.target.set_discover_targets(discover=True))
File "C:\python\lib\site-packages\nodriver\core\connection.py", line 413, in send
await self._prepare_headless()
File "C:\python\lib\site-packages\nodriver\core\connection.py", line 492, in _prepare_headless
response, error = await self._send_oneshot(
TypeError: cannot unpack non-iterable NoneType object
The text was updated successfully, but these errors were encountered:
System:
Chrome 132.0.6834.84 (Build oficial) (64 bits)
Windows 11 64bit (tested too on Windows 10 64bit)
test code:
traceback:
The text was updated successfully, but these errors were encountered: