diff --git a/lib/wallaby/feature.ex b/lib/wallaby/feature.ex index 758bde48..e3523adf 100644 --- a/lib/wallaby/feature.ex +++ b/lib/wallaby/feature.ex @@ -69,17 +69,19 @@ defmodule Wallaby.Feature do end ``` - If you need to change the capabilities sent to the session for a specific feature, you can assign `@sessions` to a list of keyword lists of the options to be passed to `Wallaby.start_session/1`. This will start the number of sessions equal to the size of the list. + If you need to change the headless mode, binary path, or capabilities sent to the session for a specific feature, you can assign `@sessions` to a list of keyword lists of the options to be passed to `Wallaby.start_session/1`. This will start the number of sessions equal to the size of the list. ``` @sessions [ - [capabilities: %{}] + [headless: false, binary: "some_path", capabilities: %{}] ] feature "test with different capabilities", %{session: session} do # ... end ``` + + You can also control If you don't wish to `use Wallaby.Feature` in your test module, you can add the following code to configure Ecto and create a session. ```