browserclaw 0.3.0 → 0.3.1
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 +2 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1113,7 +1113,7 @@ async function snapshotRole(opts) {
|
|
|
1113
1113
|
targetId: opts.targetId,
|
|
1114
1114
|
refs: built.refs,
|
|
1115
1115
|
frameSelector: frameSelector || void 0,
|
|
1116
|
-
mode: "role"
|
|
1116
|
+
mode: opts.refsMode ?? "role"
|
|
1117
1117
|
});
|
|
1118
1118
|
return {
|
|
1119
1119
|
snapshot: built.snapshot,
|
|
@@ -2145,6 +2145,7 @@ var CrawlPage = class {
|
|
|
2145
2145
|
targetId: this.targetId,
|
|
2146
2146
|
selector: opts.selector,
|
|
2147
2147
|
frameSelector: opts.frameSelector,
|
|
2148
|
+
refsMode: opts.refsMode,
|
|
2148
2149
|
options: {
|
|
2149
2150
|
interactive: opts.interactive,
|
|
2150
2151
|
compact: opts.compact,
|