HENNGE / arsenic

Async WebDriver implementation for asyncio and asyncio-compatible frameworks
Other
350 stars 53 forks source link

`WebDriver.new_session` does not do correct error checking/handling (chromedriver) #18

Closed ojii closed 6 years ago

ojii commented 6 years ago

Example response (when giving invalid desired caps):

{'sessionId': 'b1793a74694f52539f63be020cfd22a9', 'status': 13, 'value': {'message': 'unknown error: cannot parse capability: chromeOptions\nfrom unknown error: must be a dictionary\n (Driver info: chromedriver=2.31.488774 (7e15618d1bf16df8bf0ecf2914ed1964a387ba0b),platform=Mac OS X 10.12.6 x86_64)'}}

ojii commented 6 years ago

Fixed in 1.0.0.dev6