wallaby
wallaby copied to clipboard
Chrome doesn't close when wallaby timeout is hit
Elixir and Erlang/OTP versions
Erlang/OTP 27 [erts-15.2] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [jit]
Elixir 1.18.1 (compiled with Erlang/OTP 25)
Operating system
macOS 15.6.1
Browser
Chrome
Driver
ChromeDriver
Correct Configuration
- [x] I confirm that I have Wallaby configured correctly.
Current behavior
When the hackney_options: :timeout is hit the chrome instance is not closed after the test
See for a reproduction: https://github.com/elixir-wallaby/wallaby/pull/819
- after running
WALLABY_DRIVER=chrome mix test integration_test/cases/browser/assert_refute_has_test.exs:29Chrome is still running
Note: this might be related to https://github.com/elixir-wallaby/wallaby/issues/807
Expected behavior
I'd expect the Chrome instance to close after the mix test command finishes
Test Code & HTML
See https://github.com/elixir-wallaby/wallaby/pull/819
Demonstration Project
https://github.com/elixir-wallaby/wallaby/pull/819