{
  "id": "task_libraries:browser-automation/javascript",
  "path": "/exapedia/javascript-browser-automation-libraries",
  "template": {
    "id": "task_libraries",
    "version": 4
  },
  "title": "JavaScript browser automation libraries",
  "answer": [
    {
      "t": "fact",
      "fact": "F114"
    },
    {
      "t": "text",
      "text": " Each command travels to the browser over a protocol such as WebDriver BiDi or the Chrome DevTools Protocol. These libraries run end-to-end tests, scrape pages that need JavaScript, and give AI agents a browser they can operate."
    }
  ],
  "breadcrumb": [
    {
      "label": "Tools"
    },
    {
      "label": "JavaScript browser automation libraries"
    }
  ],
  "sections": [
    {
      "id": "libraries_popularity",
      "anchor": "popularity",
      "heading": "Popularity",
      "blocks": [
        {
          "b": "table",
          "columns": [
            "Library",
            "Monthly downloads",
            "Stars",
            "Last release",
            "License"
          ],
          "rows": [
            [
              [
                {
                  "t": "link",
                  "href": "#playwright-core",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F135"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F136"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F144"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F139"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F137"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#puppeteer-core",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F155"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F156"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F164"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F159"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F157"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#webdriver",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F175"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F176"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F184"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F179"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F177"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#webdriverio",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F195"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F196"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F202"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F199"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F197"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#chrome-remote-interface",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F213"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F214"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F222"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F217"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F215"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#browserbasehq-stagehand",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F233"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F234"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F242"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F237"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F235"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#selenium-webdriver",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F248"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F249"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F255"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F252"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F250"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#testcafe",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F266"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F267"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F275"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F270"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F268"
                }
              ]
            ]
          ],
          "variant": "pop",
          "caption": [
            {
              "t": "text",
              "text": "Downloads: "
            },
            {
              "t": "text",
              "text": "npm"
            },
            {
              "t": "text",
              "text": ", last thirty days. Stars and releases: GitHub. Amber: no release in over a year."
            }
          ]
        }
      ],
      "note": [
        {
          "t": "link",
          "href": "#playwright-core",
          "label": [
            {
              "t": "fact",
              "fact": "F135"
            }
          ]
        },
        {
          "t": "text",
          "text": " has the most monthly downloads in this comparison, at "
        },
        {
          "t": "fact",
          "fact": "F136"
        },
        {
          "t": "text",
          "text": "."
        }
      ]
    },
    {
      "id": "libraries_capabilities",
      "anchor": "capabilities",
      "heading": "Capabilities",
      "blocks": [
        {
          "b": "table",
          "columns": [
            "Library",
            "Locator action auto-wait",
            "Native model-guided actions"
          ],
          "rows": [
            [
              [
                {
                  "t": "link",
                  "href": "#playwright-core",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F135"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F145"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F146"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#puppeteer-core",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F155"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F165"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F166"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#webdriver",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F175"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F185"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F186"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#webdriverio",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F195"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F203"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F204"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#chrome-remote-interface",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F213"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F223"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F224"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#browserbasehq-stagehand",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F233"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F243"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F244"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#selenium-webdriver",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F248"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F256"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F257"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#testcafe",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F266"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F276"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F277"
                }
              ]
            ]
          ],
          "variant": "cap"
        }
      ]
    },
    {
      "id": "libraries_entries",
      "anchor": "libraries",
      "heading": "Libraries",
      "blocks": [
        {
          "b": "entry",
          "anchor": "playwright-core",
          "name": [
            {
              "t": "fact",
              "fact": "F135"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/microsoft/playwright"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/playwright-core"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F142"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F136"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F144"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F138"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F137"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://github.com/microsoft/playwright",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F135"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F153"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F154"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/executeautomation/mcp-playwright",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F153"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "javascript",
              "code": "async execute(args: any, context: ToolContext): Promise<ToolResponse> {\n  return this.safeExecute(context, async (page) => {\n    const filename = args.filename || 'page.pdf';\n    const options = {\n      path: path.resolve(args.outputPath || '.', filename),\n      format: args.format || 'A4',\n      printBackground: args.printBackground !== false,\n      margin: args.margin || {\n        top: '1cm',\n        right: '1cm',\n        bottom: '1cm',\n        left: '1cm'\n      }\n    };\n\n    await page.pdf(options);\n    return createSuccessResponse(`Saved page as PDF: ${options.path}`);\n  });\n}\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/executeautomation/mcp-playwright/blob/2349c2891e7c499c8c07b7d78c7f3fb4c797a1da/src/tools/browser/output.ts#L12-L30",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F152"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=playwright-core%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F135"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "javascript",
              "code": "import { chromium } from \"playwright-core\";\n\nconst browser = await chromium.launch();\nconst page = await browser.newPage();\nawait page.goto(\"https://example.com\");\nconsole.log(await page.title());\nawait browser.close();\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://playwright.dev/docs/library",
                  "label": [
                    {
                      "t": "text",
                      "text": "Playwright docs"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F140"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "puppeteer-core",
          "name": [
            {
              "t": "fact",
              "fact": "F155"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/puppeteer/puppeteer"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/puppeteer-core"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F162"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F156"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F164"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F158"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F157"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://github.com/puppeteer/puppeteer",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F155"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F173"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F174"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/marp-team/marp-cli",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F173"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "javascript",
              "code": "private async convertFileToPDF(\n  tpl: TemplateResult,\n  file: File,\n  { postprocess = true }: ConvertPDFOption = {}\n): Promise<File> {\n  const html = new File(file.absolutePath)\n  html.buffer = Buffer.from(tpl.result)\n\n  const ret = file.convert(this.options.output, { extension: 'pdf' })\n\n  // Generate PDF\n  let outlineData: OutlineData | undefined\n\n  ret.buffer = Buffer.from(\n    await this.usePuppeteer(html, async (page, { render }) => {\n      await render()\n\n      if (tpl.rendered.outline) {\n        outlineData = await page.evaluate(\n          pptrOutlinePositionResolver,\n          tpl.rendered.outline.flatMap((o) => o.headings),\n          pdfOutlineAttr\n        )\n      }\n\n      return await page.pdf({\n        printBackground: true,\n        preferCSSPageSize: true, // This option is not working in WebDriver BiDi\n        width: tpl.rendered.size.width,\n        height: tpl.rendered.size.height,\n      })\n    })\n  )\n\n  if (postprocess) {\n    // Apply PDF metadata and annotations\n    const creationDate = new Date()\n    const { PDFDocument, PDFHexString, PDFString } = await import('pdf-lib')\n    const pdfDoc = await PDFDocument.load(ret.buffer)\n\n    pdfDoc.setCreator(CREATED_BY_MARP)\n    pdfDoc.setProducer(CREATED_BY_MARP)\n    pdfDoc.setCreationDate(creationDate)\n    pdfDoc.setModificationDate(creationDate)\n\n    if (tpl.rendered.title) pdfDoc.setTitle(tpl.rendered.title)\n    if (tpl.rendered.description) pdfDoc.setSubject(tpl.rendered.description)\n    if (tpl.rendered.author) pdfDoc.setAuthor(tpl.rendered.author)\n    if (tpl.rendered.keywords)\n      pdfDoc.setKeywords([tpl.rendered.keywords.join('; ')])\n\n    if (this.options.pdfOutlines && tpl.rendered.outline) {\n      await setOutline(\n        pdfDoc,\n        generatePDFOutlines(tpl.rendered.outline, {\n          ...this.options.pdfOutlines,\n          data: outlineData,\n          size: tpl.rendered.size,\n        })\n      )\n    }\n\n    if (this.options.pdfNotes) {\n      const pages = pdfDoc.getPages()\n\n      for (let i = 0, len = pages.length; i < len; i += 1) {\n        const notes = tpl.rendered.comments[i].join('\\n\\n')\n\n        if (notes) {\n          const noteAnnot = pdfDoc.context.obj({\n            Type: 'Annot',\n            Subtype: 'Text',\n            Rect: [0, 20, 20, 20],\n            Contents: PDFHexString.fromText(notes),\n            T: tpl.rendered.author\n              ? PDFHexString.fromText(tpl.rendered.author)\n              : undefined,\n            Name: 'Note',\n            Subj: PDFString.of('Note'),\n            C: [1, 0.92, 0.42], // RGB\n            CA: 0.25, // Alpha\n          })\n\n          pages[i].node.addAnnot(pdfDoc.context.register(noteAnnot))\n        }\n      }\n    }\n\n    // Apply modified PDF to buffer\n    ret.buffer = Buffer.from(await pdfDoc.save())\n  }\n\n  return ret\n}\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/marp-team/marp-cli/blob/ffc4128626cbc64965fe1cc805717c6d4438c384/src/converter.ts#L333-L426",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F172"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=puppeteer-core%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F155"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "javascript",
              "code": "import puppeteer from \"puppeteer-core\";\n\nconst browser = await puppeteer.launch({ channel: \"chrome\" });\nconst page = await browser.newPage();\nawait page.goto(\"https://example.com\");\nconsole.log(await page.title());\nawait browser.close();\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://pptr.dev/",
                  "label": [
                    {
                      "t": "text",
                      "text": "Puppeteer docs"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F160"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "webdriver",
          "name": [
            {
              "t": "fact",
              "fact": "F175"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/webdriverio/webdriverio"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/webdriver"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F182"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F176"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F184"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F178"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F177"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://github.com/webdriverio/webdriverio",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F175"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F193"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F194"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/appium/appium-inspector",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F193"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "javascript",
              "code": "static attachToSession(sessionId, serverOpts, capabilities = {}) {\n    if (!sessionId) {\n      throw new Error(\"Can't attach to a session without a session id\");\n    }\n    const safeServerOpts = {sessionId, ...DEFAULT_SERVER_PROPS, ...serverOpts, capabilities};\n    const sessionClient = webdriver.attachToSession(safeServerOpts);\n    return new WDSessionDriver(sessionClient);\n  }\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/appium/appium-inspector/blob/d9a887d75491a49754288c92fb15ecd3d754a90c/app/common/renderer/lib/appium/session-starter.js#L36-L43",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F192"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=webdriver%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F175"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "javascript",
              "code": "import WebDriver from \"webdriver\";\n\nconst browser = await WebDriver.newSession({\n  capabilities: { browserName: \"chrome\" },\n});\nawait browser.navigateTo(\"https://example.com\");\nconsole.log(await browser.getTitle());\nawait browser.deleteSession();\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://registry.npmjs.org/webdriver/10.2.0",
                  "label": [
                    {
                      "t": "text",
                      "text": "npm registry"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F180"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "webdriverio",
          "name": [
            {
              "t": "fact",
              "fact": "F195"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/webdriverio/webdriverio"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/webdriverio"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F67"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F196"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F202"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F198"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F197"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://github.com/webdriverio/webdriverio",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F195"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F68"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F69"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F70"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F71"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F72"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F73"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F211"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F212"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/serenity-js/serenity-js",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F211"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "typescript",
              "code": "private async activeWindowHandle(): Promise<string> {\n        try {\n            return await this.browser.getWindowHandle();\n        }\n        catch (error) {\n            // If the window is closed by user action Webdriver will still hold the reference to the closed window.\n            if (['NoSuchWindowError', 'no such window'].includes(error.name)) {\n                const allHandles = await this.browser.getWindowHandles();\n                if (allHandles.length > 0) {\n                    const handle = allHandles.at(-1);\n                    await this.browser.switchToWindow(handle);\n\n                    return handle;\n                }\n            }\n            throw error;\n        }\n    }\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/serenity-js/serenity-js/blob/deed21f8008491eb1d9cdcf93bde7301fbe9f0fb/packages/webdriverio/src/screenplay/models/WebdriverIOBrowsingSession.ts#L84-L101",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F210"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=JavaScript%20projects%20using%20webdriverio%20for%20browser%20interaction%20and%20navigation&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F195"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "typescript",
              "code": "import { remote } from \"webdriverio\";\n\nconst browser = await remote({ capabilities: { browserName: \"chrome\" } });\nawait browser.url(\"https://example.com\");\nconsole.log(await browser.getTitle());\nawait browser.deleteSession();\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/webdriverio/webdriverio/blob/main/packages/webdriverio/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F200"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "chrome-remote-interface",
          "name": [
            {
              "t": "fact",
              "fact": "F213"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/cyrus-and/chrome-remote-interface"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/chrome-remote-interface"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F220"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F214"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F222"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F216"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F215"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://github.com/cyrus-and/chrome-remote-interface",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F213"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F231"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F232"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/cyrus-and/chrome-har-capturer",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F231"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "javascript",
              "code": "async _loadPage(client) {\n        // enable domains\n        const {Page, Network} = client;\n        await Network.enable();\n        await Page.enable();\n        // register events\n        const stats = new Stats(this._url, this._options);\n        const termination = new Promise((fulfill, reject) => {\n            client.on('event', (event) => {\n                stats.processEvent(fulfill, reject, event);\n            });\n            // XXX the separation of concerns between live fetching and HAR\n            // computation made it necessary to introduce a synthetic event\n            // which is the reply of the Network.getResponseBody method\n            if (this._options.content) {\n                Network.loadingFinished(async ({requestId}) => {\n                    // only for those entries that are being tracked (e.g., not\n                    // for cached items)\n                    if (!stats.entries.get(requestId)) {\n                        return;\n                    }\n                    try {\n                        const params = await Network.getResponseBody({requestId});\n                        const {body, base64Encoded} = params;\n                        stats.processEvent(fulfill, reject, {\n                            method: 'Network.getResponseBody',\n                            params: {\n                                requestId,\n                                body,\n                                base64Encoded\n                            }\n                        });\n                    } catch (err) {\n                        // sometimes it is impossible to fetch the content (see #82)\n                        stats.processEvent(fulfill, reject, {\n                            method: 'Network.getResponseBody',\n                            params: {\n                                requestId\n                            }\n                        });\n                    }\n                });\n            }\n        });\n        // start the page load\n        const navigation = Page.navigate({url: this._url});\n        // events will determine termination\n        await Promise.all([termination, navigation]);\n        return stats;\n    }\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/cyrus-and/chrome-har-capturer/blob/4b69108c4b8b9071a3cd3491127d655ab86c8c88/lib/live.js#L86-L135",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F230"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=chrome-remote-interface%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F213"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "javascript",
              "code": "import CDP from \"chrome-remote-interface\";\n\nconst client = await CDP();\nconst { Page, Runtime } = client;\nawait Page.enable();\nconst loaded = Page.loadEventFired();\nawait Page.navigate({ url: \"https://example.com\" });\nawait loaded;\nconst { result } = await Runtime.evaluate({ expression: \"document.title\" });\nconsole.log(result.value);\nawait client.close();\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/cyrus-and/chrome-remote-interface",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F218"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "browserbasehq-stagehand",
          "name": [
            {
              "t": "fact",
              "fact": "F233"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/browserbase/stagehand"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/@browserbasehq/stagehand"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F240"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F234"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F242"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F236"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F235"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://github.com/browserbase/stagehand",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F233"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "javascript",
              "code": "import { localBrowser, Stagehand } from \"@browserbasehq/stagehand\";\n\nconst browser = await localBrowser.launch({ userDataDir: \"./browser-data\" });\nconst stagehand = await Stagehand.create({\n  browser,\n  model: { modelName: \"openai/gpt-5.4-mini\", apiKey: process.env.OPENAI_API_KEY },\n});\nconst [page] = await browser.context.pages();\nawait page.goto(\"https://example.com\");\nconst { data } = await stagehand.observe(\"find the main heading\");\nconsole.log(data);\nawait stagehand.close();\nawait browser.close();\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/browserbase/stagehand",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=%40browserbasehq/stagehand%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "Find projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F233"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F238"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "selenium-webdriver",
          "name": [
            {
              "t": "fact",
              "fact": "F248"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/SeleniumHQ/selenium"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/selenium-webdriver"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F86"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F249"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F255"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F251"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F250"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://github.com/SeleniumHQ/selenium",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F248"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F87"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F88"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F89"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F90"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F91"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F92"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F264"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F265"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/sitespeedio/browsertime",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F264"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "typescript",
              "code": "export async function createWebDriver(baseDir, options, tmpDir) {\n  const browser = options.browser || 'chrome';\n  const seleniumUrl = options.selenium ? options.selenium.url : undefined;\n  const capabilities = options.selenium\n    ? options.selenium.capabilities\n    : undefined;\n\n  const builder = new Builder()\n    .forBrowser(browser === 'edge' ? 'MicrosoftEdge' : browser)\n    .usingServer(seleniumUrl);\n\n  // Hack for running browsertime on different platforms.\n  // Keep it in the dark for now becasue if you don't know\n  // what you do, a lot can get wrong\n  if (!isEmpty(capabilities)) {\n    builder.withCapabilities(capabilities);\n  }\n\n  switch (browser) {\n    case 'chrome': {\n      await configureBuilderChrome(builder, baseDir, options, tmpDir);\n      break;\n    }\n\n    case 'firefox': {\n      await configureBuilderFirefox(builder, baseDir, options);\n      break;\n    }\n\n    case 'safari': {\n      await configureBuilderSafari(builder, baseDir, options);\n      break;\n    }\n\n    case 'edge': {\n      await configureBuilderEdge(builder, baseDir, options, tmpDir);\n      break;\n    }\n\n    default: {\n      throw new Error('Unsupported browser: ' + browser);\n    }\n  }\n\n  return builder.build();\n}\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/sitespeedio/browsertime/blob/fe504d994f601b30759c449e6f990e2afc261eb0/lib/core/webdriver/index.js#L14-L59",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F263"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=JavaScript%20projects%20using%20selenium-webdriver%20for%20browser%20interaction%20and%20navigation&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F248"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "typescript",
              "code": "const { Builder, Browser } = require(\"selenium-webdriver\");\n\n(async function main() {\n  const driver = await new Builder().forBrowser(Browser.CHROME).build();\n  try {\n    await driver.get(\"https://example.com\");\n    console.log(await driver.getTitle());\n  } finally {\n    await driver.quit();\n  }\n})();\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://registry.npmjs.org/selenium-webdriver/4.53.0",
                  "label": [
                    {
                      "t": "text",
                      "text": "npm registry"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F253"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "testcafe",
          "name": [
            {
              "t": "fact",
              "fact": "F266"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/DevExpress/testcafe"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/testcafe"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F273"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F267"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F275"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F269"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F268"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://github.com/DevExpress/testcafe",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F266"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F284"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F285"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/codeceptjs/CodeceptJS",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F284"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "javascript",
              "code": "async _startRemoteBrowser(runner) {\n    const remoteConnection = await this.testcafe.createBrowserConnection()\n    console.log('Connect your device to the following URL or scan QR Code: ', remoteConnection.url)\n    qrcode.generate(remoteConnection.url)\n    remoteConnection.once('ready', () => {\n      runner\n        .src(this.dummyTestcafeFile)\n        .browsers(remoteConnection)\n        .reporter('minimal')\n        .run({\n          selectorTimeout: this.options.waitForTimeout,\n          skipJsErrors: true,\n          skipUncaughtErrors: true,\n        })\n        .catch(err => {\n          this.debugSection('_before', `Error ${err.toString()}`)\n          this.isRunning = false\n          this.testcafe.close()\n        })\n    })\n  }\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/codeceptjs/CodeceptJS/blob/a931bde80b08fd1ac83bb223779962a26493da98/lib/helper/TestCafe.js#L196-L216",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F283"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=testcafe%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F266"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "javascript",
              "code": "fixture `Example`.page `https://devexpress.github.io/testcafe/example`;\n\ntest('type a name', async t => {\n  await t.typeText('#developer-name', 'Ada');\n});\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://registry.npmjs.org/testcafe/3.7.7",
                  "label": [
                    {
                      "t": "text",
                      "text": "npm registry"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F271"
            }
          ]
        }
      ]
    }
  ],
  "questions": [
    {
      "q": "Playwright vs Selenium: what is the difference?",
      "a": [
        {
          "t": "link",
          "href": "#playwright-core",
          "label": [
            {
              "t": "text",
              "text": "Playwright"
            }
          ]
        },
        {
          "t": "text",
          "text": " locators wait until an element is ready before acting. "
        },
        {
          "t": "link",
          "href": "#selenium-webdriver",
          "label": [
            {
              "t": "text",
              "text": "Selenium WebDriver"
            }
          ]
        },
        {
          "t": "text",
          "text": " leaves waits to the test code and drives browsers through the WebDriver protocol, locally or on Selenium Grid."
        }
      ]
    },
    {
      "q": "Playwright vs Puppeteer: what is the difference?",
      "a": [
        {
          "t": "link",
          "href": "#puppeteer-core",
          "label": [
            {
              "t": "text",
              "text": "Puppeteer"
            }
          ]
        },
        {
          "t": "text",
          "text": " controls Chrome and Firefox and can attach to a running browser endpoint. "
        },
        {
          "t": "link",
          "href": "#playwright-core",
          "label": [
            {
              "t": "text",
              "text": "Playwright"
            }
          ]
        },
        {
          "t": "text",
          "text": " drives several browsers through one API and checks each element's actionability before an action."
        }
      ]
    },
    {
      "q": "Stagehand vs Playwright: how do they differ?",
      "a": [
        {
          "t": "link",
          "href": "#browserbasehq-stagehand",
          "label": [
            {
              "t": "text",
              "text": "Stagehand"
            }
          ]
        },
        {
          "t": "text",
          "text": " adds model-guided actions, where a language model decides how to act on the page. "
        },
        {
          "t": "link",
          "href": "#playwright-core",
          "label": [
            {
              "t": "text",
              "text": "Playwright"
            }
          ]
        },
        {
          "t": "text",
          "text": " runs only the actions the code specifies."
        }
      ]
    },
    {
      "q": "Do Puppeteer locators automatically wait before clicking?",
      "a": [
        {
          "t": "fact",
          "fact": "F119"
        },
        {
          "t": "text",
          "text": " "
        },
        {
          "t": "fact",
          "fact": "F120"
        }
      ]
    },
    {
      "q": "Does Playwright remote connect accept any server version?",
      "a": [
        {
          "t": "fact",
          "fact": "F126"
        }
      ]
    },
    {
      "q": "Can every remote WebdriverIO session mock network requests?",
      "a": [
        {
          "t": "fact",
          "fact": "F125"
        }
      ]
    }
  ],
  "facts": {
    "F1": {
      "label": "Library name, playwright",
      "display": "Playwright",
      "asOf": "2026-11-17"
    },
    "F2": {
      "label": "Monthly downloads, playwright",
      "display": "626.4M",
      "asOf": "2026-11-15"
    },
    "F3": {
      "label": "License, playwright",
      "display": "Apache-2.0",
      "asOf": "2026-11-17"
    },
    "F4": {
      "label": "Package release, playwright",
      "display": "1.65.1",
      "asOf": "2026-11-17"
    },
    "F5": {
      "label": "Undated package release, playwright",
      "display": "v1.65.1",
      "asOf": "2026-11-17"
    },
    "F6": {
      "label": "Repository stars, playwright",
      "display": "100.3K",
      "asOf": "2026-11-17"
    },
    "F7": {
      "label": "Firefox support, playwright",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F8": {
      "label": "Request interception, playwright",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F9": {
      "label": "Locator auto-wait, playwright",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F10": {
      "label": "Remote browsers, playwright",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F11": {
      "label": "Output formats, playwright",
      "display": "PNG",
      "asOf": "2026-11-17"
    },
    "F12": {
      "label": "Install, playwright",
      "display": "npm i -D playwright && npx playwright install chromium firefox webkit",
      "asOf": "2026-11-17"
    },
    "F13": {
      "label": "What it does, playwright",
      "display": "Automates browser pages through the standalone Playwright library.",
      "asOf": "2026-11-17"
    },
    "F14": {
      "label": "strengths lead, playwright",
      "display": "Waits for actionable locator targets",
      "asOf": "2026-11-17"
    },
    "F15": {
      "label": "strengths, playwright",
      "display": "Locator actions wait for the required element checks to pass.",
      "asOf": "2026-11-17"
    },
    "F16": {
      "label": "strengths lead, playwright",
      "display": "Separates browser contexts",
      "asOf": "2026-11-17"
    },
    "F17": {
      "label": "strengths, playwright",
      "display": "Create contexts with independent cookies and caches.",
      "asOf": "2026-11-17"
    },
    "F18": {
      "label": "limitations lead, playwright",
      "display": "Service workers can hide routing",
      "asOf": "2026-11-17"
    },
    "F19": {
      "label": "limitations, playwright",
      "display": "Block service workers when routed network events are missing.",
      "asOf": "2026-11-17"
    },
    "F20": {
      "label": "limitations lead, playwright",
      "display": "Remote protocol versions must match",
      "asOf": "2026-11-17"
    },
    "F21": {
      "label": "limitations, playwright",
      "display": "Match the client and browser-server major and minor Playwright versions.",
      "asOf": "2026-11-17"
    },
    "F22": {
      "label": "Quickstart, playwright",
      "display": "const assert = require('node:assert');\nconst { chromium, devices } = require('playwright');\n\n(async () => {\n  // Setup\n  const browser = await chromium.launch();\n  const context = await browser.newContext(devices['iPhone 11']);\n  const page = await context.newPage();\n\n  // The actual interesting bit\n  await context.route('**.jpg', route => route.abort());\n  await page.goto('https://example.com/');\n\n  assert(await page.title() === 'Example Domain'); // 👎 not a Web First assertion\n\n  // Teardown\n  await context.close();\n  await browser.close();\n})();\n",
      "asOf": "2026-11-17"
    },
    "F23": {
      "label": "Project function, playwright",
      "display": "export async function gotoExtended(\n    page: Page,\n    request: Request,\n    gotoOptions: DirectNavigationOptions = {},\n): Promise<Response | null> {\n    parseArgument(page, validators.browserPage);\n    parseArgument(request, gotoExtendedRequestSchema);\n    parseArgument(gotoOptions, schemas.anyObject);\n\n    const { url, method, headers, payload } = request;\n    const isEmpty = (o?: object) => !o || Object.keys(o).length === 0;\n\n    if (method !== 'GET' || payload) {\n        // This is not deprecated, we use it to log only once.\n        getLog().deprecated(\n            'Using other request methods than GET, rewriting headers and adding payloads has a high impact on performance ' +\n                'in recent versions of Playwright. Use only when necessary.',\n        );\n        let wasCalled = false;\n        const interceptRequestHandler = async (route: Route) => {\n            try {\n                // We want to ensure that this won't get executed again in a case that there is a subsequent request\n                // for example for some asset file link from main HTML.\n                if (wasCalled) {\n                    return await route.continue();\n                }\n\n                wasCalled = true;\n                const overrides: Dictionary = {};\n\n                if (method !== 'GET') overrides.method = method;\n                if (payload) overrides.postData = payload;\n                if (!isEmpty(headers)) overrides.headers = headers;\n                await route.continue(overrides);\n            } catch (error) {\n                getLog().debug('Error inside request interceptor', { error });\n            }\n\n            return undefined;\n        };\n\n        await page.route('**/*', interceptRequestHandler);\n    } else if (!isEmpty(headers)) {\n        await page.setExtraHTTPHeaders(headers!);\n    }\n\n    return page.goto(url, gotoOptions);\n}\n",
      "asOf": "2026-11-17"
    },
    "F24": {
      "label": "Project function reference, playwright",
      "display": "playwright-utils.ts · gotoExtended()",
      "asOf": "2026-11-17"
    },
    "F25": {
      "label": "Project repository, playwright",
      "display": "apify/crawlee",
      "asOf": "2026-11-17"
    },
    "F26": {
      "label": "Project stars, apify/crawlee",
      "display": "26.5K",
      "asOf": "2026-11-17"
    },
    "F27": {
      "label": "Project push date, apify/crawlee",
      "display": "Nov 2026",
      "asOf": "2026-11-16"
    },
    "F28": {
      "label": "Library name, puppeteer",
      "display": "Puppeteer",
      "asOf": "2026-11-17"
    },
    "F29": {
      "label": "Monthly downloads, puppeteer",
      "display": "58.3M",
      "asOf": "2026-11-15"
    },
    "F30": {
      "label": "License, puppeteer",
      "display": "Apache-2.0",
      "asOf": "2026-11-17"
    },
    "F31": {
      "label": "Package release, puppeteer",
      "display": "25.12.0",
      "asOf": "2026-11-17"
    },
    "F32": {
      "label": "Undated package release, puppeteer",
      "display": "v25.12.0",
      "asOf": "2026-11-17"
    },
    "F33": {
      "label": "Repository stars, puppeteer",
      "display": "95.8K",
      "asOf": "2026-11-17"
    },
    "F34": {
      "label": "Firefox support, puppeteer",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F35": {
      "label": "Request interception, puppeteer",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F36": {
      "label": "Locator auto-wait, puppeteer",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F37": {
      "label": "Remote browsers, puppeteer",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F38": {
      "label": "Output formats, puppeteer",
      "display": "PNG",
      "asOf": "2026-11-17"
    },
    "F39": {
      "label": "Install, puppeteer",
      "display": "npm i puppeteer && npx puppeteer browsers install",
      "asOf": "2026-11-17"
    },
    "F40": {
      "label": "What it does, puppeteer",
      "display": "Controls Chrome or Firefox through DevTools Protocol or WebDriver BiDi.",
      "asOf": "2026-11-17"
    },
    "F41": {
      "label": "strengths lead, puppeteer",
      "display": "Offers locator actionability checks",
      "asOf": "2026-11-17"
    },
    "F42": {
      "label": "strengths, puppeteer",
      "display": "Use locators to wait for elements before interacting.",
      "asOf": "2026-11-17"
    },
    "F43": {
      "label": "strengths lead, puppeteer",
      "display": "Attaches to running browsers",
      "asOf": "2026-11-17"
    },
    "F44": {
      "label": "strengths, puppeteer",
      "display": "Connect to an existing browser through its WebSocket endpoint.",
      "asOf": "2026-11-17"
    },
    "F45": {
      "label": "limitations lead, puppeteer",
      "display": "Interception can stall requests",
      "asOf": "2026-11-17"
    },
    "F46": {
      "label": "limitations, puppeteer",
      "display": "Continue, respond to, or abort every intercepted request.",
      "asOf": "2026-11-17"
    },
    "F47": {
      "label": "limitations lead, puppeteer",
      "display": "Browser downloads depend on scripts",
      "asOf": "2026-11-17"
    },
    "F48": {
      "label": "limitations, puppeteer",
      "display": "Run browsers install if the package manager blocks installation scripts.",
      "asOf": "2026-11-17"
    },
    "F49": {
      "label": "Quickstart, puppeteer",
      "display": "import puppeteer from 'puppeteer';\n// Or import puppeteer from 'puppeteer-core';\n\n// Launch the browser and open a new blank page.\nconst browser = await puppeteer.launch();\nconst page = await browser.newPage();\n\n// Navigate the page to a URL.\nawait page.goto('https://developer.chrome.com/');\n\n// Set the screen size.\nawait page.setViewport({width: 1080, height: 1024});\n\n// Open the search menu using the keyboard.\nawait page.keyboard.press('/');\n\n// Type into search box using accessible input name.\nawait page.locator('::-p-aria(Search)').fill('automate beyond recorder');\n\n// Wait and click on first result.\nawait page.locator('.devsite-result-item-link').click();\n\n// Locate the full title with a unique string.\nconst textSelector = await page\n  .locator('::-p-text(Customize and automate)')\n  .waitHandle();\nconst fullTitle = await textSelector?.evaluate(el => el.textContent);\n\n// Print the full title.\nconsole.log('The title of this blog post is \"%s\".', fullTitle);\n\nawait browser.close();\n",
      "asOf": "2026-11-17"
    },
    "F50": {
      "label": "Project function, puppeteer",
      "display": "export async function gotoExtended(\n    page: Page,\n    request: Request,\n    gotoOptions: DirectNavigationOptions = {},\n): Promise<HTTPResponse | null> {\n    parseArgument(page, validators.browserPage);\n    parseArgument(request, gotoExtendedRequestSchema);\n    parseArgument(gotoOptions, schemas.anyObject);\n\n    gotoOptions = { ...gotoOptions };\n\n    if (gotoOptions.waitUntil === 'networkidle') {\n        gotoOptions.waitUntil = 'networkidle0';\n    }\n\n    const { url, method, headers, payload } = request;\n    const isEmpty = (o?: object) => !o || Object.keys(o).length === 0;\n\n    if (method !== 'GET' || payload) {\n        // This is not deprecated, we use it to log only once.\n        serviceLocator\n            .getLogger()\n            .deprecated(\n                'Using other request methods than GET, rewriting headers and adding payloads has a high impact on performance ' +\n                    'in recent versions of Puppeteer. Use only when necessary.',\n            );\n        let wasCalled = false;\n        const interceptRequestHandler = async (interceptedRequest: PuppeteerRequest) => {\n            // We want to ensure that this won't get executed again in a case that there is a subsequent request\n            // for example for some asset file link from main HTML.\n            if (wasCalled) {\n                return interceptedRequest.continue();\n            }\n\n            wasCalled = true;\n            const overrides: Dictionary = {};\n\n            if (method !== 'GET') overrides.method = method;\n            if (payload) overrides.postData = payload;\n            if (!isEmpty(headers)) overrides.headers = headers;\n            await removeInterceptRequestHandler(page, interceptRequestHandler);\n            await interceptedRequest.continue(overrides);\n\n            return undefined;\n        };\n\n        await addInterceptRequestHandler(page, interceptRequestHandler);\n    } else if (!isEmpty(headers)) {\n        const extraHeaders = { ...headers! };\n\n        // Chrome bundled with Puppeteer 25+ ignores a `User-Agent` passed via `setExtraHTTPHeaders()`, it has to be set explicitly.\n        for (const name of Object.keys(extraHeaders)) {\n            if (name.toLowerCase() === 'user-agent') {\n                await page.setUserAgent(extraHeaders[name]);\n                delete extraHeaders[name];\n            }\n        }\n\n        if (!isEmpty(extraHeaders)) {\n            await page.setExtraHTTPHeaders(extraHeaders);\n        }\n    }\n\n    return page.goto(url, gotoOptions as Dictionary);\n}\n",
      "asOf": "2026-11-17"
    },
    "F51": {
      "label": "Project function reference, puppeteer",
      "display": "puppeteer-utils.ts · gotoExtended()",
      "asOf": "2026-11-17"
    },
    "F52": {
      "label": "Project repository, puppeteer",
      "display": "apify/crawlee",
      "asOf": "2026-11-17"
    },
    "F53": {
      "label": "Project stars, apify/crawlee",
      "display": "26.5K",
      "asOf": "2026-11-17"
    },
    "F54": {
      "label": "Project push date, apify/crawlee",
      "display": "Nov 2026",
      "asOf": "2026-11-16"
    },
    "F55": {
      "label": "Library name, webdriverio",
      "display": "WebdriverIO",
      "asOf": "2026-11-17"
    },
    "F56": {
      "label": "Monthly downloads, webdriverio",
      "display": "12.4M",
      "asOf": "2026-11-15"
    },
    "F57": {
      "label": "License, webdriverio",
      "display": "MIT",
      "asOf": "2026-11-17"
    },
    "F58": {
      "label": "Package release, webdriverio",
      "display": "10.2.0",
      "asOf": "2026-11-17"
    },
    "F59": {
      "label": "Undated package release, webdriverio",
      "display": "v10.2.0",
      "asOf": "2026-11-17"
    },
    "F60": {
      "label": "Repository stars, webdriverio",
      "display": "9.9K",
      "asOf": "2026-11-17"
    },
    "F61": {
      "label": "Firefox support, webdriverio",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F62": {
      "label": "Request interception, webdriverio",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F63": {
      "label": "Locator auto-wait, webdriverio",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F64": {
      "label": "Remote browsers, webdriverio",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F65": {
      "label": "Output formats, webdriverio",
      "display": "PNG",
      "asOf": "2026-11-17"
    },
    "F66": {
      "label": "Install, webdriverio",
      "display": "npm install webdriverio",
      "asOf": "2026-11-17"
    },
    "F67": {
      "label": "What it does, webdriverio",
      "display": "Adds browser convenience commands and automatic interaction waits over WebDriver protocols.",
      "asOf": "2026-11-17"
    },
    "F68": {
      "label": "strengths lead, webdriverio",
      "display": "Waits before element interactions",
      "asOf": "2026-11-17"
    },
    "F69": {
      "label": "strengths, webdriverio",
      "display": "Click and setValue wait for visible, interactable elements.",
      "asOf": "2026-11-17"
    },
    "F70": {
      "label": "strengths lead, webdriverio",
      "display": "Works as a standalone library",
      "asOf": "2026-11-17"
    },
    "F71": {
      "label": "strengths, webdriverio",
      "display": "Use browser commands from ordinary Node scripts without the test runner.",
      "asOf": "2026-11-17"
    },
    "F72": {
      "label": "limitations lead, webdriverio",
      "display": "Network mocks require BiDi",
      "asOf": "2026-11-17"
    },
    "F73": {
      "label": "limitations, webdriverio",
      "display": "Choose a local browser or remote provider that supports WebDriver BiDi.",
      "asOf": "2026-11-17"
    },
    "F74": {
      "label": "Quickstart, webdriverio",
      "display": "import { remote } from 'webdriverio'\n\n/**\n * This example demonstrates how to use the wheel action to scroll a scrollable div\n *\n * The wheel action provides fine-grained control over scrolling behavior,\n * including the ability to scroll specific elements with custom durations.\n */\n\n/**\n * Initiate browser\n * As we use this script in our dev environments which has no\n * browser driver nor xfvb set up we have to make sure to set\n * the headless flag for running with devtools\n */\nconst browser = await remote({\n    logLevel: 'error',\n    capabilities: {\n        browserName: 'chrome',\n    } as any\n})\n\ntry {\n    /**\n     * Create a test page with a scrollable div\n     */\n    const testPage = `\n        <!DOCTYPE html>\n        <html>\n        <head>\n            <style>\n                body {\n                    margin: 20px;\n                    font-family: Arial, sans-serif;\n                }\n                #scrollable-div {\n                    width: 500px;\n                    height: 300px;\n                    overflow: auto;\n                    border: 2px solid #333;\n                    padding: 20px;\n                    background-color: #f0f0f0;\n                }\n                .content {\n                    height: 1000px;\n                    background: linear-gradient(to bottom, #ffffff, #cccccc);\n                }\n                .marker {\n                    padding: 10px;\n                    margin: 10px 0;\n                    background-color: #4CAF50;\n                    color: white;\n                    text-align: center;\n                    border-radius: 5px;\n                }\n            </style>\n        </head>\n        <body>\n            <h1>Wheel Action Example</h1>\n            <p>Scroll position: <span id=\"scroll-pos\">0</span>px</p>\n            <div id=\"scrollable-div\">\n                <div class=\"content\">\n                    <div class=\"marker\">Start of scrollable content</div>\n                    <div class=\"marker\" style=\"margin-top: 200px;\">Section 1</div>\n                    <div class=\"marker\" style=\"margin-top: 200px;\">Section 2</div>\n                    <div class=\"marker\" style=\"margin-top: 200px;\">Section 3</div>\n                    <div class=\"marker\" style=\"margin-top: 100px;\">End of scrollable content</div>\n                </div>\n            </div>\n            <script>\n                const div = document.getElementById('scrollable-div');\n                const scrollPos = document.getElementById('scroll-pos');\n                div.addEventListener('scroll', () => {\n                    scrollPos.textContent = Math.round(div.scrollTop);\n                });\n            </script>\n        </body>\n        </html>\n    `\n\n    // Navigate to the test page using a data URL\n    await browser.url(`data:text/html;charset=utf-8,${encodeURIComponent(testPage)}`)\n    console.log('✓ Navigated to test page')\n\n    // Get the scrollable div element\n    const scrollableDiv = await browser.$('#scrollable-div')\n\n    // Check initial scroll position\n    const initialScroll = await browser.execute((el) => {\n        return (el as HTMLElement).scrollTop\n    }, scrollableDiv)\n    console.log(`Initial scroll position: ${initialScroll}px`)\n\n    // Example 1: Scroll down within the div using wheel action\n    console.log('\\n--- Example 1: Basic scroll down ---')\n    await browser.action('wheel')\n        .scroll({\n            x: 0,\n            y: 0,\n            deltaX: 0,\n            deltaY: 200,  // Scroll down 200px\n            origin: scrollableDiv,\n            duration: 100\n        })\n        .perform()\n\n    await browser.pause(500) // Wait for scroll to complete\n\n    let currentScroll = await browser.execute((el) => {\n        return (el as HTMLElement).scrollTop\n    }, scrollableDiv)\n    console.log(`After scrolling down 200px: ${currentScroll}px`)\n\n    // Example 2: Scroll further down with a longer duration\n    console.log('\\n--- Example 2: Smooth scroll down ---')\n    await browser.action('wheel')\n        .scroll({\n            x: 0,\n            y: 0,\n            deltaX: 0,\n            deltaY: 300,  // Scroll down another 300px\n            origin: scrollableDiv,\n            duration: 500  // Slower, smoother scroll\n        })\n        .perform()\n\n    await browser.pause(600)\n\n    currentScroll = await browser.execute((el) => {\n        return (el as HTMLElement).scrollTop\n    }, scrollableDiv)\n    console.log(`After scrolling down 300px more: ${currentScroll}px`)\n\n    // Example 3: Scroll back up\n    console.log('\\n--- Example 3: Scroll up ---')\n    await browser.action('wheel')\n        .scroll({\n            x: 0,\n            y: 0,\n            deltaX: 0,\n            deltaY: -250,  // Negative value scrolls up\n            origin: scrollableDiv,\n            duration: 200\n        })\n        .perform()\n\n    await browser.pause(300)\n\n    currentScroll = await browser.execute((el) => {\n        return (el as HTMLElement).scrollTop\n    }, scrollableDiv)\n    console.log(`After scrolling up 250px: ${currentScroll}px`)\n\n    // Example 4: Chain multiple scroll actions\n    console.log('\\n--- Example 4: Chain multiple scrolls ---')\n    await browser.action('wheel')\n        .scroll({\n            deltaX: 0,\n            deltaY: 100,\n            origin: scrollableDiv,\n            duration: 100\n        })\n        .scroll({\n            deltaX: 0,\n            deltaY: 100,\n            origin: scrollableDiv,\n            duration: 100\n        })\n        .scroll({\n            deltaX: 0,\n            deltaY: 100,\n            origin: scrollableDiv,\n            duration: 100\n        })\n        .perform()\n\n    await browser.pause(500)\n\n    currentScroll = await browser.execute((el) => {\n        return (el as HTMLElement).scrollTop\n    }, scrollableDiv)\n    console.log(`After chained scrolls (3 × 100px): ${currentScroll}px`)\n\n    console.log('\\n✓ All wheel action examples completed successfully!')\n\n    /**\n     * Tear down session\n     */\n    await browser.deleteSession()\n} catch (err) {\n    console.log(`Something went wrong: ${err.stack}`)\n    await browser.deleteSession()\n}\n",
      "asOf": "2026-11-17"
    },
    "F75": {
      "label": "Library name, selenium-webdriver",
      "display": "Selenium WebDriver",
      "asOf": "2026-11-17"
    },
    "F76": {
      "label": "Monthly downloads, selenium-webdriver",
      "display": "8.0M",
      "asOf": "2026-11-15"
    },
    "F77": {
      "label": "License, selenium-webdriver",
      "display": "Apache-2.0",
      "asOf": "2026-11-17"
    },
    "F78": {
      "label": "Package release, selenium-webdriver",
      "display": "4.49.0",
      "asOf": "2026-11-17"
    },
    "F79": {
      "label": "Undated package release, selenium-webdriver",
      "display": "v4.49.0",
      "asOf": "2026-11-17"
    },
    "F80": {
      "label": "Repository stars, selenium-webdriver",
      "display": "34.6K",
      "asOf": "2026-11-17"
    },
    "F81": {
      "label": "Firefox support, selenium-webdriver",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F82": {
      "label": "Request interception, selenium-webdriver",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F83": {
      "label": "Remote browsers, selenium-webdriver",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F84": {
      "label": "Output formats, selenium-webdriver",
      "display": "PNG",
      "asOf": "2026-11-17"
    },
    "F85": {
      "label": "Install, selenium-webdriver",
      "display": "npm install selenium-webdriver",
      "asOf": "2026-11-17"
    },
    "F86": {
      "label": "What it does, selenium-webdriver",
      "display": "Provides JavaScript bindings for local and remote WebDriver browser automation.",
      "asOf": "2026-11-17"
    },
    "F87": {
      "label": "strengths lead, selenium-webdriver",
      "display": "Configures different installed browsers",
      "asOf": "2026-11-17"
    },
    "F88": {
      "label": "strengths, selenium-webdriver",
      "display": "Use Builder to choose the browser and apply its options.",
      "asOf": "2026-11-17"
    },
    "F89": {
      "label": "strengths lead, selenium-webdriver",
      "display": "Connects to remote WebDriver servers",
      "asOf": "2026-11-17"
    },
    "F90": {
      "label": "strengths, selenium-webdriver",
      "display": "Point Builder at Selenium Grid or a standalone server.",
      "asOf": "2026-11-17"
    },
    "F91": {
      "label": "limitations lead, selenium-webdriver",
      "display": "Loaded pages can still change",
      "asOf": "2026-11-17"
    },
    "F92": {
      "label": "limitations, selenium-webdriver",
      "display": "Wait for the element or condition the next action requires.",
      "asOf": "2026-11-17"
    },
    "F93": {
      "label": "Quickstart, selenium-webdriver",
      "display": "const { Builder, Browser } = require('selenium-webdriver')\n\n;(async function example() {\n  let driver = await new Builder().forBrowser(Browser.CHROME).build()\n  try {\n    await driver.get('https://www.selenium.dev')\n    console.log(await driver.getTitle())\n  } finally {\n    await driver.quit()\n  }\n})()\n\n",
      "asOf": "2026-11-17"
    },
    "F94": {
      "label": "Project function, selenium-webdriver",
      "display": "export async function createWebDriver(baseDir, options, tmpDir) {\n  const browser = options.browser || 'chrome';\n  const seleniumUrl = options.selenium ? options.selenium.url : undefined;\n  const capabilities = options.selenium\n    ? options.selenium.capabilities\n    : undefined;\n\n  const builder = new Builder()\n    .forBrowser(browser === 'edge' ? 'MicrosoftEdge' : browser)\n    .usingServer(seleniumUrl);\n\n  // Hack for running browsertime on different platforms.\n  // Keep it in the dark for now becasue if you don't know\n  // what you do, a lot can get wrong\n  if (!isEmpty(capabilities)) {\n    builder.withCapabilities(capabilities);\n  }\n\n  switch (browser) {\n    case 'chrome': {\n      await configureBuilderChrome(builder, baseDir, options, tmpDir);\n      break;\n    }\n\n    case 'firefox': {\n      await configureBuilderFirefox(builder, baseDir, options);\n      break;\n    }\n\n    case 'safari': {\n      await configureBuilderSafari(builder, baseDir, options);\n      break;\n    }\n\n    case 'edge': {\n      await configureBuilderEdge(builder, baseDir, options, tmpDir);\n      break;\n    }\n\n    default: {\n      throw new Error('Unsupported browser: ' + browser);\n    }\n  }\n\n  return builder.build();\n}\n",
      "asOf": "2026-11-17"
    },
    "F95": {
      "label": "Project function reference, selenium-webdriver",
      "display": "index.js · createWebDriver()",
      "asOf": "2026-11-17"
    },
    "F96": {
      "label": "Project repository, selenium-webdriver",
      "display": "sitespeedio/browsertime",
      "asOf": "2026-11-17"
    },
    "F97": {
      "label": "Project stars, sitespeedio/browsertime",
      "display": "653",
      "asOf": "2026-11-17"
    },
    "F98": {
      "label": "Project push date, sitespeedio/browsertime",
      "display": "Nov 2026",
      "asOf": "2026-11-16"
    },
    "F99": {
      "label": "Developer need",
      "display": "Locator-driven browser interaction",
      "asOf": "2026-11-17"
    },
    "F100": {
      "label": "Why choose playwright",
      "display": "automatic locator actionability checks",
      "asOf": "2026-11-17"
    },
    "F101": {
      "label": "Developer need in introduction",
      "display": "locator-driven browser interaction",
      "asOf": "2026-11-17"
    },
    "F102": {
      "label": "Developer need",
      "display": "Attaching to an existing browser",
      "asOf": "2026-11-17"
    },
    "F103": {
      "label": "Why choose puppeteer",
      "display": "connecting to a running browser endpoint",
      "asOf": "2026-11-17"
    },
    "F104": {
      "label": "Developer need in introduction",
      "display": "attaching to an existing browser",
      "asOf": "2026-11-17"
    },
    "F105": {
      "label": "When to consider playwright",
      "display": "independent browser contexts are central to the workflow",
      "asOf": "2026-11-17"
    },
    "F106": {
      "label": "Developer need",
      "display": "WebDriver browser configuration",
      "asOf": "2026-11-17"
    },
    "F107": {
      "label": "Why choose selenium-webdriver",
      "display": "Builder-based browser selection and options",
      "asOf": "2026-11-17"
    },
    "F108": {
      "label": "Developer need in introduction",
      "display": "WebDriver browser configuration",
      "asOf": "2026-11-17"
    },
    "F109": {
      "label": "When to consider webdriverio",
      "display": "the workflow benefits from automatic element interaction waits",
      "asOf": "2026-11-17"
    },
    "F110": {
      "label": "Developer need",
      "display": "Standalone commands with auto-waits",
      "asOf": "2026-11-17"
    },
    "F111": {
      "label": "Why choose webdriverio",
      "display": "automatic waits for browser element interactions",
      "asOf": "2026-11-17"
    },
    "F112": {
      "label": "Developer need in introduction",
      "display": "standalone commands with auto-waits",
      "asOf": "2026-11-17"
    },
    "F113": {
      "label": "When to consider puppeteer",
      "display": "connecting directly to an existing browser is sufficient",
      "asOf": "2026-11-17"
    },
    "F114": {
      "label": "Page introduction",
      "display": "JavaScript browser automation libraries control a web browser from code to open pages, click, type, and read content.",
      "asOf": "2026-11-17"
    },
    "F115": {
      "label": "FAQ: Which JavaScript browser-automation library should I choose?",
      "display": "Playwright locator actions wait for their required actionability checks.",
      "asOf": "2026-11-17"
    },
    "F116": {
      "label": "FAQ: Which JavaScript browser-automation library should I choose?",
      "display": "Puppeteer controls Chrome or Firefox using browser protocols.",
      "asOf": "2026-11-17"
    },
    "F117": {
      "label": "FAQ: Which JavaScript browser-automation library should I choose?",
      "display": "Selenium Builder configures local or remote WebDriver sessions.",
      "asOf": "2026-11-17"
    },
    "F118": {
      "label": "FAQ: Which JavaScript browser-automation library should I choose?",
      "display": "WebdriverIO adds standalone convenience commands over the protocol.",
      "asOf": "2026-11-17"
    },
    "F119": {
      "label": "FAQ: Do Puppeteer locators automatically wait before clicking?",
      "display": "Locators wait for the element to be present and in the right state for the action.",
      "asOf": "2026-11-17"
    },
    "F120": {
      "label": "FAQ: Do Puppeteer locators automatically wait before clicking?",
      "display": "The checks include viewport, visibility, enabled state, and a stable bounding box.",
      "asOf": "2026-11-17"
    },
    "F121": {
      "label": "FAQ: Does a loaded page guarantee a Selenium element is ready?",
      "display": "Loaded JavaScript can change the page after the browser finishes its initial load.",
      "asOf": "2026-11-17"
    },
    "F122": {
      "label": "FAQ: Does a loaded page guarantee a Selenium element is ready?",
      "display": "Dynamically added elements can still be absent or hidden when the next command runs.",
      "asOf": "2026-11-17"
    },
    "F123": {
      "label": "FAQ: Why can Puppeteer requests stop progressing after interception?",
      "display": "Every intercepted request stalls until a handler continues, responds to, or aborts it.",
      "asOf": "2026-11-17"
    },
    "F124": {
      "label": "FAQ: Why can Playwright routing miss network events?",
      "display": "Service workers can hide traffic from page and context routing until the page blocks them.",
      "asOf": "2026-11-17"
    },
    "F125": {
      "label": "FAQ: Can every remote WebdriverIO session mock network requests?",
      "display": "Network mocking in WebdriverIO requires WebDriver BiDi support in the browser or remote provider.",
      "asOf": "2026-11-17"
    },
    "F126": {
      "label": "FAQ: Does Playwright remote connect accept any server version?",
      "display": "The connecting client and browser-launching Playwright instance must have matching major and minor versions.",
      "asOf": "2026-11-17"
    },
    "F127": {
      "label": "FAQ: Can independent browser contexts share cookies by default?",
      "display": "Playwright newContext does not share cookies/cache with other browser contexts.",
      "asOf": "2026-11-17"
    },
    "F128": {
      "label": "FAQ: Can independent browser contexts share cookies by default?",
      "display": "Puppeteer createBrowserContext has the same documented separation.",
      "asOf": "2026-11-17"
    },
    "F129": {
      "label": "FAQ: Does Selenium require manual browser-driver setup in this starter?",
      "display": "Its current JavaScript quickstart delegates driver installation to Selenium Manager.",
      "asOf": "2026-11-17"
    },
    "F130": {
      "label": "FAQ: What happens when a package manager blocks Puppeteer install scripts?",
      "display": "The browser is not downloaded during package installation.",
      "asOf": "2026-11-17"
    },
    "F131": {
      "label": "FAQ: What happens when a package manager blocks Puppeteer install scripts?",
      "display": "The own installation instructions provide a separate browser-install command.",
      "asOf": "2026-11-17"
    },
    "F132": {
      "label": "FAQ: Can WebdriverIO run without its test runner?",
      "display": "Standalone mode supports plain Node scripts that need a running browser.",
      "asOf": "2026-11-17"
    },
    "F133": {
      "label": "FAQ: Do screenshot methods produce identical page coverage?",
      "display": "WebdriverIO warns that whole-document versus viewport capture varies by driver.",
      "asOf": "2026-11-17"
    },
    "F134": {
      "label": "FAQ: Do screenshot methods produce identical page coverage?",
      "display": "Selenium specifies best-effort capture with a base64-encoded PNG result.",
      "asOf": "2026-11-17"
    },
    "F135": {
      "label": "Library name, playwright-core",
      "display": "playwright-core",
      "asOf": "2026-11-20"
    },
    "F136": {
      "label": "Monthly downloads, playwright-core",
      "display": "712.5M",
      "asOf": "2026-11-20"
    },
    "F137": {
      "label": "License, playwright-core",
      "display": "Apache-2.0",
      "asOf": "2026-11-20"
    },
    "F138": {
      "label": "Package release, playwright-core",
      "display": "1.65.1",
      "asOf": "2026-11-20"
    },
    "F139": {
      "label": "Package release date, playwright-core",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F140": {
      "label": "Install, playwright-core",
      "display": "npm install playwright-core",
      "asOf": "2026-11-20"
    },
    "F141": {
      "label": "Quickstart, playwright-core",
      "display": "import { chromium } from \"playwright-core\";\n\nconst browser = await chromium.launch();\nconst page = await browser.newPage();\nawait page.goto(\"https://example.com\");\nconsole.log(await page.title());\nawait browser.close();\n",
      "asOf": "2026-11-20"
    },
    "F142": {
      "label": "Official description, playwright-core",
      "display": "Drives web browsers through a high-level API, without the Playwright Test runner.",
      "asOf": "2026-11-20"
    },
    "F143": {
      "label": "Quickstart source file, playwright-core",
      "display": "docs/src/library-js.md",
      "asOf": "2026-11-20"
    },
    "F144": {
      "label": "Repository stars, playwright-core",
      "display": "100.6K",
      "asOf": "2026-11-20"
    },
    "F145": {
      "label": "Locator action auto-wait, playwright-core",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F146": {
      "label": "Native model-guided actions, playwright-core",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F147": {
      "label": "Native automation role, playwright-core",
      "display": "Core cross-browser page/locator/context driver; full Playwright1.65.1 reexports same native core and test package adds runner APIs. Matching browser install is separate.",
      "asOf": "2026-11-20"
    },
    "F148": {
      "label": "Runtime and browser prerequisites, playwright-core",
      "display": "Supported Node/ESM host and the matching Playwright Chromium browser installed separately. Core/full packages share native driver via exact1.65.1 reexport; both require browser setup,not an automatic full-package download claim.",
      "asOf": "2026-11-20"
    },
    "F149": {
      "label": "Native action waiting boundary, playwright-core",
      "display": "Native locator actions check documented actionability conditions until timeout; not all Page operations retry.",
      "asOf": "2026-11-20"
    },
    "F150": {
      "label": "Original consumer contract, playwright-core",
      "display": "Pinned BrowserToolBase.safeExecute passes a real Playwright Page from ToolContext to the intact callback; context types import Playwright and its current official public barrel reexports playwright-core. Native page.pdf accepts path, A4/default or another valid paper format, printBackground boolean, and physical-length margins. The Promise<Buffer> result is intentionally ignored because the path option writes the file. Only page.pdf is counted; safeExecute/path/createSuccessResponse are host helpers. Chromium PDF-capable session and valid caller options are prerequisites. ",
      "asOf": "2026-11-20"
    },
    "F151": {
      "label": "Project function, playwright-core",
      "display": "async execute(args: any, context: ToolContext): Promise<ToolResponse> {\n  return this.safeExecute(context, async (page) => {\n    const filename = args.filename || 'page.pdf';\n    const options = {\n      path: path.resolve(args.outputPath || '.', filename),\n      format: args.format || 'A4',\n      printBackground: args.printBackground !== false,\n      margin: args.margin || {\n        top: '1cm',\n        right: '1cm',\n        bottom: '1cm',\n        left: '1cm'\n      }\n    };\n\n    await page.pdf(options);\n    return createSuccessResponse(`Saved page as PDF: ${options.path}`);\n  });\n}\n",
      "asOf": "2026-11-20"
    },
    "F152": {
      "label": "Project source file, playwright-core",
      "display": "src/tools/browser/output.ts",
      "asOf": "2026-11-20"
    },
    "F153": {
      "label": "Project full_name, playwright-core",
      "display": "executeautomation/mcp-playwright",
      "asOf": "2026-11-20"
    },
    "F154": {
      "label": "Project stargazers_count, playwright-core",
      "display": "5.7K",
      "asOf": "2026-11-20"
    },
    "F155": {
      "label": "Library name, puppeteer-core",
      "display": "puppeteer-core",
      "asOf": "2026-11-20"
    },
    "F156": {
      "label": "Monthly downloads, puppeteer-core",
      "display": "127.0M",
      "asOf": "2026-11-20"
    },
    "F157": {
      "label": "License, puppeteer-core",
      "display": "Apache-2.0",
      "asOf": "2026-11-20"
    },
    "F158": {
      "label": "Package release, puppeteer-core",
      "display": "25.18.1",
      "asOf": "2026-11-20"
    },
    "F159": {
      "label": "Package release date, puppeteer-core",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F160": {
      "label": "Install, puppeteer-core",
      "display": "npm install puppeteer-core",
      "asOf": "2026-11-20"
    },
    "F161": {
      "label": "Quickstart, puppeteer-core",
      "display": "import puppeteer from \"puppeteer-core\";\n\nconst browser = await puppeteer.launch({ channel: \"chrome\" });\nconst page = await browser.newPage();\nawait page.goto(\"https://example.com\");\nconsole.log(await page.title());\nawait browser.close();\n",
      "asOf": "2026-11-20"
    },
    "F162": {
      "label": "Official description, puppeteer-core",
      "display": "Controls Chrome over the DevTools Protocol through a high-level API, with the browser installed separately.",
      "asOf": "2026-11-20"
    },
    "F163": {
      "label": "Quickstart source file, puppeteer-core",
      "display": "README.md",
      "asOf": "2026-11-20"
    },
    "F164": {
      "label": "Repository stars, puppeteer-core",
      "display": "95.9K",
      "asOf": "2026-11-20"
    },
    "F165": {
      "label": "Locator action auto-wait, puppeteer-core",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F166": {
      "label": "Native model-guided actions, puppeteer-core",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F167": {
      "label": "Native automation role, puppeteer-core",
      "display": "Core Chrome/Firefox browser-control API; requires explicit installed browser/channel/path or remote endpoint. Full Puppeteer25.18.1 reexports core and adds configuration/browser-installation lifecycle.",
      "asOf": "2026-11-20"
    },
    "F168": {
      "label": "Runtime and browser prerequisites, puppeteer-core",
      "display": "Supported Node/ESM and an installed supported Chrome Stable channel. Core does not download a browser and requires channel or executablePath when launching; remote connect is a different option. Current full barrel reexports core Page APIs.",
      "asOf": "2026-11-20"
    },
    "F169": {
      "label": "Native action waiting boundary, puppeteer-core",
      "display": "Current Locator API performs presence/visibility/stability/enabled checks; lower-level Page/ElementHandle calls are separate.",
      "asOf": "2026-11-20"
    },
    "F170": {
      "label": "Original consumer contract, puppeteer-core",
      "display": "Source directly imports Page from puppeteer-core. Same-file usePuppeteer renders first and passes a genuine Page through the pinned browser.withPage factory, which calls Puppeteer Browser.newPage. evaluate serializes the original outline resolver and plain heading/attribute arguments; its returned outline data is host metadata. pdf accepts booleans printBackground/preferCSSPageSize and string/number width/height; current Uint8Array output is explicitly Buffer.from-wrapped before File.buffer use. Prefer a Chromium/CDP host for CSS page-size priority; the original source explicitly notes its BiDi limitation. Optional pdf-lib metadata/outline/note postprocessing is preserved as a separate peer workflow, not counted as Puppeteer calls. ",
      "asOf": "2026-11-20"
    },
    "F171": {
      "label": "Project function, puppeteer-core",
      "display": "private async convertFileToPDF(\n  tpl: TemplateResult,\n  file: File,\n  { postprocess = true }: ConvertPDFOption = {}\n): Promise<File> {\n  const html = new File(file.absolutePath)\n  html.buffer = Buffer.from(tpl.result)\n\n  const ret = file.convert(this.options.output, { extension: 'pdf' })\n\n  // Generate PDF\n  let outlineData: OutlineData | undefined\n\n  ret.buffer = Buffer.from(\n    await this.usePuppeteer(html, async (page, { render }) => {\n      await render()\n\n      if (tpl.rendered.outline) {\n        outlineData = await page.evaluate(\n          pptrOutlinePositionResolver,\n          tpl.rendered.outline.flatMap((o) => o.headings),\n          pdfOutlineAttr\n        )\n      }\n\n      return await page.pdf({\n        printBackground: true,\n        preferCSSPageSize: true, // This option is not working in WebDriver BiDi\n        width: tpl.rendered.size.width,\n        height: tpl.rendered.size.height,\n      })\n    })\n  )\n\n  if (postprocess) {\n    // Apply PDF metadata and annotations\n    const creationDate = new Date()\n    const { PDFDocument, PDFHexString, PDFString } = await import('pdf-lib')\n    const pdfDoc = await PDFDocument.load(ret.buffer)\n\n    pdfDoc.setCreator(CREATED_BY_MARP)\n    pdfDoc.setProducer(CREATED_BY_MARP)\n    pdfDoc.setCreationDate(creationDate)\n    pdfDoc.setModificationDate(creationDate)\n\n    if (tpl.rendered.title) pdfDoc.setTitle(tpl.rendered.title)\n    if (tpl.rendered.description) pdfDoc.setSubject(tpl.rendered.description)\n    if (tpl.rendered.author) pdfDoc.setAuthor(tpl.rendered.author)\n    if (tpl.rendered.keywords)\n      pdfDoc.setKeywords([tpl.rendered.keywords.join('; ')])\n\n    if (this.options.pdfOutlines && tpl.rendered.outline) {\n      await setOutline(\n        pdfDoc,\n        generatePDFOutlines(tpl.rendered.outline, {\n          ...this.options.pdfOutlines,\n          data: outlineData,\n          size: tpl.rendered.size,\n        })\n      )\n    }\n\n    if (this.options.pdfNotes) {\n      const pages = pdfDoc.getPages()\n\n      for (let i = 0, len = pages.length; i < len; i += 1) {\n        const notes = tpl.rendered.comments[i].join('\\n\\n')\n\n        if (notes) {\n          const noteAnnot = pdfDoc.context.obj({\n            Type: 'Annot',\n            Subtype: 'Text',\n            Rect: [0, 20, 20, 20],\n            Contents: PDFHexString.fromText(notes),\n            T: tpl.rendered.author\n              ? PDFHexString.fromText(tpl.rendered.author)\n              : undefined,\n            Name: 'Note',\n            Subj: PDFString.of('Note'),\n            C: [1, 0.92, 0.42], // RGB\n            CA: 0.25, // Alpha\n          })\n\n          pages[i].node.addAnnot(pdfDoc.context.register(noteAnnot))\n        }\n      }\n    }\n\n    // Apply modified PDF to buffer\n    ret.buffer = Buffer.from(await pdfDoc.save())\n  }\n\n  return ret\n}\n",
      "asOf": "2026-11-20"
    },
    "F172": {
      "label": "Project source file, puppeteer-core",
      "display": "src/converter.ts",
      "asOf": "2026-11-20"
    },
    "F173": {
      "label": "Project full_name, puppeteer-core",
      "display": "marp-team/marp-cli",
      "asOf": "2026-11-20"
    },
    "F174": {
      "label": "Project stargazers_count, puppeteer-core",
      "display": "3.9K",
      "asOf": "2026-11-20"
    },
    "F175": {
      "label": "Library name, webdriver",
      "display": "WebDriver",
      "asOf": "2026-11-20"
    },
    "F176": {
      "label": "Monthly downloads, webdriver",
      "display": "13.2M",
      "asOf": "2026-11-20"
    },
    "F177": {
      "label": "License, webdriver",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F178": {
      "label": "Package release, webdriver",
      "display": "10.2.0",
      "asOf": "2026-11-20"
    },
    "F179": {
      "label": "Package release date, webdriver",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F180": {
      "label": "Install, webdriver",
      "display": "npm install webdriver",
      "asOf": "2026-11-20"
    },
    "F181": {
      "label": "Quickstart, webdriver",
      "display": "import WebDriver from \"webdriver\";\n\nconst browser = await WebDriver.newSession({\n  capabilities: { browserName: \"chrome\" },\n});\nawait browser.navigateTo(\"https://example.com\");\nconsole.log(await browser.getTitle());\nawait browser.deleteSession();\n",
      "asOf": "2026-11-20"
    },
    "F182": {
      "label": "Official description, webdriver",
      "display": "Implements the WebDriver and WebDriver BiDi protocols for Node.js.",
      "asOf": "2026-11-20"
    },
    "F183": {
      "label": "Quickstart source file, webdriver",
      "display": "packages/webdriver/README.md",
      "asOf": "2026-11-20"
    },
    "F184": {
      "label": "Repository stars, webdriver",
      "display": "9.9K",
      "asOf": "2026-11-20"
    },
    "F185": {
      "label": "Locator action auto-wait, webdriver",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F186": {
      "label": "Native model-guided actions, webdriver",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F187": {
      "label": "Native automation role, webdriver",
      "display": "Direct non-opinionated WebDriver/WebDriverBiDi/Appium protocol client and reusable session attachment; distinct raw API from its high-level WebdriverIO consumer.",
      "asOf": "2026-11-20"
    },
    "F188": {
      "label": "Runtime and browser prerequisites, webdriver",
      "display": "Supported Node/ESM,installed Chrome,and compatible driver/server connectivity. Use actual current public WebDriver default export; newSession handles configured WebDriver/BiDi session,not high-level locator automation.",
      "asOf": "2026-11-20"
    },
    "F189": {
      "label": "Native action waiting boundary, webdriver",
      "display": "Raw protocol binding has no high-level locator actionability-retry abstraction. WebDriver protocol timeouts,interactability checks,and caller-written waits remain available.",
      "asOf": "2026-11-20"
    },
    "F190": {
      "label": "Original consumer contract, webdriver",
      "display": "Actual direct webdriver import calls synchronous static attachToSession({sessionId,...DEFAULT_SERVER_PROPS,...serverOpts,capabilities}). Current10.2 checks string sessionId and accepts capabilities and connection options. Spread order is preserved: supplied serverOpts can override earlier sessionId/defaults; caller must supply a valid existing compatible WebDriver/Appium browser session. This is attachment,not a new session or page navigation. Current attachToSession returns a Client synchronously; original function wraps it in existing WDSessionDriver. That wrapper is a peer Inspector type,not another native SDK call. Error for missing sessionId is original host validation.",
      "asOf": "2026-11-20"
    },
    "F191": {
      "label": "Project function, webdriver",
      "display": "static attachToSession(sessionId, serverOpts, capabilities = {}) {\n    if (!sessionId) {\n      throw new Error(\"Can't attach to a session without a session id\");\n    }\n    const safeServerOpts = {sessionId, ...DEFAULT_SERVER_PROPS, ...serverOpts, capabilities};\n    const sessionClient = webdriver.attachToSession(safeServerOpts);\n    return new WDSessionDriver(sessionClient);\n  }\n",
      "asOf": "2026-11-20"
    },
    "F192": {
      "label": "Project source file, webdriver",
      "display": "app/common/renderer/lib/appium/session-starter.js",
      "asOf": "2026-11-20"
    },
    "F193": {
      "label": "Project full_name, webdriver",
      "display": "appium/appium-inspector",
      "asOf": "2026-11-20"
    },
    "F194": {
      "label": "Project stargazers_count, webdriver",
      "display": "1.9K",
      "asOf": "2026-11-20"
    },
    "F195": {
      "label": "Library name, webdriverio",
      "display": "webdriverio",
      "asOf": "2026-11-20"
    },
    "F196": {
      "label": "Monthly downloads, webdriverio",
      "display": "12.8M",
      "asOf": "2026-11-20"
    },
    "F197": {
      "label": "License, webdriverio",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F198": {
      "label": "Package release, webdriverio",
      "display": "10.2.0",
      "asOf": "2026-11-20"
    },
    "F199": {
      "label": "Package release date, webdriverio",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F200": {
      "label": "Install, webdriverio",
      "display": "npm install webdriverio",
      "asOf": "2026-11-20"
    },
    "F201": {
      "label": "Quickstart, webdriverio",
      "display": "import { remote } from \"webdriverio\";\n\nconst browser = await remote({ capabilities: { browserName: \"chrome\" } });\nawait browser.url(\"https://example.com\");\nconsole.log(await browser.getTitle());\nawait browser.deleteSession();\n",
      "asOf": "2026-11-20"
    },
    "F202": {
      "label": "Repository stars, webdriverio",
      "display": "9.9K",
      "asOf": "2026-11-20"
    },
    "F203": {
      "label": "Locator action auto-wait, webdriverio",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F204": {
      "label": "Native model-guided actions, webdriverio",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F205": {
      "label": "Native automation role, webdriverio",
      "display": "Higher-level standalone browser/mobile automation with remote(),element commands,and action auto-wait; optionally used by separate test-runner tooling.",
      "asOf": "2026-11-20"
    },
    "F206": {
      "label": "Runtime and browser prerequisites, webdriverio",
      "display": "Supported Node/ESM and available compatible browser/driver or configured remote service. Standalone remote API,not a required full test-runner configuration.",
      "asOf": "2026-11-20"
    },
    "F207": {
      "label": "Native action waiting boundary, webdriverio",
      "display": "High-level element interaction commands automatically wait for visible/interactable elements; raw protocol calls and configured implicit waits differ.",
      "asOf": "2026-11-20"
    },
    "F208": {
      "label": "Original consumer contract, webdriverio",
      "display": "Actual class constructor accepts an initialized WebdriverIO.Browser. Current no-argument getWindowHandle/getWindowHandles return current string and string array. switchToWindow accepts an actual returned handle string. This protocol command remains exposed although current own docs recommend the higher-level switchWindow convenience method. Original error-name matching and fallback to last returned handle are host policy,not a guarantee of chronological window order. Returns current handle,or after a closed-window error selects the last entry of the native arbitrary-order handle array and returns it. Empty list/remainder errors rethrow. Private source method visibility is host-internal; receiver operations are public native APIs.",
      "asOf": "2026-11-20"
    },
    "F209": {
      "label": "Project function, webdriverio",
      "display": "private async activeWindowHandle(): Promise<string> {\n        try {\n            return await this.browser.getWindowHandle();\n        }\n        catch (error) {\n            // If the window is closed by user action Webdriver will still hold the reference to the closed window.\n            if (['NoSuchWindowError', 'no such window'].includes(error.name)) {\n                const allHandles = await this.browser.getWindowHandles();\n                if (allHandles.length > 0) {\n                    const handle = allHandles.at(-1);\n                    await this.browser.switchToWindow(handle);\n\n                    return handle;\n                }\n            }\n            throw error;\n        }\n    }\n",
      "asOf": "2026-11-20"
    },
    "F210": {
      "label": "Project source file, webdriverio",
      "display": "packages/webdriverio/src/screenplay/models/WebdriverIOBrowsingSession.ts",
      "asOf": "2026-11-20"
    },
    "F211": {
      "label": "Project full_name, webdriverio",
      "display": "serenity-js/serenity-js",
      "asOf": "2026-11-20"
    },
    "F212": {
      "label": "Project stargazers_count, webdriverio",
      "display": "624",
      "asOf": "2026-11-20"
    },
    "F213": {
      "label": "Library name, chrome-remote-interface",
      "display": "chrome-remote-interface",
      "asOf": "2026-11-20"
    },
    "F214": {
      "label": "Monthly downloads, chrome-remote-interface",
      "display": "12.5M",
      "asOf": "2026-11-20"
    },
    "F215": {
      "label": "License, chrome-remote-interface",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F216": {
      "label": "Package release, chrome-remote-interface",
      "display": "0.34.0",
      "asOf": "2026-11-20"
    },
    "F217": {
      "label": "Package release date, chrome-remote-interface",
      "display": "Feb 2026",
      "asOf": "2026-11-20"
    },
    "F218": {
      "label": "Install, chrome-remote-interface",
      "display": "npm install chrome-remote-interface",
      "asOf": "2026-11-20"
    },
    "F219": {
      "label": "Quickstart, chrome-remote-interface",
      "display": "import CDP from \"chrome-remote-interface\";\n\nconst client = await CDP();\nconst { Page, Runtime } = client;\nawait Page.enable();\nconst loaded = Page.loadEventFired();\nawait Page.navigate({ url: \"https://example.com\" });\nawait loaded;\nconst { result } = await Runtime.evaluate({ expression: \"document.title\" });\nconsole.log(result.value);\nawait client.close();\n",
      "asOf": "2026-11-20"
    },
    "F220": {
      "label": "Official description, chrome-remote-interface",
      "display": "Sends Chrome DevTools Protocol commands to a running Chrome target.",
      "asOf": "2026-11-20"
    },
    "F221": {
      "label": "Quickstart source file, chrome-remote-interface",
      "display": "README.md",
      "asOf": "2026-11-20"
    },
    "F222": {
      "label": "Repository stars, chrome-remote-interface",
      "display": "4.6K",
      "asOf": "2026-11-20"
    },
    "F223": {
      "label": "Locator action auto-wait, chrome-remote-interface",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F224": {
      "label": "Native model-guided actions, chrome-remote-interface",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F225": {
      "label": "Native automation role, chrome-remote-interface",
      "display": "Direct CDP client for compatible Chrome targets,protocol domains,and network/page events; compatible live endpoint must already exist.",
      "asOf": "2026-11-20"
    },
    "F226": {
      "label": "Runtime and browser prerequisites, chrome-remote-interface",
      "display": "Run a compatible Chrome browser with an accessible CDP endpoint first; SDK connects to an existing page rather than launching a browser. Subscribe to load event before navigation. Supported Node/ESM or equivalent CommonJS interop.",
      "asOf": "2026-11-20"
    },
    "F227": {
      "label": "Native action waiting boundary, chrome-remote-interface",
      "display": "Low-level dynamically mapped CDP domain client has no high-level locator actionability-retry layer; caller coordinates page/events and explicit waits.",
      "asOf": "2026-11-20"
    },
    "F228": {
      "label": "Original consumer contract, chrome-remote-interface",
      "display": "Context.create directly calls imported chrome-remote-interface CDP({host,port,target,local:true}) and returns the tab client passed to _loadPage by the unchanged host. Current SDK maps protocol domains/events. Page/Network.enable accept no required arguments; Page.navigate accepts URL; loadingFinished supplies requestId; Network.getResponseBody({requestId}) returns body and base64Encoded. Compatible Chrome/CDP domain implementation and an enabled remote-debugging endpoint are required. Returns original Stats after both native navigation and host event-based termination finish. Body capture can fail and is handled by original synthetic missing-body event. client.on is EventEmitter plumbing and Stats/Promise operations are not padded native calls; host termination policy can wait indefinitely.",
      "asOf": "2026-11-20"
    },
    "F229": {
      "label": "Project function, chrome-remote-interface",
      "display": "async _loadPage(client) {\n        // enable domains\n        const {Page, Network} = client;\n        await Network.enable();\n        await Page.enable();\n        // register events\n        const stats = new Stats(this._url, this._options);\n        const termination = new Promise((fulfill, reject) => {\n            client.on('event', (event) => {\n                stats.processEvent(fulfill, reject, event);\n            });\n            // XXX the separation of concerns between live fetching and HAR\n            // computation made it necessary to introduce a synthetic event\n            // which is the reply of the Network.getResponseBody method\n            if (this._options.content) {\n                Network.loadingFinished(async ({requestId}) => {\n                    // only for those entries that are being tracked (e.g., not\n                    // for cached items)\n                    if (!stats.entries.get(requestId)) {\n                        return;\n                    }\n                    try {\n                        const params = await Network.getResponseBody({requestId});\n                        const {body, base64Encoded} = params;\n                        stats.processEvent(fulfill, reject, {\n                            method: 'Network.getResponseBody',\n                            params: {\n                                requestId,\n                                body,\n                                base64Encoded\n                            }\n                        });\n                    } catch (err) {\n                        // sometimes it is impossible to fetch the content (see #82)\n                        stats.processEvent(fulfill, reject, {\n                            method: 'Network.getResponseBody',\n                            params: {\n                                requestId\n                            }\n                        });\n                    }\n                });\n            }\n        });\n        // start the page load\n        const navigation = Page.navigate({url: this._url});\n        // events will determine termination\n        await Promise.all([termination, navigation]);\n        return stats;\n    }\n",
      "asOf": "2026-11-20"
    },
    "F230": {
      "label": "Project source file, chrome-remote-interface",
      "display": "lib/live.js",
      "asOf": "2026-11-20"
    },
    "F231": {
      "label": "Project full_name, chrome-remote-interface",
      "display": "cyrus-and/chrome-har-capturer",
      "asOf": "2026-11-20"
    },
    "F232": {
      "label": "Project stargazers_count, chrome-remote-interface",
      "display": "572",
      "asOf": "2026-11-20"
    },
    "F233": {
      "label": "Library name, @browserbasehq/stagehand",
      "display": "Stagehand",
      "asOf": "2026-11-20"
    },
    "F234": {
      "label": "Monthly downloads, @browserbasehq/stagehand",
      "display": "10.2M",
      "asOf": "2026-11-20"
    },
    "F235": {
      "label": "License, @browserbasehq/stagehand",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F236": {
      "label": "Package release, @browserbasehq/stagehand",
      "display": "4.4.0",
      "asOf": "2026-11-20"
    },
    "F237": {
      "label": "Package release date, @browserbasehq/stagehand",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F238": {
      "label": "Install, @browserbasehq/stagehand",
      "display": "npm install @browserbasehq/stagehand",
      "asOf": "2026-11-20"
    },
    "F239": {
      "label": "Quickstart, @browserbasehq/stagehand",
      "display": "import { localBrowser, Stagehand } from \"@browserbasehq/stagehand\";\n\nconst browser = await localBrowser.launch({ userDataDir: \"./browser-data\" });\nconst stagehand = await Stagehand.create({\n  browser,\n  model: { modelName: \"openai/gpt-5.4-mini\", apiKey: process.env.OPENAI_API_KEY },\n});\nconst [page] = await browser.context.pages();\nawait page.goto(\"https://example.com\");\nconst { data } = await stagehand.observe(\"find the main heading\");\nconsole.log(data);\nawait stagehand.close();\nawait browser.close();\n",
      "asOf": "2026-11-20"
    },
    "F240": {
      "label": "Official description, @browserbasehq/stagehand",
      "display": "Builds browser agents on Browserbase's SDK, with model-guided page actions.",
      "asOf": "2026-11-20"
    },
    "F241": {
      "label": "Quickstart source file, @browserbasehq/stagehand",
      "display": "README.md",
      "asOf": "2026-11-20"
    },
    "F242": {
      "label": "Repository stars, @browserbasehq/stagehand",
      "display": "26.1K",
      "asOf": "2026-11-20"
    },
    "F243": {
      "label": "Locator action auto-wait, @browserbasehq/stagehand",
      "display": "Undocumented",
      "asOf": "2026-11-20"
    },
    "F244": {
      "label": "Native model-guided actions, @browserbasehq/stagehand",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F245": {
      "label": "Native automation role, @browserbasehq/stagehand",
      "display": "Native model-configured browser-agent act/observe/extract interface;4.4 uses async Stagehand.create,external/local browser,and result envelopes,not old constructor/init/page API.",
      "asOf": "2026-11-20"
    },
    "F246": {
      "label": "Runtime and browser prerequisites, @browserbasehq/stagehand",
      "display": "Node >=22.18.0,ESM,compatible local browser,provider API key/network/model access,and writable persistent profile. Current4.4 private constructor requires async create; observe returns envelope data. No consumer login/secret values or service calls executed.",
      "asOf": "2026-11-20"
    },
    "F247": {
      "label": "Native action waiting boundary, @browserbasehq/stagehand",
      "display": "Current act self-healing is documented; exact locator visibility/stability retry contract is unresolved,not equated with absent.",
      "asOf": "2026-11-20"
    },
    "F248": {
      "label": "Library name, selenium-webdriver",
      "display": "selenium-webdriver",
      "asOf": "2026-11-20"
    },
    "F249": {
      "label": "Monthly downloads, selenium-webdriver",
      "display": "8.2M",
      "asOf": "2026-11-20"
    },
    "F250": {
      "label": "License, selenium-webdriver",
      "display": "Apache-2.0",
      "asOf": "2026-11-20"
    },
    "F251": {
      "label": "Package release, selenium-webdriver",
      "display": "4.53.0",
      "asOf": "2026-11-20"
    },
    "F252": {
      "label": "Package release date, selenium-webdriver",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F253": {
      "label": "Install, selenium-webdriver",
      "display": "npm install selenium-webdriver",
      "asOf": "2026-11-20"
    },
    "F254": {
      "label": "Quickstart, selenium-webdriver",
      "display": "const { Builder, Browser } = require(\"selenium-webdriver\");\n\n(async function main() {\n  const driver = await new Builder().forBrowser(Browser.CHROME).build();\n  try {\n    await driver.get(\"https://example.com\");\n    console.log(await driver.getTitle());\n  } finally {\n    await driver.quit();\n  }\n})();\n",
      "asOf": "2026-11-20"
    },
    "F255": {
      "label": "Repository stars, selenium-webdriver",
      "display": "34.6K",
      "asOf": "2026-11-20"
    },
    "F256": {
      "label": "Locator action auto-wait, selenium-webdriver",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F257": {
      "label": "Native model-guided actions, selenium-webdriver",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F258": {
      "label": "Native automation role, selenium-webdriver",
      "display": "Official W3C WebDriver browser session/element client with local Selenium Manager or compatible remote Grid setup; explicit waits are developer-controlled.",
      "asOf": "2026-11-20"
    },
    "F259": {
      "label": "Runtime and browser prerequisites, selenium-webdriver",
      "display": "Supported Node CommonJS host,installed Chrome,and Selenium Manager access for compatible driver setup. Official complete async-host pattern retained; no driver download/browser execution.",
      "asOf": "2026-11-20"
    },
    "F260": {
      "label": "Native action waiting boundary, selenium-webdriver",
      "display": "Selected direct binding uses configured implicit or explicit waits; no automatic high-level locator-action retry promise. WebDriver interaction checks are not denied.",
      "asOf": "2026-11-20"
    },
    "F261": {
      "label": "Original consumer contract, selenium-webdriver",
      "display": "Original imports Builder from selenium-webdriver. Current4.53 Builder supports browser name selection,optional server URL,capabilities object,and build(). usingServer(undefined) leaves normal local/default resolution in the actual JavaScript implementation; its JSDoc parameter is string,so broader TypeScript assignability is not asserted. A supplied URL uses compatible remote WebDriver. Existing configureBuilderChrome/Firefox/Safari/Edge peer helpers and their older defaults are host prerequisites,not additional SDK calls or certified current browser configuration. build() returns a thenable WebDriver and async function adopts it. Browser-specific options are applied by host helper functions before build. Original unsupported browser branch throws; no claim arbitrary browser names are supported by this function.",
      "asOf": "2026-11-20"
    },
    "F262": {
      "label": "Project function, selenium-webdriver",
      "display": "export async function createWebDriver(baseDir, options, tmpDir) {\n  const browser = options.browser || 'chrome';\n  const seleniumUrl = options.selenium ? options.selenium.url : undefined;\n  const capabilities = options.selenium\n    ? options.selenium.capabilities\n    : undefined;\n\n  const builder = new Builder()\n    .forBrowser(browser === 'edge' ? 'MicrosoftEdge' : browser)\n    .usingServer(seleniumUrl);\n\n  // Hack for running browsertime on different platforms.\n  // Keep it in the dark for now becasue if you don't know\n  // what you do, a lot can get wrong\n  if (!isEmpty(capabilities)) {\n    builder.withCapabilities(capabilities);\n  }\n\n  switch (browser) {\n    case 'chrome': {\n      await configureBuilderChrome(builder, baseDir, options, tmpDir);\n      break;\n    }\n\n    case 'firefox': {\n      await configureBuilderFirefox(builder, baseDir, options);\n      break;\n    }\n\n    case 'safari': {\n      await configureBuilderSafari(builder, baseDir, options);\n      break;\n    }\n\n    case 'edge': {\n      await configureBuilderEdge(builder, baseDir, options, tmpDir);\n      break;\n    }\n\n    default: {\n      throw new Error('Unsupported browser: ' + browser);\n    }\n  }\n\n  return builder.build();\n}\n",
      "asOf": "2026-11-20"
    },
    "F263": {
      "label": "Project source file, selenium-webdriver",
      "display": "lib/core/webdriver/index.js",
      "asOf": "2026-11-20"
    },
    "F264": {
      "label": "Project full_name, selenium-webdriver",
      "display": "sitespeedio/browsertime",
      "asOf": "2026-11-20"
    },
    "F265": {
      "label": "Project stargazers_count, selenium-webdriver",
      "display": "653",
      "asOf": "2026-11-20"
    },
    "F266": {
      "label": "Library name, testcafe",
      "display": "testcafe",
      "asOf": "2026-11-20"
    },
    "F267": {
      "label": "Monthly downloads, testcafe",
      "display": "853.8K",
      "asOf": "2026-11-20"
    },
    "F268": {
      "label": "License, testcafe",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F269": {
      "label": "Package release, testcafe",
      "display": "3.7.7",
      "asOf": "2026-11-20"
    },
    "F270": {
      "label": "Package release date, testcafe",
      "display": "Oct 2026",
      "asOf": "2026-11-20"
    },
    "F271": {
      "label": "Install, testcafe",
      "display": "npm install testcafe",
      "asOf": "2026-11-20"
    },
    "F272": {
      "label": "Quickstart, testcafe",
      "display": "fixture `Example`.page `https://devexpress.github.io/testcafe/example`;\n\ntest('type a name', async t => {\n  await t.typeText('#developer-name', 'Ada');\n});\n",
      "asOf": "2026-11-20"
    },
    "F273": {
      "label": "Official description, testcafe",
      "display": "Runs automated browser tests for web applications.",
      "asOf": "2026-11-20"
    },
    "F274": {
      "label": "Quickstart source file, testcafe",
      "display": "README.md",
      "asOf": "2026-11-20"
    },
    "F275": {
      "label": "Repository stars, testcafe",
      "display": "9.9K",
      "asOf": "2026-11-20"
    },
    "F276": {
      "label": "Locator action auto-wait, testcafe",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F277": {
      "label": "Native model-guided actions, testcafe",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F278": {
      "label": "Native automation role, testcafe",
      "display": "Browser test runner plus TestController actions and remote browser connections; CLI supplies test host and fixtures,not a standalone Page factory.",
      "asOf": "2026-11-20"
    },
    "F279": {
      "label": "Runtime and browser prerequisites, testcafe",
      "display": "Save as example.test.js and use TestCafe CLI,which supplies fixture/test globals and controller. Installed compatible Chrome is required; this is not a node-direct script. No browser/test run. ",
      "asOf": "2026-11-20"
    },
    "F280": {
      "label": "Native action waiting boundary, testcafe",
      "display": "Test actions wait for target selector visibility and action conditions; see selector timeout and overlap limitations.",
      "asOf": "2026-11-20"
    },
    "F281": {
      "label": "Original consumer contract, testcafe",
      "display": "Actual Codecept helper creates the selected TestCafe instance and Runner. Current createTestCafe implementation explicitly retains positional argument compatibility; no assertion that legacy null arguments satisfy narrower TS declarations. createBrowserConnection yields remote BrowserConnection; Runner.src accepts the original existing dummy test file, browsers accepts that connection, reporter minimal is configured,and run accepts selectorTimeout,skipJsErrors,and skipUncaughtErrors. Remote connection disables native automation by own implementation. Remote BrowserConnection.url and ready event drive original QR/remote-device workflow. Runner chain methods return this; run returns a Promise and close is asynchronous. Outer function returns after listener registration,not after tests finish; catch closes on run failure. qrcode,EventEmitter.once,console,and host debug are peers,not native call padding.",
      "asOf": "2026-11-20"
    },
    "F282": {
      "label": "Project function, testcafe",
      "display": "async _startRemoteBrowser(runner) {\n    const remoteConnection = await this.testcafe.createBrowserConnection()\n    console.log('Connect your device to the following URL or scan QR Code: ', remoteConnection.url)\n    qrcode.generate(remoteConnection.url)\n    remoteConnection.once('ready', () => {\n      runner\n        .src(this.dummyTestcafeFile)\n        .browsers(remoteConnection)\n        .reporter('minimal')\n        .run({\n          selectorTimeout: this.options.waitForTimeout,\n          skipJsErrors: true,\n          skipUncaughtErrors: true,\n        })\n        .catch(err => {\n          this.debugSection('_before', `Error ${err.toString()}`)\n          this.isRunning = false\n          this.testcafe.close()\n        })\n    })\n  }\n",
      "asOf": "2026-11-20"
    },
    "F283": {
      "label": "Project source file, testcafe",
      "display": "lib/helper/TestCafe.js",
      "asOf": "2026-11-20"
    },
    "F284": {
      "label": "Project full_name, testcafe",
      "display": "codeceptjs/CodeceptJS",
      "asOf": "2026-11-20"
    },
    "F285": {
      "label": "Project stargazers_count, testcafe",
      "display": "4.3K",
      "asOf": "2026-11-20"
    }
  },
  "dataCheckedAt": "2026-11-20",
  "agent": {
    "exaCall": {
      "endpoint": "/search",
      "body": {
        "query": "Best JavaScript browser automation libraries Playwright Puppeteer Selenium WebDriver WebdriverIO code examples",
        "numResults": 5
      },
      "docsUrl": "https://exa.ai/docs/reference/search"
    },
    "calls": []
  }
}
