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

Function get_sbs_head

seleniumbase/core/visual_helper.py:23–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21
22
23def get_sbs_head():
24 # Uses caching to prevent extra method calls
25 SIDE_BY_SIDE_PNG = constants.SideBySide.get_favicon()
26 head = (
27 '<head><meta charset="utf-8">'
28 '<meta name="viewport" content="shrink-to-fit=no">'
29 '<link rel="shortcut icon" href="%s">'
30 "<title>Visual Comparison</title>"
31 "</head>" % (SIDE_BY_SIDE_PNG)
32 )
33 return head
34
35
36def get_sbs_table_row(baseline="baseline.png", diff="baseline_diff.png"):

Callers 1

get_sbs_htmlFunction · 0.85

Calls 1

get_faviconMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…