From e83fb37fb69124b6d3fbe664bc6242ae6d1a9e26 Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Mon, 10 Feb 2025 00:36:35 +0100 Subject: [PATCH] UI - "Browser Steps" tab should be always available with helpful info (evenwhen playwright is not configured) (#2955) --- changedetectionio/templates/edit.html | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/changedetectionio/templates/edit.html b/changedetectionio/templates/edit.html index f970e608..3b3dbbe2 100644 --- a/changedetectionio/templates/edit.html +++ b/changedetectionio/templates/edit.html @@ -45,9 +45,8 @@ {% if extra_tab_content %}
  • {{ extra_tab_content }}
  • {% endif %} - {% if playwright_enabled %}
  • Browser Steps
  • - {% endif %} + {% if watch['processor'] == 'text_json_diff' %}
  • Visual Filter Selector
  • Filters & Triggers
  • @@ -199,8 +198,9 @@ Math: {{ 1 + 1 }}") }} - {% if playwright_enabled %} +
    + {% if playwright_enabled %}
    @@ -240,8 +240,16 @@ Math: {{ 1 + 1 }}") }}
    + {% else %} + +

    Sorry, this functionality only works with Playwright/Chrome enabled watches.

    +

    Enable the Playwright Chrome fetcher, or alternatively try our very affordable subscription based service.

    +

    This is because Selenium/WebDriver can not extract full page screenshots reliably.

    +

    You may need to Enable playwright environment variable and uncomment the sockpuppetbrowser from the docker-compose.yml file.

    +
    + {% endif %} - {% endif %} +
    @@ -493,6 +501,7 @@ keyword") }}

    Sorry, this functionality only works with Playwright/Chrome enabled watches.

    Enable the Playwright Chrome fetcher, or alternatively try our very affordable subscription based service.

    This is because Selenium/WebDriver can not extract full page screenshots reliably.

    +

    You may need to Enable playwright environment variable and uncomment the sockpuppetbrowser from the docker-compose.yml file.

    {% endif %}