@empiricalrun/playwright-utils
Advanced tools
Comparing version 0.6.2 to 0.6.3
# @empiricalrun/playwright-utils | ||
## 0.6.3 | ||
### Patch Changes | ||
- e605188: fix: errors in firefox browser for scroll into view | ||
## 0.6.2 | ||
@@ -4,0 +10,0 @@ |
@@ -15,3 +15,8 @@ "use strict"; | ||
await this.evaluate((node) => { | ||
node.scrollIntoViewIfNeeded(); | ||
if (node.scrollIntoViewIfNeeded) { | ||
node.scrollIntoViewIfNeeded(); | ||
} | ||
else { | ||
node.scrollIntoView(); | ||
} | ||
node.classList.add("empirical-element-grab-highlight"); | ||
@@ -18,0 +23,0 @@ setTimeout(() => { |
@@ -12,3 +12,8 @@ "use strict"; | ||
await this.evaluate((node) => { | ||
node.scrollIntoViewIfNeeded(); | ||
if (node.scrollIntoViewIfNeeded) { | ||
node.scrollIntoViewIfNeeded(); | ||
} | ||
else { | ||
node.scrollIntoView(); | ||
} | ||
node.classList.add("empirical-element-grab-highlight"); | ||
@@ -15,0 +20,0 @@ setTimeout(() => { |
@@ -12,3 +12,8 @@ "use strict"; | ||
await this.evaluate((node) => { | ||
node.scrollIntoViewIfNeeded(); | ||
if (node.scrollIntoViewIfNeeded) { | ||
node.scrollIntoViewIfNeeded(); | ||
} | ||
else { | ||
node.scrollIntoView(); | ||
} | ||
node.classList.add("empirical-element-grab-highlight"); | ||
@@ -15,0 +20,0 @@ setTimeout(() => { |
@@ -12,3 +12,8 @@ "use strict"; | ||
await this.evaluate((node) => { | ||
node.scrollIntoViewIfNeeded(); | ||
if (node.scrollIntoViewIfNeeded) { | ||
node.scrollIntoViewIfNeeded(); | ||
} | ||
else { | ||
node.scrollIntoView(); | ||
} | ||
node.classList.add("empirical-element-grab-highlight"); | ||
@@ -15,0 +20,0 @@ setTimeout(() => { |
@@ -12,3 +12,8 @@ "use strict"; | ||
await this.evaluate((node) => { | ||
node.scrollIntoViewIfNeeded(); | ||
if (node.scrollIntoViewIfNeeded) { | ||
node.scrollIntoViewIfNeeded(); | ||
} | ||
else { | ||
node.scrollIntoView(); | ||
} | ||
node.classList.add("empirical-element-grab-highlight"); | ||
@@ -15,0 +20,0 @@ setTimeout(() => { |
@@ -12,3 +12,8 @@ "use strict"; | ||
await this.evaluate((node) => { | ||
node.scrollIntoViewIfNeeded(); | ||
if (node.scrollIntoViewIfNeeded) { | ||
node.scrollIntoViewIfNeeded(); | ||
} | ||
else { | ||
node.scrollIntoView(); | ||
} | ||
node.classList.add("empirical-element-grab-highlight"); | ||
@@ -15,0 +20,0 @@ setTimeout(() => { |
@@ -12,3 +12,8 @@ "use strict"; | ||
await this.evaluate((node) => { | ||
node.scrollIntoViewIfNeeded(); | ||
if (node.scrollIntoViewIfNeeded) { | ||
node.scrollIntoViewIfNeeded(); | ||
} | ||
else { | ||
node.scrollIntoView(); | ||
} | ||
node.classList.add("empirical-element-grab-highlight"); | ||
@@ -15,0 +20,0 @@ setTimeout(() => { |
@@ -12,3 +12,8 @@ "use strict"; | ||
await this.evaluate((node) => { | ||
node.scrollIntoViewIfNeeded(); | ||
if (node.scrollIntoViewIfNeeded) { | ||
node.scrollIntoViewIfNeeded(); | ||
} | ||
else { | ||
node.scrollIntoView(); | ||
} | ||
node.classList.add("empirical-element-grab-highlight"); | ||
@@ -15,0 +20,0 @@ setTimeout(() => { |
{ | ||
"name": "@empiricalrun/playwright-utils", | ||
"version": "0.6.2", | ||
"version": "0.6.3", | ||
"publishConfig": { | ||
@@ -5,0 +5,0 @@ "registry": "https://registry.npmjs.org/", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
29805
558