MCPcopy Create free account
hub / github.com/seleniumbase/SeleniumBase / get_sbs_table_html

Function get_sbs_table_html

seleniumbase/core/visual_helper.py:48–64  ·  view source on GitHub ↗
(baseline="baseline.png", diff="baseline_diff.png")

Source from the content-addressed store, hash-verified

46
47
48def get_sbs_table_html(baseline="baseline.png", diff="baseline_diff.png"):
49 table_html = (
50 '<table border="3px solid #E6E6E6;" width="100%;" padding: 12px;'
51 ' font-size="16px;" text-align="left;" id="results-table"'
52 ' style="background-color: #FAFAFA;">'
53 '<thead id="results-table-head">'
54 "<tr>"
55 '<th style="background-color: rgba(0, 128, 0, 0.25);"'
56 ' col="baseline">Baseline Screenshot</th>'
57 '<th style="background-color: rgba(128, 0, 0, 0.25);"'
58 ' col="failure">Visual Diff Failure Screenshot</th>'
59 "</tr></thead>"
60 )
61 row = get_sbs_table_row(baseline, diff)
62 table_html += row
63 table_html += "</table>"
64 return table_html
65
66
67def get_sbs_gen_by():

Callers 1

get_sbs_htmlFunction · 0.85

Calls 1

get_sbs_table_rowFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…