Kept getting in another script so I made this test script to see what the problem was:
import os, asyncio
from arsenic import browsers, services, get_session
os.chdir(os.path.dirname(__file__))
chromeDriverPath = "./chromedriver"
async def GoToGoogle():
service = services.Chromedriver(binary=chromeDriverPath)
browser = browsers.Chrome()
async with get_session(service, browser) as session:
await session.get("www.google.com")
await asyncio.sleep(1000)
asyncio.run(GoToGoogle())
The browser is able to open, but when session.get() is called, it instantly crashes. The chromedriver version is 98.0.4758.80, and the google chrome version is the same. The equivalent of this script is working in Selenium. If this isn't a bug and my new-to-async and arsenic brain has got the code wrong, please tell me what I've gotten wrong.
I'm running macOS 10.15.7. Here's the command-line output/error:
Kept getting in another script so I made this test script to see what the problem was:
The browser is able to open, but when session.get() is called, it instantly crashes. The chromedriver version is 98.0.4758.80, and the google chrome version is the same. The equivalent of this script is working in Selenium. If this isn't a bug and my new-to-async and arsenic brain has got the code wrong, please tell me what I've gotten wrong.