{
  "format": 3,
  "id": "6.2",
  "title": "Codegen records what you meant",
  "layers": {
    "page": {
      "label": "Page"
    },
    "server": {
      "label": "Server"
    },
    "client": {
      "label": "Client"
    }
  },
  "lanes": {
    "page": {
      "label": "PAGE · INJECTED RECORDER",
      "layer": "page",
      "y": 16,
      "h": 184.6,
      "x": 16,
      "w": 1310
    },
    "server": {
      "label": "SERVER · RECORDER AND GENERATION",
      "layer": "server",
      "y": 228.6,
      "h": 184.6,
      "x": 16,
      "w": 1310
    },
    "source": {
      "label": "SOURCE · AUTHOR REVIEW",
      "layer": "client",
      "y": 441.2,
      "h": 297.2,
      "x": 16,
      "w": 1310
    }
  },
  "frames": {},
  "nodes": {
    "mode": {
      "label": "inspect · record",
      "layer": "page",
      "lane": "page",
      "box": [
        32,
        40,
        122,
        36
      ]
    },
    "events": {
      "label": "clicks · input · keys",
      "layer": "page",
      "lane": "page",
      "box": [
        186,
        40,
        144,
        36
      ]
    },
    "check": {
      "label": "check() / uncheck()",
      "layer": "page",
      "lane": "page",
      "box": [
        271,
        152.6,
        145,
        36
      ]
    },
    "fill": {
      "label": "fill(current value)",
      "layer": "page",
      "lane": "page",
      "box": [
        106,
        152.6,
        133,
        36
      ]
    },
    "locator": {
      "label": "rank · verify locator",
      "layer": "page",
      "lane": "page",
      "box": [
        364,
        40,
        147,
        36
      ]
    },
    "files": {
      "label": "browser file names",
      "layer": "page",
      "lane": "page",
      "box": [
        1016,
        40,
        144,
        36
      ]
    },
    "merge": {
      "label": "adjacent fills",
      "layer": "server",
      "lane": "server",
      "box": [
        543,
        252.6,
        104,
        36
      ]
    },
    "buffer": {
      "label": "500 ms click buffer",
      "layer": "server",
      "lane": "server",
      "box": [
        679,
        252.6,
        144,
        36
      ]
    },
    "generate": {
      "label": "generate source",
      "layer": "server",
      "lane": "server",
      "box": [
        531.5,
        365.2,
        127,
        36
      ]
    },
    "execute": {
      "label": "strict frame click",
      "layer": "server",
      "lane": "server",
      "box": [
        855,
        252.6,
        129,
        36
      ]
    },
    "calls": {
      "label": "generated calls",
      "layer": "client",
      "lane": "source",
      "box": [
        534.5,
        690.4,
        121,
        36
      ]
    },
    "review": {
      "label": "review file path",
      "layer": "client",
      "lane": "source",
      "box": [
        1192,
        465.2,
        122,
        36
      ]
    }
  },
  "edges": {
    "check": {
      "from": "events",
      "to": "check",
      "label": {
        "at": [
          355.5,
          118.5
        ],
        "text": "checkbox"
      },
      "path": "M285.335701598579,76 L343.5,114.3 L343.5,152.6",
      "badge": [
        330.41179199466995,
        105.68168291578853
      ]
    },
    "fill": {
      "from": "events",
      "to": "fill",
      "label": {
        "at": [
          184.5,
          118.5
        ],
        "text": "value"
      },
      "path": "M230.66429840142095,76 L172.5,114.3 L172.5,152.6",
      "badge": [
        172.5,
        114.3
      ]
    },
    "merge": {
      "from": "merge",
      "to": "generate",
      "label": {
        "at": [
          607,
          331.09999999999997
        ],
        "text": "collapse"
      },
      "path": "M595,288.6 L595,326.9 L595,365.2",
      "badge": [
        595,
        326.9
      ]
    },
    "calls": {
      "from": "generate",
      "to": "calls",
      "label": {
        "at": [
          551.395,
          622.3
        ],
        "text": "calls"
      },
      "path": "M595,401.2 L595,545.8 L595,545.8 L595,690.4",
      "badge": [
        595,
        545.8
      ]
    }
  },
  "scenarios": [
    {
      "id": "how",
      "label": "How codegen works",
      "display": {
        "counterLabel": false,
        "edges": "progressive",
        "edgeBadges": true,
        "nodeBadges": false,
        "log": "incremental"
      },
      "steps": [
        {
          "id": "select-inspection-or-recording",
          "title": "Select inspection or recording",
          "text": "Inspection and recording use different injected tools. Recording enablement changes with the mode.",
          "show": [
            "mode"
          ],
          "current": [
            "mode"
          ],
          "edges": [],
          "defs": [
            "mode"
          ],
          "log": [],
          "sources": [
            {
              "label": "recorder.ts:252-266",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/playwright-core/src/server/recorder.ts#L252-L266"
            },
            {
              "label": "recorder.ts:467-469",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/playwright-core/src/server/recorder.ts#L467-L469"
            },
            {
              "label": "recorder.ts:1296-1306",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/injected/src/recorder/recorder.ts#L1296-L1306"
            }
          ],
          "deeper": [
            {
              "title": "2.2 A locator stores the recipe, engines find the elements",
              "href": "/2-actions/2-2-locator-is-a-recipe/"
            },
            {
              "title": "6.1 A trace joins events with selected snapshots",
              "href": "/6-tracing/6-1-what-a-trace-records/"
            }
          ]
        },
        {
          "id": "capture-actions-not-every-event",
          "title": "Capture actions, not every event",
          "text": "A checkbox click becomes check() or uncheck(). Input records the current value; ordinary letter keys add no separate press().",
          "show": [
            "mode",
            "events",
            "check",
            "fill"
          ],
          "current": [
            "events",
            "check",
            "fill"
          ],
          "edges": [
            "check",
            "fill"
          ],
          "defs": [
            "events",
            "check",
            "fill"
          ],
          "log": [],
          "sources": [
            {
              "label": "recorder.ts:1328-1337",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/injected/src/recorder/recorder.ts#L1328-L1337"
            },
            {
              "label": "recorder.ts:261-282",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/injected/src/recorder/recorder.ts#L261-L282"
            },
            {
              "label": "recorder.ts:399-413",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/injected/src/recorder/recorder.ts#L399-L413"
            },
            {
              "label": "recorder.ts:425-449",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/injected/src/recorder/recorder.ts#L425-L449"
            },
            {
              "label": "recorder.ts:614-638",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/injected/src/recorder/recorder.ts#L614-L638"
            }
          ],
          "deeper": [
            {
              "title": "2.2 A locator stores the recipe, engines find the elements",
              "href": "/2-actions/2-2-locator-is-a-recipe/"
            },
            {
              "title": "6.1 A trace joins events with selected snapshots",
              "href": "/6-tracing/6-1-what-a-trace-records/"
            }
          ]
        },
        {
          "id": "rank-and-verify-on-the-current-p",
          "title": "Rank and verify on the current page",
          "text": "Candidates are scored and checked against this element on the current page. Selector generation uses the configured test ID attribute.",
          "show": [
            "mode",
            "events",
            "check",
            "fill",
            "locator"
          ],
          "current": [
            "locator"
          ],
          "edges": [],
          "defs": [
            "locator"
          ],
          "log": [],
          "sources": [
            {
              "label": "recorder.ts:566-568",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/injected/src/recorder/recorder.ts#L566-L568"
            },
            {
              "label": "selectorGenerator.ts:144-164",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/injected/src/selectorGenerator.ts#L144-L164"
            }
          ],
          "deeper": [
            {
              "title": "2.2 A locator stores the recipe, engines find the elements",
              "href": "/2-actions/2-2-locator-is-a-recipe/"
            },
            {
              "title": "6.1 A trace joins events with selected snapshots",
              "href": "/6-tracing/6-1-what-a-trace-records/"
            }
          ]
        },
        {
          "id": "merge-adjacent-fills",
          "title": "Merge adjacent fills",
          "text": "Recorded selectors include their frame. Adjacent fills merge only on the same page and selector, retaining both actions’ signals.",
          "show": [
            "mode",
            "events",
            "check",
            "fill",
            "locator",
            "merge"
          ],
          "current": [
            "merge"
          ],
          "edges": [],
          "defs": [
            "merge"
          ],
          "code": "merge",
          "log": [],
          "sources": [
            {
              "label": "recorderUtils.ts:88-108",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/playwright-core/src/server/recorder/recorderUtils.ts#L88-L108"
            },
            {
              "label": "recorder.ts:543-553",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/playwright-core/src/server/recorder.ts#L543-L553"
            }
          ],
          "deeper": [
            {
              "title": "2.2 A locator stores the recipe, engines find the elements",
              "href": "/2-actions/2-2-locator-is-a-recipe/"
            },
            {
              "title": "6.1 A trace joins events with selected snapshots",
              "href": "/6-tracing/6-1-what-a-trace-records/"
            }
          ]
        },
        {
          "id": "replace-the-preceding-click",
          "title": "Replace the preceding click",
          "text": "Left clicks wait in a 500 ms buffer. A higher click count replaces a pending click on the same page and target.",
          "show": [
            "mode",
            "events",
            "check",
            "fill",
            "locator",
            "merge",
            "buffer"
          ],
          "current": [
            "buffer"
          ],
          "edges": [],
          "defs": [
            "buffer"
          ],
          "log": [],
          "sources": [
            {
              "label": "recorderSignalProcessor.ts:29-31",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/playwright-core/src/server/recorder/recorderSignalProcessor.ts#L29-L31"
            },
            {
              "label": "recorderSignalProcessor.ts:84-100",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/playwright-core/src/server/recorder/recorderSignalProcessor.ts#L84-L100"
            }
          ],
          "deeper": [
            {
              "title": "2.2 A locator stores the recipe, engines find the elements",
              "href": "/2-actions/2-2-locator-is-a-recipe/"
            },
            {
              "title": "6.1 A trace joins events with selected snapshots",
              "href": "/6-tracing/6-1-what-a-trace-records/"
            }
          ]
        },
        {
          "id": "generate-language-source",
          "title": "Generate language source",
          "text": "RecorderApp collapses actions and generates source for each language. Generation joins a header, action calls and footer; a two-click action generates dblclick().",
          "show": [
            "mode",
            "events",
            "check",
            "fill",
            "locator",
            "merge",
            "buffer",
            "generate",
            "calls"
          ],
          "current": [
            "generate",
            "calls"
          ],
          "edges": [
            "merge",
            "calls"
          ],
          "defs": [
            "generate",
            "calls"
          ],
          "log": [],
          "sources": [
            {
              "label": "recorderUtils.ts:88-108",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/playwright-core/src/server/recorder/recorderUtils.ts#L88-L108"
            },
            {
              "label": "recorderApp.ts:310-328",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/playwright-core/src/server/recorder/recorderApp.ts#L310-L328"
            },
            {
              "label": "language.ts:22-29",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/isomorphic/codegen/language.ts#L22-L29"
            },
            {
              "label": "javascript.ts:103-119",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/isomorphic/codegen/javascript.ts#L103-L119"
            }
          ],
          "deeper": [
            {
              "title": "2.2 A locator stores the recipe, engines find the elements",
              "href": "/2-actions/2-2-locator-is-a-recipe/"
            },
            {
              "title": "6.1 A trace joins events with selected snapshots",
              "href": "/6-tracing/6-1-what-a-trace-records/"
            }
          ]
        },
        {
          "id": "execution-is-a-separate-path",
          "title": "Execution is a separate path",
          "text": "Executing a click performs a strict frame click. This is separate from generating source.",
          "show": [
            "mode",
            "events",
            "check",
            "fill",
            "locator",
            "merge",
            "buffer",
            "generate",
            "calls",
            "execute"
          ],
          "current": [
            "execute"
          ],
          "edges": [],
          "defs": [
            "execute"
          ],
          "log": [],
          "sources": [
            {
              "label": "recorderRunner.ts:24-27",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/playwright-core/src/server/recorder/recorderRunner.ts#L24-L27"
            },
            {
              "label": "language.ts:22-29",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/isomorphic/codegen/language.ts#L22-L29"
            }
          ],
          "deeper": [
            {
              "title": "2.2 A locator stores the recipe, engines find the elements",
              "href": "/2-actions/2-2-locator-is-a-recipe/"
            },
            {
              "title": "6.1 A trace joins events with selected snapshots",
              "href": "/6-tracing/6-1-what-a-trace-records/"
            }
          ]
        },
        {
          "id": "review-the-browser-file-name",
          "title": "Review the browser file name",
          "text": "File recording stores browser file names. Your test needs a path that exists on its machine.",
          "show": [
            "mode",
            "events",
            "check",
            "fill",
            "locator",
            "merge",
            "buffer",
            "generate",
            "calls",
            "execute",
            "files",
            "review"
          ],
          "current": [
            "files",
            "review"
          ],
          "edges": [],
          "defs": [
            "files",
            "review"
          ],
          "code": "review",
          "log": [],
          "sources": [
            {
              "label": "recorder.ts:380-387",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/injected/src/recorder/recorder.ts#L380-L387"
            }
          ],
          "deeper": [
            {
              "title": "2.2 A locator stores the recipe, engines find the elements",
              "href": "/2-actions/2-2-locator-is-a-recipe/"
            },
            {
              "title": "6.1 A trace joins events with selected snapshots",
              "href": "/6-tracing/6-1-what-a-trace-records/"
            }
          ]
        }
      ]
    },
    {
      "id": "inspect",
      "label": "Inspect",
      "display": {
        "counterLabel": true,
        "edges": "progressive",
        "edgeBadges": false,
        "nodeBadges": true,
        "log": "incremental"
      },
      "whole": {
        "title": "Inspect, then record",
        "text": "Example: check a checkbox. Inspecting selects an element; recording saves actions."
      },
      "steps": [
        {
          "id": "inspect-record",
          "title": "inspect · record",
          "text": "Inspect the page without recording an action.",
          "show": [
            "mode",
            "events",
            "check",
            "fill",
            "locator",
            "files",
            "merge",
            "buffer",
            "generate",
            "execute",
            "calls",
            "review"
          ],
          "current": [
            "mode"
          ],
          "edges": [],
          "defs": [
            "inspect-state-0"
          ],
          "log": [],
          "sources": [
            {
              "label": "recorder.ts:252-266",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/playwright-core/src/server/recorder.ts#L252-L266"
            },
            {
              "label": "recorder.ts:467-469",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/playwright-core/src/server/recorder.ts#L467-L469"
            },
            {
              "label": "recorder.ts:1296-1306",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/injected/src/recorder/recorder.ts#L1296-L1306"
            },
            {
              "label": "recorder.ts:261-282",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/injected/src/recorder/recorder.ts#L261-L282"
            },
            {
              "label": "recorder.ts:566-568",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/injected/src/recorder/recorder.ts#L566-L568"
            },
            {
              "label": "selectorGenerator.ts:144-164",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/injected/src/selectorGenerator.ts#L144-L164"
            },
            {
              "label": "javascript.ts:103-119",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/isomorphic/codegen/javascript.ts#L103-L119"
            }
          ],
          "deeper": [
            {
              "title": "2.2 A locator stores the recipe, engines find the elements",
              "href": "/2-actions/2-2-locator-is-a-recipe/"
            },
            {
              "title": "6.1 A trace joins events with selected snapshots",
              "href": "/6-tracing/6-1-what-a-trace-records/"
            }
          ]
        },
        {
          "id": "check-uncheck",
          "title": "check() / uncheck()",
          "text": "Switch to recording and click the checkbox.",
          "show": [
            "mode",
            "events",
            "check",
            "fill",
            "locator",
            "files",
            "merge",
            "buffer",
            "generate",
            "execute",
            "calls",
            "review"
          ],
          "current": [
            "check"
          ],
          "edges": [],
          "defs": [
            "inspect-state-1"
          ],
          "log": [],
          "sources": [
            {
              "label": "recorder.ts:252-266",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/playwright-core/src/server/recorder.ts#L252-L266"
            },
            {
              "label": "recorder.ts:467-469",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/playwright-core/src/server/recorder.ts#L467-L469"
            },
            {
              "label": "recorder.ts:1296-1306",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/injected/src/recorder/recorder.ts#L1296-L1306"
            },
            {
              "label": "recorder.ts:261-282",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/injected/src/recorder/recorder.ts#L261-L282"
            },
            {
              "label": "recorder.ts:566-568",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/injected/src/recorder/recorder.ts#L566-L568"
            },
            {
              "label": "selectorGenerator.ts:144-164",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/injected/src/selectorGenerator.ts#L144-L164"
            },
            {
              "label": "javascript.ts:103-119",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/isomorphic/codegen/javascript.ts#L103-L119"
            }
          ],
          "deeper": [
            {
              "title": "2.2 A locator stores the recipe, engines find the elements",
              "href": "/2-actions/2-2-locator-is-a-recipe/"
            },
            {
              "title": "6.1 A trace joins events with selected snapshots",
              "href": "/6-tracing/6-1-what-a-trace-records/"
            }
          ]
        },
        {
          "id": "rank-verify-locator",
          "title": "rank · verify locator",
          "text": "Rank locator candidates and check which ones find this checkbox.",
          "show": [
            "mode",
            "events",
            "check",
            "fill",
            "locator",
            "files",
            "merge",
            "buffer",
            "generate",
            "execute",
            "calls",
            "review"
          ],
          "current": [
            "locator"
          ],
          "edges": [],
          "defs": [
            "inspect-state-2"
          ],
          "log": [],
          "sources": [
            {
              "label": "recorder.ts:252-266",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/playwright-core/src/server/recorder.ts#L252-L266"
            },
            {
              "label": "recorder.ts:467-469",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/playwright-core/src/server/recorder.ts#L467-L469"
            },
            {
              "label": "recorder.ts:1296-1306",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/injected/src/recorder/recorder.ts#L1296-L1306"
            },
            {
              "label": "recorder.ts:261-282",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/injected/src/recorder/recorder.ts#L261-L282"
            },
            {
              "label": "recorder.ts:566-568",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/injected/src/recorder/recorder.ts#L566-L568"
            },
            {
              "label": "selectorGenerator.ts:144-164",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/injected/src/selectorGenerator.ts#L144-L164"
            },
            {
              "label": "javascript.ts:103-119",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/isomorphic/codegen/javascript.ts#L103-L119"
            }
          ],
          "deeper": [
            {
              "title": "2.2 A locator stores the recipe, engines find the elements",
              "href": "/2-actions/2-2-locator-is-a-recipe/"
            },
            {
              "title": "6.1 A trace joins events with selected snapshots",
              "href": "/6-tracing/6-1-what-a-trace-records/"
            }
          ]
        }
      ],
      "flow": [
        {
          "node": "mode",
          "step": "inspect-record",
          "log": []
        },
        {
          "node": "check",
          "step": "check-uncheck",
          "log": []
        },
        {
          "node": "locator",
          "step": "rank-verify-locator",
          "log": []
        }
      ]
    },
    {
      "id": "type",
      "label": "Type",
      "display": {
        "counterLabel": true,
        "edges": "progressive",
        "edgeBadges": false,
        "nodeBadges": true,
        "log": "incremental"
      },
      "whole": {
        "title": "Type, then double-click",
        "text": "Example: type A, then Ada in one field; double-click Save on the same page."
      },
      "steps": [
        {
          "id": "fill-current-value",
          "title": "fill(current value)",
          "text": "Typing records the current value; ordinary letter keys add no separate press().",
          "show": [
            "mode",
            "events",
            "check",
            "fill",
            "locator",
            "files",
            "merge",
            "buffer",
            "generate",
            "execute",
            "calls",
            "review"
          ],
          "current": [
            "fill"
          ],
          "edges": [],
          "defs": [
            "type-state-0"
          ],
          "log": [],
          "sources": [
            {
              "label": "recorder.ts:1328-1337",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/injected/src/recorder/recorder.ts#L1328-L1337"
            },
            {
              "label": "recorder.ts:399-413",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/injected/src/recorder/recorder.ts#L399-L413"
            },
            {
              "label": "recorder.ts:614-638",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/injected/src/recorder/recorder.ts#L614-L638"
            },
            {
              "label": "recorder.ts:566-568",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/injected/src/recorder/recorder.ts#L566-L568"
            },
            {
              "label": "selectorGenerator.ts:144-164",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/injected/src/selectorGenerator.ts#L144-L164"
            },
            {
              "label": "recorderSignalProcessor.ts:29-31",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/playwright-core/src/server/recorder/recorderSignalProcessor.ts#L29-L31"
            },
            {
              "label": "recorderSignalProcessor.ts:84-100",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/playwright-core/src/server/recorder/recorderSignalProcessor.ts#L84-L100"
            },
            {
              "label": "recorderUtils.ts:88-108",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/playwright-core/src/server/recorder/recorderUtils.ts#L88-L108"
            },
            {
              "label": "recorder.ts:543-553",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/playwright-core/src/server/recorder.ts#L543-L553"
            },
            {
              "label": "javascript.ts:103-119",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/isomorphic/codegen/javascript.ts#L103-L119"
            }
          ],
          "deeper": [
            {
              "title": "2.2 A locator stores the recipe, engines find the elements",
              "href": "/2-actions/2-2-locator-is-a-recipe/"
            },
            {
              "title": "6.1 A trace joins events with selected snapshots",
              "href": "/6-tracing/6-1-what-a-trace-records/"
            }
          ]
        },
        {
          "id": "adjacent-fills",
          "title": "adjacent fills",
          "text": "Adjacent fills of the same field keep Ada, retaining their signals.",
          "show": [
            "mode",
            "events",
            "check",
            "fill",
            "locator",
            "files",
            "merge",
            "buffer",
            "generate",
            "execute",
            "calls",
            "review"
          ],
          "current": [
            "merge"
          ],
          "edges": [],
          "defs": [
            "type-state-1"
          ],
          "code": "merge",
          "log": [],
          "sources": [
            {
              "label": "recorder.ts:1328-1337",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/injected/src/recorder/recorder.ts#L1328-L1337"
            },
            {
              "label": "recorder.ts:399-413",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/injected/src/recorder/recorder.ts#L399-L413"
            },
            {
              "label": "recorder.ts:614-638",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/injected/src/recorder/recorder.ts#L614-L638"
            },
            {
              "label": "recorder.ts:566-568",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/injected/src/recorder/recorder.ts#L566-L568"
            },
            {
              "label": "selectorGenerator.ts:144-164",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/injected/src/selectorGenerator.ts#L144-L164"
            },
            {
              "label": "recorderSignalProcessor.ts:29-31",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/playwright-core/src/server/recorder/recorderSignalProcessor.ts#L29-L31"
            },
            {
              "label": "recorderSignalProcessor.ts:84-100",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/playwright-core/src/server/recorder/recorderSignalProcessor.ts#L84-L100"
            },
            {
              "label": "recorderUtils.ts:88-108",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/playwright-core/src/server/recorder/recorderUtils.ts#L88-L108"
            },
            {
              "label": "recorder.ts:543-553",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/playwright-core/src/server/recorder.ts#L543-L553"
            },
            {
              "label": "javascript.ts:103-119",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/isomorphic/codegen/javascript.ts#L103-L119"
            }
          ],
          "deeper": [
            {
              "title": "2.2 A locator stores the recipe, engines find the elements",
              "href": "/2-actions/2-2-locator-is-a-recipe/"
            },
            {
              "title": "6.1 A trace joins events with selected snapshots",
              "href": "/6-tracing/6-1-what-a-trace-records/"
            }
          ]
        },
        {
          "id": "s-500-ms-click-buffer",
          "title": "500 ms click buffer",
          "text": "Within the 500 ms buffer, the second click replaces the first on the same target.",
          "show": [
            "mode",
            "events",
            "check",
            "fill",
            "locator",
            "files",
            "merge",
            "buffer",
            "generate",
            "execute",
            "calls",
            "review"
          ],
          "current": [
            "buffer"
          ],
          "edges": [],
          "defs": [
            "type-state-2"
          ],
          "log": [],
          "sources": [
            {
              "label": "recorder.ts:1328-1337",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/injected/src/recorder/recorder.ts#L1328-L1337"
            },
            {
              "label": "recorder.ts:399-413",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/injected/src/recorder/recorder.ts#L399-L413"
            },
            {
              "label": "recorder.ts:614-638",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/injected/src/recorder/recorder.ts#L614-L638"
            },
            {
              "label": "recorder.ts:566-568",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/injected/src/recorder/recorder.ts#L566-L568"
            },
            {
              "label": "selectorGenerator.ts:144-164",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/injected/src/selectorGenerator.ts#L144-L164"
            },
            {
              "label": "recorderSignalProcessor.ts:29-31",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/playwright-core/src/server/recorder/recorderSignalProcessor.ts#L29-L31"
            },
            {
              "label": "recorderSignalProcessor.ts:84-100",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/playwright-core/src/server/recorder/recorderSignalProcessor.ts#L84-L100"
            },
            {
              "label": "recorderUtils.ts:88-108",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/playwright-core/src/server/recorder/recorderUtils.ts#L88-L108"
            },
            {
              "label": "recorder.ts:543-553",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/playwright-core/src/server/recorder.ts#L543-L553"
            },
            {
              "label": "javascript.ts:103-119",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/isomorphic/codegen/javascript.ts#L103-L119"
            }
          ],
          "deeper": [
            {
              "title": "2.2 A locator stores the recipe, engines find the elements",
              "href": "/2-actions/2-2-locator-is-a-recipe/"
            },
            {
              "title": "6.1 A trace joins events with selected snapshots",
              "href": "/6-tracing/6-1-what-a-trace-records/"
            }
          ]
        },
        {
          "id": "keep-the-generated-calls",
          "title": "Keep the generated calls",
          "text": "The generated calls keep the final fill and the double click.",
          "show": [
            "mode",
            "events",
            "check",
            "fill",
            "locator",
            "files",
            "merge",
            "buffer",
            "generate",
            "execute",
            "calls",
            "review"
          ],
          "current": [
            "calls"
          ],
          "edges": [],
          "defs": [
            "type-state-3"
          ],
          "log": [],
          "sources": [
            {
              "label": "recorder.ts:1328-1337",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/injected/src/recorder/recorder.ts#L1328-L1337"
            },
            {
              "label": "recorder.ts:399-413",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/injected/src/recorder/recorder.ts#L399-L413"
            },
            {
              "label": "recorder.ts:614-638",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/injected/src/recorder/recorder.ts#L614-L638"
            },
            {
              "label": "recorder.ts:566-568",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/injected/src/recorder/recorder.ts#L566-L568"
            },
            {
              "label": "selectorGenerator.ts:144-164",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/injected/src/selectorGenerator.ts#L144-L164"
            },
            {
              "label": "recorderSignalProcessor.ts:29-31",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/playwright-core/src/server/recorder/recorderSignalProcessor.ts#L29-L31"
            },
            {
              "label": "recorderSignalProcessor.ts:84-100",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/playwright-core/src/server/recorder/recorderSignalProcessor.ts#L84-L100"
            },
            {
              "label": "recorderUtils.ts:88-108",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/playwright-core/src/server/recorder/recorderUtils.ts#L88-L108"
            },
            {
              "label": "recorder.ts:543-553",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/playwright-core/src/server/recorder.ts#L543-L553"
            },
            {
              "label": "javascript.ts:103-119",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/isomorphic/codegen/javascript.ts#L103-L119"
            }
          ],
          "deeper": [
            {
              "title": "2.2 A locator stores the recipe, engines find the elements",
              "href": "/2-actions/2-2-locator-is-a-recipe/"
            },
            {
              "title": "6.1 A trace joins events with selected snapshots",
              "href": "/6-tracing/6-1-what-a-trace-records/"
            }
          ]
        }
      ],
      "flow": [
        {
          "node": "fill",
          "step": "fill-current-value",
          "log": []
        },
        {
          "node": "merge",
          "step": "adjacent-fills",
          "log": []
        },
        {
          "node": "buffer",
          "step": "s-500-ms-click-buffer",
          "log": []
        },
        {
          "node": "calls",
          "step": "keep-the-generated-calls",
          "log": []
        }
      ]
    },
    {
      "id": "review",
      "label": "Review",
      "display": {
        "counterLabel": true,
        "edges": "progressive",
        "edgeBadges": false,
        "nodeBadges": true,
        "log": "incremental"
      },
      "whole": {
        "title": "Generate, execute, review",
        "text": "Example file name: invoice.pdf. Generated source still needs an author's review."
      },
      "steps": [
        {
          "id": "generate-source",
          "title": "generate source",
          "text": "Generation joins a header, action calls and footer for each language.",
          "show": [
            "mode",
            "events",
            "check",
            "fill",
            "locator",
            "files",
            "merge",
            "buffer",
            "generate",
            "execute",
            "calls",
            "review"
          ],
          "current": [
            "generate"
          ],
          "edges": [],
          "defs": [
            "review-state-0"
          ],
          "log": [],
          "sources": [
            {
              "label": "recorder.ts:566-568",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/injected/src/recorder/recorder.ts#L566-L568"
            },
            {
              "label": "selectorGenerator.ts:144-164",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/injected/src/selectorGenerator.ts#L144-L164"
            },
            {
              "label": "recorderApp.ts:310-328",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/playwright-core/src/server/recorder/recorderApp.ts#L310-L328"
            },
            {
              "label": "language.ts:22-29",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/isomorphic/codegen/language.ts#L22-L29"
            },
            {
              "label": "recorderRunner.ts:24-27",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/playwright-core/src/server/recorder/recorderRunner.ts#L24-L27"
            },
            {
              "label": "recorder.ts:380-387",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/injected/src/recorder/recorder.ts#L380-L387"
            }
          ],
          "deeper": [
            {
              "title": "2.2 A locator stores the recipe, engines find the elements",
              "href": "/2-actions/2-2-locator-is-a-recipe/"
            },
            {
              "title": "6.1 A trace joins events with selected snapshots",
              "href": "/6-tracing/6-1-what-a-trace-records/"
            }
          ]
        },
        {
          "id": "strict-frame-click",
          "title": "strict frame click",
          "text": "Executing a click is a separate path: a strict click returns to the page.",
          "show": [
            "mode",
            "events",
            "check",
            "fill",
            "locator",
            "files",
            "merge",
            "buffer",
            "generate",
            "execute",
            "calls",
            "review"
          ],
          "current": [
            "execute"
          ],
          "edges": [],
          "defs": [
            "review-state-1"
          ],
          "log": [],
          "sources": [
            {
              "label": "recorder.ts:566-568",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/injected/src/recorder/recorder.ts#L566-L568"
            },
            {
              "label": "selectorGenerator.ts:144-164",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/injected/src/selectorGenerator.ts#L144-L164"
            },
            {
              "label": "recorderApp.ts:310-328",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/playwright-core/src/server/recorder/recorderApp.ts#L310-L328"
            },
            {
              "label": "language.ts:22-29",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/isomorphic/codegen/language.ts#L22-L29"
            },
            {
              "label": "recorderRunner.ts:24-27",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/playwright-core/src/server/recorder/recorderRunner.ts#L24-L27"
            },
            {
              "label": "recorder.ts:380-387",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/injected/src/recorder/recorder.ts#L380-L387"
            }
          ],
          "deeper": [
            {
              "title": "2.2 A locator stores the recipe, engines find the elements",
              "href": "/2-actions/2-2-locator-is-a-recipe/"
            },
            {
              "title": "6.1 A trace joins events with selected snapshots",
              "href": "/6-tracing/6-1-what-a-trace-records/"
            }
          ]
        },
        {
          "id": "review-file-path",
          "title": "review file path",
          "text": "The browser supplies invoice.pdf. Review the path before keeping this code.",
          "show": [
            "mode",
            "events",
            "check",
            "fill",
            "locator",
            "files",
            "merge",
            "buffer",
            "generate",
            "execute",
            "calls",
            "review"
          ],
          "current": [
            "review"
          ],
          "edges": [],
          "defs": [
            "review-state-2"
          ],
          "code": "review",
          "log": [],
          "sources": [
            {
              "label": "recorder.ts:566-568",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/injected/src/recorder/recorder.ts#L566-L568"
            },
            {
              "label": "selectorGenerator.ts:144-164",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/injected/src/selectorGenerator.ts#L144-L164"
            },
            {
              "label": "recorderApp.ts:310-328",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/playwright-core/src/server/recorder/recorderApp.ts#L310-L328"
            },
            {
              "label": "language.ts:22-29",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/isomorphic/codegen/language.ts#L22-L29"
            },
            {
              "label": "recorderRunner.ts:24-27",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/playwright-core/src/server/recorder/recorderRunner.ts#L24-L27"
            },
            {
              "label": "recorder.ts:380-387",
              "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/injected/src/recorder/recorder.ts#L380-L387"
            }
          ],
          "deeper": [
            {
              "title": "2.2 A locator stores the recipe, engines find the elements",
              "href": "/2-actions/2-2-locator-is-a-recipe/"
            },
            {
              "title": "6.1 A trace joins events with selected snapshots",
              "href": "/6-tracing/6-1-what-a-trace-records/"
            }
          ]
        }
      ],
      "flow": [
        {
          "node": "generate",
          "step": "generate-source",
          "log": []
        },
        {
          "node": "execute",
          "step": "strict-frame-click",
          "log": []
        },
        {
          "node": "review",
          "step": "review-file-path",
          "log": []
        }
      ]
    }
  ],
  "definitions": {
    "mode": {
      "term": "inspect · record",
      "text": "Injected mode selects the recording or inspection tool."
    },
    "events": {
      "term": "clicks · input · keys",
      "text": "Capture listeners include input events."
    },
    "check": {
      "term": "check() / uncheck()",
      "text": "A checkbox click records its new checked state."
    },
    "fill": {
      "term": "fill(current value)",
      "text": "Text input records the current value."
    },
    "locator": {
      "term": "rank · verify locator",
      "text": "Candidates are sorted by score."
    },
    "files": {
      "term": "browser file names",
      "text": "File recording stores browser file names."
    },
    "merge": {
      "term": "adjacent fills",
      "text": "Adjacent fills with the same page and selector merge."
    },
    "buffer": {
      "term": "500 ms click buffer",
      "text": "Buffered actions wait 500 milliseconds."
    },
    "generate": {
      "term": "generate source",
      "text": "Generation assembles header, actions and footer."
    },
    "execute": {
      "term": "strict frame click",
      "text": "Execution performs a strict frame click."
    },
    "calls": {
      "term": "generated calls",
      "text": "Two-click actions generate dblclick()."
    },
    "review": {
      "term": "review file path",
      "text": "File recording stores names from the browser file list."
    },
    "inspect-state-0": {
      "term": "Example state",
      "text": "Inspect an element · No action recorded\nRank candidates, check matches · Choose a locator for this element\nActions wait for recording · Switch from inspect to record\nNo generated action yet"
    },
    "inspect-state-1": {
      "term": "Example state",
      "text": "Click the checkbox · Checked ✓ → check()\nLocator checked on this page · #agree → checkbox ✓\nRecord the check action · One checkbox action\nThe click becomes check()."
    },
    "inspect-state-2": {
      "term": "Example state",
      "text": "Click the checkbox · Checked ✓ → check()\nLocator checked on this page · #agree → checkbox ✓\nRecord the check action · One checkbox action\nawait page.locator('#agree') ·   .check();"
    },
    "type-state-0": {
      "term": "Example state",
      "text": "Type in the name field · Final value: Ada\nLocator checked on this page · #n → name field ✓\nSame page and field · fill('A') → fill('Ada')\nawait page.locator('#n') ·   .fill('Ada');"
    },
    "type-state-1": {
      "term": "Example state",
      "text": "Type in the name field · Final value: Ada\nLocator checked on this page · #n → name field ✓\nSame page and field · One fill: Ada ✓\nawait page.locator('#n') ·   .fill('Ada');"
    },
    "type-state-2": {
      "term": "Example state",
      "text": "Type in the name field · Final value: Ada\nLocator checked on this page · #n → name field ✓\nLeft click · 500 ms buffer · click() → dblclick()\nawait page.locator('#n') ·   .fill('Ada');"
    },
    "type-state-3": {
      "term": "Example state",
      "text": "Type in the name field · Final value: Ada\nLocator checked on this page · #n → name field ✓\nSame page and field · Final fill + double click\nawait page.locator('#n') ·   .fill('Ada'); · await page.locator('#save') ·   .dblclick();"
    },
    "review-state-0": {
      "term": "Example state",
      "text": "Choose invoice.pdf · Browser gives the file name\nLocator checked on this page · #file → file input ✓\nGenerate source · Header → action calls → footer\nawait page.locator('#file') ·   .setInputFiles('invoice.pdf');"
    },
    "review-state-1": {
      "term": "Example state",
      "text": "Choose invoice.pdf · Browser gives the file name\nLocator checked on this page · #file → file input ✓\nExecute a click → page · Strict click; separate from code\nawait page.locator('#file') ·   .setInputFiles('invoice.pdf');"
    },
    "review-state-2": {
      "term": "Example state",
      "text": "Choose invoice.pdf · Browser gives the file name\nLocator checked on this page · #file → file input ✓\nGenerate code from actions · Review the file path\nawait page.locator('#file') ·   .setInputFiles('invoice.pdf');"
    }
  },
  "code": {
    "merge": {
      "title": "Inside Playwright · recorderUtils.ts",
      "source": {
        "label": "recorderUtils.ts:103-103",
        "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/playwright-core/src/server/recorder/recorderUtils.ts#L103"
      },
      "lines": [
        "if (shouldMergeAction(action, lastAction))",
        "  result[result.length - 1] = {",
        "    ...action,",
        "    signals: [",
        "      ...lastAction.signals,",
        "      ...action.signals",
        "    ]",
        "  };",
        "else",
        "  result.push(action);"
      ]
    },
    "review": {
      "title": "In your test · review file paths",
      "lines": [
        "// ✗ Recorded browser file name",
        "await file.setInputFiles('invoice.pdf');",
        "// ✓ Supply a file available to this test",
        "await file.setInputFiles(",
        "  'fixtures/invoice.pdf',",
        ");"
      ]
    }
  },
  "conceptScenario": "how",
  "concepts": [
    {
      "label": "Injected page",
      "layer": "page",
      "items": [
        {
          "definition": "mode",
          "short": "Injected mode selects the recording or inspection tool.",
          "nodes": [
            "mode"
          ],
          "step": {
            "step": "select-inspection-or-recording"
          },
          "source": {
            "label": "recorder.ts:1296-1306",
            "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/injected/src/recorder/recorder.ts#L1296-L1306"
          }
        },
        {
          "definition": "events",
          "short": "Capture listeners include input events.",
          "nodes": [
            "events"
          ],
          "step": {
            "step": "capture-actions-not-every-event"
          },
          "source": {
            "label": "recorder.ts:1328-1337",
            "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/injected/src/recorder/recorder.ts#L1328-L1337"
          }
        },
        {
          "definition": "check",
          "short": "A checkbox click records its new checked state.",
          "nodes": [
            "check"
          ],
          "step": {
            "step": "capture-actions-not-every-event"
          },
          "source": {
            "label": "recorder.ts:261-282",
            "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/injected/src/recorder/recorder.ts#L261-L282"
          }
        },
        {
          "definition": "fill",
          "short": "Text input records the current value.",
          "nodes": [
            "fill"
          ],
          "step": {
            "step": "capture-actions-not-every-event"
          },
          "source": {
            "label": "recorder.ts:399-413",
            "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/injected/src/recorder/recorder.ts#L399-L413"
          }
        },
        {
          "definition": "locator",
          "short": "Candidates are sorted by score.",
          "nodes": [
            "locator"
          ],
          "step": {
            "step": "rank-and-verify-on-the-current-p"
          },
          "source": {
            "label": "selectorGenerator.ts:144-164",
            "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/injected/src/selectorGenerator.ts#L144-L164"
          }
        },
        {
          "definition": "files",
          "short": "File recording stores browser file names.",
          "nodes": [
            "files"
          ],
          "step": {
            "step": "review-the-browser-file-name"
          },
          "source": {
            "label": "recorder.ts:380-387",
            "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/injected/src/recorder/recorder.ts#L380-L387"
          }
        }
      ]
    },
    {
      "label": "Server and generation",
      "layer": "server",
      "items": [
        {
          "definition": "merge",
          "short": "Adjacent fills with the same page and selector merge.",
          "nodes": [
            "merge"
          ],
          "step": {
            "step": "merge-adjacent-fills"
          },
          "source": {
            "label": "recorderUtils.ts:88-108",
            "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/playwright-core/src/server/recorder/recorderUtils.ts#L88-L108"
          }
        },
        {
          "definition": "buffer",
          "short": "Buffered actions wait 500 milliseconds.",
          "nodes": [
            "buffer"
          ],
          "step": {
            "step": "replace-the-preceding-click"
          },
          "source": {
            "label": "recorderSignalProcessor.ts:29-31",
            "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/playwright-core/src/server/recorder/recorderSignalProcessor.ts#L29-L31"
          }
        },
        {
          "definition": "generate",
          "short": "Generation assembles header, actions and footer.",
          "nodes": [
            "generate"
          ],
          "step": {
            "step": "generate-language-source"
          },
          "source": {
            "label": "language.ts:22-29",
            "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/isomorphic/codegen/language.ts#L22-L29"
          }
        },
        {
          "definition": "execute",
          "short": "Execution performs a strict frame click.",
          "nodes": [
            "execute"
          ],
          "step": {
            "step": "execution-is-a-separate-path"
          },
          "source": {
            "label": "recorderRunner.ts:24-27",
            "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/playwright-core/src/server/recorder/recorderRunner.ts#L24-L27"
          }
        }
      ]
    },
    {
      "label": "Source for review",
      "layer": "client",
      "items": [
        {
          "definition": "calls",
          "short": "Two-click actions generate dblclick().",
          "nodes": [
            "calls"
          ],
          "step": {
            "step": "generate-language-source"
          },
          "source": {
            "label": "javascript.ts:103-119",
            "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/isomorphic/codegen/javascript.ts#L103-L119"
          }
        },
        {
          "definition": "review",
          "short": "File recording stores names from the browser file list.",
          "nodes": [
            "review"
          ],
          "step": {
            "step": "review-the-browser-file-name"
          },
          "source": {
            "label": "recorder.ts:380-387 · browser name; author path: prose",
            "url": "https://github.com/microsoft/playwright/blob/v1.65.0/packages/injected/src/recorder/recorder.ts#L380-L387"
          }
        }
      ]
    }
  ],
  "callouts": {
    "1": [
      "events",
      "check",
      "fill"
    ],
    "2": [
      "locator"
    ],
    "3": [
      "merge",
      "buffer"
    ],
    "4": [
      "review",
      "files"
    ]
  },
  "deeper": [
    {
      "title": "2.2 A locator stores the recipe, engines find the elements",
      "href": "/2-actions/2-2-locator-is-a-recipe/",
      "why": "How a locator finds elements."
    },
    {
      "title": "5.1 Each wait repeats a different piece of work",
      "href": "/5-expect/5-1-three-ways-to-wait/",
      "why": "Different pieces of work repeat."
    },
    {
      "title": "6.1 A trace joins events with selected snapshots",
      "href": "/6-tracing/6-1-what-a-trace-records/",
      "why": "Calls and selected snapshots."
    }
  ],
  "viewBox": [
    1342,
    754.4
  ],
  "measurement": {
    "name": "font-table",
    "labels": {
      "check": {
        "width": 50.56799999999999,
        "height": 12.6
      },
      "fill": {
        "width": 31.604999999999997,
        "height": 12.6
      },
      "merge": {
        "width": 50.56799999999999,
        "height": 12.6
      },
      "calls": {
        "width": 31.604999999999997,
        "height": 12.6
      }
    }
  }
}
