147 results found
12559275 avatarnightwatchjs/nightwatch
test/apidemos/chrome/chromeTest.js
2 matches
35
    const dom = await browser.chrome.sendAndGetDevToolsCommand('DOMSnapshot.captureSnapshot', {
36
      computedStyles: []
37
    });
38

39
    assert.deepStrictEqual(dom, {
40
      command: 'DOMSnapshot.captureSnapshot',
41
      args: {
126733545 avatarlangchain-ai/langchain
libs/langchain/langchain_classic/chains/natbot/crawler.py
1 matches
189
        tree = self.client.send(
190
            "DOMSnapshot.captureSnapshot",
191
            {"computedStyles": [], "includeDOMRects": True, "includePaintOrder": True},
13686290 avatarwebrecorder/browsertrix-crawler
src/util/textextract.ts
2 matches
76
  async doGetText(): Promise<string> {
77
    const result = await this.cdp.send("DOMSnapshot.captureSnapshot", {
78
      computedStyles: [],
83
  parseTextFromDOMSnapshot(
84
    result: Protocol.DOMSnapshot.CaptureSnapshotResponse,
85
  ): string {
147409 avatarmafredri/cdp
protocol/domsnapshot/domain.go
2 matches
70
	if args != nil {
71
		err = rpcc.Invoke(ctx, "DOMSnapshot.captureSnapshot", args, reply, d.conn)
72
	} else {
73
		err = rpcc.Invoke(ctx, "DOMSnapshot.captureSnapshot", nil, reply, d.conn)
92067480 avatarOSU-NLP-Group/Mind2Web
src/data_utils/process_trace.py
2 matches
105
            before_dom = await cdp_client.send(
106
                "DOMSnapshot.captureSnapshot", {"computedStyles": []}
157
            after_dom = await cdp_client.send(
158
                "DOMSnapshot.captureSnapshot", {"computedStyles": []}
37785921 avatarplatonai/PulsarRPA
pulsar-tools/pulsar-browser/src/main/java/com/github/kklisura/cdt/protocol/v2023/commands/DOM.java
2 matches
245
   * Returns the root DOM node (and optionally the subtree) to the caller. Deprecated, as it is not
246
   * designed to work well with the rest of the DOM agent. Use DOMSnapshot.captureSnapshot instead.
254
   * Returns the root DOM node (and optionally the subtree) to the caller. Deprecated, as it is not
255
   * designed to work well with the rest of the DOM agent. Use DOMSnapshot.captureSnapshot instead.
192012301 avatarbrowser-use/browser-use
browser_use/dom/service.py
1 matches
343
		def create_snapshot_request():
344
			return cdp_session.cdp_client.send.DOMSnapshot.captureSnapshot(
345
				params={
14957082 avataropenai/evals
evals/elsuite/multistep_web_tasks/webarena/core/playwright_api.py
1 matches
255
        tree = self.client.send(
256
            "DOMSnapshot.captureSnapshot",
153954657 avatarstitionai/devika
src/browser/interaction.py
1 matches
255
		tree = self.client.send(
256
			"DOMSnapshot.captureSnapshot",
257
			{"computedStyles": [], "includeDOMRects": True, "includePaintOrder": True},
5667695 avatarallenai/lumos
eval/mind2web/data_utils/process_trace.py
2 matches
107
            before_dom = await cdp_client.send(
108
                "DOMSnapshot.captureSnapshot", {"computedStyles": []}
159
            after_dom = await cdp_client.send(
160
                "DOMSnapshot.captureSnapshot", {"computedStyles": []}