html-browser-tester 0.0.21 → 0.0.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -85,6 +85,7 @@ class BrowserTester {
85
85
  const iframe = document.createElement('iframe');
86
86
  const body = document.querySelector('body');
87
87
  this.iframe = iframe;
88
+ iframe.style.position = 'absolute';
88
89
  iframe.style.opacity = '0';
89
90
  iframe.style.pointerEvents = 'none';
90
91
  iframe.src = url;
@@ -134,6 +135,7 @@ class BrowserTester {
134
135
  resolve(results);
135
136
  };
136
137
  iframe.addEventListener('load', iframeCallback);
138
+ iframe.classList.add('browser-test');
137
139
  body.appendChild(iframe);
138
140
  });
139
141
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "html-browser-tester",
3
3
  "main": "./lib/browser-test.js",
4
4
  "types": "./lib/browser-test.d.ts",
5
- "version": "0.0.21",
5
+ "version": "0.0.23",
6
6
  "scripts": {
7
7
  "dev": "vite",
8
8
  "preview": "vite preview",