Skip to content

Commit

Permalink
UI - "Browser Steps" tab should be always available with helpful info
Browse files Browse the repository at this point in the history
  • Loading branch information
dgtlmoon committed Feb 9, 2025
1 parent 09ebc6e commit c4001ec
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions changedetectionio/templates/edit.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,12 @@
{% if extra_tab_content %}
<li class="tab"><a href="#extras_tab">{{ extra_tab_content }}</a></li>
{% endif %}
{% if playwright_enabled %}
<li class="tab"><a id="browsersteps-tab" href="#browser-steps">Browser Steps</a></li>
<<<<<<< HEAD
{% endif %}
=======
<!-- should goto extra forms? -->
>>>>>>> 67a56fe7 (UI - "Browser Steps" tab should be always available with helpful info)
{% if watch['processor'] == 'text_json_diff' %}
<li class="tab"><a id="visualselector-tab" href="#visualselector">Visual Filter Selector</a></li>
<li class="tab" id="filters-and-triggers-tab"><a href="#filters-and-triggers">Filters &amp; Triggers</a></li>
Expand Down Expand Up @@ -199,8 +202,9 @@
</div>
</fieldset>
</div>
{% if playwright_enabled %}

<div class="tab-pane-inner" id="browser-steps">
{% if playwright_enabled %}
<img class="beta-logo" src="{{url_for('static_content', group='images', filename='beta-logo.png')}}" alt="New beta functionality">
<fieldset>
<div class="pure-control-group">
Expand Down Expand Up @@ -240,8 +244,15 @@ <h2 >Click here to Start</h2>
</div>
</div>
</fieldset>
{% else %}
<span class="pure-form-message-inline">
<p>Sorry, this functionality only works with Playwright/Chrome enabled watches.</p>
<p>Enable the Playwright Chrome fetcher, or alternatively try our <a href="https://lemonade.changedetection.io/start">very affordable subscription based service</a>.</p>
<p>This is because Selenium/WebDriver can not extract full page screenshots reliably.</p>
</span>
{% endif %}
</div>
{% endif %}


<div class="tab-pane-inner" id="notifications">
<fieldset>
Expand Down

0 comments on commit c4001ec

Please sign in to comment.