From 0afa47737b76affe265244da93372f01adb5ca3c Mon Sep 17 00:00:00 2001 From: dvic Date: Wed, 12 Jul 2023 20:53:47 +0200 Subject: [PATCH] New options are documented --- lib/wallaby/feature.ex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/wallaby/feature.ex b/lib/wallaby/feature.ex index 758bde48..7d3e5ceb 100644 --- a/lib/wallaby/feature.ex +++ b/lib/wallaby/feature.ex @@ -69,11 +69,11 @@ 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 # ...