   @doc false
   @spec start_session([start_session_opts]) :: Wallaby.Driver.on_start_session() | no_return
   def start_session(opts \\ []) do
-    base_url = Keyword.get(opts, :remote_url, "http://localhost:4444/wd/hub/")
+    base_url = Keyword.get(opts, :remote_url, remote_url_from_config())
     create_session = Keyword.get(opts, :create_session_fn, &WebdriverClient.create_session/2)
     capabilities = Keyword.get(opts, :capabilities, capabilities_from_config(opts))
 


  Start a Wallaby Session using this driver with the following command:

  ```
  {:ok, session} = Wallaby.start_session()
  ```


    :wallaby
    |> Application.get_env(:selenium, [])
    |> Keyword.get(:capabilities, default_capabilities(opts))
  end

  defp remote_url_from_config() do
    :wallaby
    |> Application.get_env(:selenium, [])
    |> Keyword.get(:remote_url, "http://localhost:4444/wd/hub/")
  end

  @doc false
