@skrillex1224/playwright-toolkit 2.1.277 → 2.1.279
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.
- package/dist/index.cjs +4 -6
- package/dist/index.cjs.map +2 -2
- package/dist/index.js +4 -6
- package/dist/index.js.map +2 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -4711,9 +4711,7 @@ var buildActionOptions = (options = {}) => {
|
|
|
4711
4711
|
if (options && options.timeout != null) {
|
|
4712
4712
|
actionOptions.timeout = options.timeout;
|
|
4713
4713
|
}
|
|
4714
|
-
|
|
4715
|
-
actionOptions.force = options.force;
|
|
4716
|
-
}
|
|
4714
|
+
actionOptions.force = true;
|
|
4717
4715
|
const humanConfig = buildTypingHumanConfig(options);
|
|
4718
4716
|
if (humanConfig) {
|
|
4719
4717
|
actionOptions.human_config = humanConfig;
|
|
@@ -4870,7 +4868,7 @@ var CloakBrowserHumanize = {
|
|
|
4870
4868
|
return false;
|
|
4871
4869
|
}
|
|
4872
4870
|
if (typeof resolvedTarget.hover === "function") {
|
|
4873
|
-
await resolvedTarget.hover();
|
|
4871
|
+
await resolvedTarget.hover({ force: true });
|
|
4874
4872
|
return true;
|
|
4875
4873
|
}
|
|
4876
4874
|
const box = await resolvedTarget.boundingBox?.();
|
|
@@ -5042,10 +5040,10 @@ var CloakBrowserHumanize = {
|
|
|
5042
5040
|
}
|
|
5043
5041
|
await ensureDesktopHumanized(page);
|
|
5044
5042
|
if (typeof page.clear === "function") {
|
|
5045
|
-
await page.clear(selector);
|
|
5043
|
+
await page.clear(selector, { force: true });
|
|
5046
5044
|
return;
|
|
5047
5045
|
}
|
|
5048
|
-
await page.fill(selector, "");
|
|
5046
|
+
await page.fill(selector, "", { force: true });
|
|
5049
5047
|
},
|
|
5050
5048
|
async warmUpBrowsing(page, baseDuration = 3500) {
|
|
5051
5049
|
if (isMobilePage(page)) {
|