simoncck commited on
Commit
55a2db8
·
verified ·
1 Parent(s): f6bee10

Update browser_automation_ui.html

Browse files
Files changed (1) hide show
  1. browser_automation_ui.html +2 -0
browser_automation_ui.html CHANGED
@@ -239,6 +239,7 @@ All endpoints return { ok: true/false, data, error }
239
 
240
  if (b64) {
241
  const dataUrl = `data:image/png;base64,${b64}`;
 
242
 
243
  // Show thumbnail
244
  document.getElementById('shotPreview').innerHTML =
@@ -247,6 +248,7 @@ All endpoints return { ok: true/false, data, error }
247
  // Wire up & reveal the download button
248
  const dl = document.getElementById('downloadBtn');
249
  dl.href = dataUrl;
 
250
  dl.style.display = 'inline-flex';
251
  }
252
  }
 
239
 
240
  if (b64) {
241
  const dataUrl = `data:image/png;base64,${b64}`;
242
+ alert("testing")
243
 
244
  // Show thumbnail
245
  document.getElementById('shotPreview').innerHTML =
 
248
  // Wire up & reveal the download button
249
  const dl = document.getElementById('downloadBtn');
250
  dl.href = dataUrl;
251
+ alert(dataUrl)
252
  dl.style.display = 'inline-flex';
253
  }
254
  }