[{"data":1,"prerenderedAt":6002},["ShallowReactive",2],{"docs-nav":3,"content-\u002Fdocs\u002Fdeveloper-hub\u002Fsnippets\u002Fjavascript\u002Fapp":1677,"content-doc-\u002Fdocs\u002Fdeveloper-hub\u002Fsnippets\u002Fjavascript\u002Fapp-inline":1677,"docs-nav-tree":2009,"doc-nav-siblings:%2Fdocs%2Fdeveloper-hub%2Fsnippets%2Fjavascript%2Fapp":2134},[4,8,12,16,40,44,82,106,110,114,1610,1614,1618,1622,1626,1649,1653,1657,1661,1665,1669,1673],{"title":5,"path":6,"stem":7},"About axciom ai","\u002F_about","_about",{"title":9,"path":10,"stem":11},"Code Dashboard for browser automations","\u002F_code-dashboard","_code-dashboard",{"title":13,"path":14,"stem":15},"A list of available compoenents and there variables","\u002F_components","_components",{"title":17,"path":18,"stem":19,"children":20},"Integrations","\u002F_integrations","_integrations",[21,24,28,32,36],{"title":22,"path":18,"stem":23},"The axiom.ai runner","_integrations\u002Findex",{"title":25,"path":26,"stem":27},"Integrate your browser automations with 2Captcha","\u002F_integrations\u002F2captcha","_integrations\u002F2captcha",{"title":29,"path":30,"stem":31},"Excel","\u002F_integrations\u002Fexcel","_integrations\u002Fexcel",{"title":33,"path":34,"stem":35},"Intergrate Google sheets with your browser automations","\u002F_integrations\u002Fgoogle-sheets","_integrations\u002Fgoogle-sheets",{"title":37,"path":38,"stem":39},"Integrate your browser automations and web scrapers with Zapier in Chrome.","\u002F_integrations\u002Fzap","_integrations\u002Fzap",{"title":41,"path":42,"stem":43},"Build browser automations with Claude","\u002Fbuild-in-claude","build-in-claude",{"title":45,"path":46,"stem":47,"children":48},"Build With Code","\u002Fbuild-with-code","build-with-code",[49,52,70,74,78],{"title":50,"path":46,"stem":51},"Build browser automations with code","build-with-code\u002Findex",{"title":53,"path":54,"stem":55,"children":56},"The Browser Automation API for Humans and AI Agents | axiom.ai","\u002Fbuild-with-code\u002Fapi","build-with-code\u002Fapi\u002Findex",[57,58,62,66],{"title":53,"path":54,"stem":55},{"title":59,"path":60,"stem":61},"Cloud Browser API, Run Puppeteer & Playwright Without the Maintenance | axiom.ai","\u002Fbuild-with-code\u002Fapi\u002Fchrome","build-with-code\u002Fapi\u002Fchrome",{"title":63,"path":64,"stem":65},"Trigger No-Code Browser Automations via REST, Orchestrate API | axiom.ai","\u002Fbuild-with-code\u002Fapi\u002Forchestrate","build-with-code\u002Fapi\u002Forchestrate",{"title":67,"path":68,"stem":69},"Step API: Scrape, Click, and Type With One Call Each | axiom.ai","\u002Fbuild-with-code\u002Fapi\u002Fstep","build-with-code\u002Fapi\u002Fstep",{"title":71,"path":72,"stem":73},"Headless browser API for Puppeteer and Playwright","\u002Fbuild-with-code\u002Fheadless-browser-api","build-with-code\u002Fheadless-browser-api",{"title":75,"path":76,"stem":77},"Run Playwright in the Cloud, One connectOverCDP Line | axiom.ai","\u002Fbuild-with-code\u002Fplaywright","build-with-code\u002Fplaywright",{"title":79,"path":80,"stem":81},"Run Puppeteer in the Cloud, No Chromium to Maintain | axiom.ai","\u002Fbuild-with-code\u002Fpuppeteer","build-with-code\u002Fpuppeteer",{"title":83,"path":84,"stem":85,"children":86},"Build With No Code","\u002Fbuild-with-no-code","build-with-no-code",[87,90,94,98,102],{"title":88,"path":84,"stem":89},"Build no-code browser bots by describing them to AI","build-with-no-code\u002Findex",{"title":91,"path":92,"stem":93},"Build in Claude Code","\u002Fbuild-with-no-code\u002Fclaude","build-with-no-code\u002Fclaude",{"title":95,"path":96,"stem":97},"Build by description","\u002Fbuild-with-no-code\u002Fdescription","build-with-no-code\u002Fdescription",{"title":99,"path":100,"stem":101},"Scrape any website to Google Sheets, no code","\u002Fbuild-with-no-code\u002Fscrape-website-to-google-sheets","build-with-no-code\u002Fscrape-website-to-google-sheets",{"title":103,"path":104,"stem":105},"Build no-code bots step by step","\u002Fbuild-with-no-code\u002Fstep-by-step","build-with-no-code\u002Fstep-by-step",{"title":107,"path":108,"stem":109},"Customer support — docs, AI help, or talk to a human","\u002Fcustomer-support","customer-support",{"title":111,"path":112,"stem":113},"Browser-Automatisierung für Menschen und KI","\u002Fde","de",{"title":115,"path":116,"stem":117,"children":118},"Docs","\u002Fdocs","docs",[119,122,140,146,190,498,524,1606],{"title":120,"path":116,"stem":121},"Browser Automation Documentation: No-Code, Code, API | axiom","docs\u002Findex",{"title":123,"path":124,"stem":125,"children":126},"Account","\u002Fdocs\u002Faccount","docs\u002Faccount\u002Findex",[127,128,132,136],{"title":123,"path":124,"stem":125},{"title":129,"path":130,"stem":131},"Manage your account","\u002Fdocs\u002Faccount\u002Faccount","docs\u002Faccount\u002Faccount",{"title":133,"path":134,"stem":135},"Create an account","\u002Fdocs\u002Faccount\u002Fcreate-account","docs\u002Faccount\u002Fcreate-account",{"title":137,"path":138,"stem":139},"Manage your subscription","\u002Fdocs\u002Faccount\u002Fsubscription","docs\u002Faccount\u002Fsubscription",{"title":141,"path":142,"stem":143,"children":144},"Claude skill","\u002Fdocs\u002Fclaude-skill","docs\u002Fclaude-skill\u002Findex",[145],{"title":141,"path":142,"stem":143},{"title":147,"path":148,"stem":149,"children":150},"Code Dashboard","\u002Fdocs\u002Fcode","docs\u002Fcode\u002Findex",[151,152,156,160,164,168,172,186],{"title":147,"path":148,"stem":149},{"title":153,"path":154,"stem":155},"Create scripts","\u002Fdocs\u002Fcode\u002Fcreate-scripts","docs\u002Fcode\u002Fcreate-scripts",{"title":157,"path":158,"stem":159},"Dashboard","\u002Fdocs\u002Fcode\u002Fdashboard","docs\u002Fcode\u002Fdashboard",{"title":161,"path":162,"stem":163},"Live editor","\u002Fdocs\u002Fcode\u002Flive-editor","docs\u002Fcode\u002Flive-editor",{"title":165,"path":166,"stem":167},"Run reports","\u002Fdocs\u002Fcode\u002Frun-reports","docs\u002Fcode\u002Frun-reports",{"title":169,"path":170,"stem":171},"Run scripts","\u002Fdocs\u002Fcode\u002Frunning-scripts","docs\u002Fcode\u002Frunning-scripts",{"title":173,"path":174,"stem":175,"children":176},"Sample scripts","\u002Fdocs\u002Fcode\u002Fsamples","docs\u002Fcode\u002Fsamples\u002Findex",[177,178,182],{"title":173,"path":174,"stem":175},{"title":179,"path":180,"stem":181},"Enter data into a page","\u002Fdocs\u002Fcode\u002Fsamples\u002Fdata-entry","docs\u002Fcode\u002Fsamples\u002Fdata-entry",{"title":183,"path":184,"stem":185},"Navigate to a page","\u002Fdocs\u002Fcode\u002Fsamples\u002Fnavigate-to-page","docs\u002Fcode\u002Fsamples\u002Fnavigate-to-page",{"title":187,"path":188,"stem":189},"Generate an API key","\u002Fdocs\u002Fcode\u002Ftoken-generation","docs\u002Fcode\u002Ftoken-generation",{"title":191,"path":192,"stem":193,"children":194},"Developer Hub","\u002Fdocs\u002Fdeveloper-hub","docs\u002Fdeveloper-hub\u002Findex",[195,196,388,410,432,484],{"title":191,"path":192,"stem":193},{"title":197,"path":198,"stem":199,"children":200},"API","\u002Fdocs\u002Fdeveloper-hub\u002Fapi","docs\u002Fdeveloper-hub\u002Fapi\u002Findex",[201,202,206,212,216,220,242,280,370],{"title":197,"path":198,"stem":199},{"title":203,"path":204,"stem":205},"Authentication","\u002Fdocs\u002Fdeveloper-hub\u002Fapi\u002Fauthentication","docs\u002Fdeveloper-hub\u002Fapi\u002Fauthentication",{"title":207,"path":208,"stem":209,"children":210},"Chrome API","\u002Fdocs\u002Fdeveloper-hub\u002Fapi\u002Fcdp","docs\u002Fdeveloper-hub\u002Fapi\u002Fcdp\u002Findex",[211],{"title":207,"path":208,"stem":209},{"title":213,"path":214,"stem":215},"Programmatic signup","\u002Fdocs\u002Fdeveloper-hub\u002Fapi\u002Fprogrammatic-signup","docs\u002Fdeveloper-hub\u002Fapi\u002Fprogrammatic-signup",{"title":217,"path":218,"stem":219},"Quickstart","\u002Fdocs\u002Fdeveloper-hub\u002Fapi\u002Fquickstart","docs\u002Fdeveloper-hub\u002Fapi\u002Fquickstart",{"title":221,"path":222,"stem":223,"children":224},"Reference","\u002Fdocs\u002Fdeveloper-hub\u002Fapi\u002Freference","docs\u002Fdeveloper-hub\u002Fapi\u002Freference\u002Findex",[225,226,230,234,238],{"title":221,"path":222,"stem":223},{"title":227,"path":228,"stem":229},"Data payload format","\u002Fdocs\u002Fdeveloper-hub\u002Fapi\u002Freference\u002Fdata-payload","docs\u002Fdeveloper-hub\u002Fapi\u002Freference\u002Fdata-payload",{"title":231,"path":232,"stem":233},"Endpoints","\u002Fdocs\u002Fdeveloper-hub\u002Fapi\u002Freference\u002Fendpoints","docs\u002Fdeveloper-hub\u002Fapi\u002Freference\u002Fendpoints",{"title":235,"path":236,"stem":237},"Error codes","\u002Fdocs\u002Fdeveloper-hub\u002Fapi\u002Freference\u002Ferrorcodes","docs\u002Fdeveloper-hub\u002Fapi\u002Freference\u002Ferrorcodes",{"title":239,"path":240,"stem":241},"API responses","\u002Fdocs\u002Fdeveloper-hub\u002Fapi\u002Freference\u002Fresponses","docs\u002Fdeveloper-hub\u002Fapi\u002Freference\u002Fresponses",{"title":243,"path":244,"stem":245,"children":246},"Orchestrate API","\u002Fdocs\u002Fdeveloper-hub\u002Fapi\u002Frun-automations","docs\u002Fdeveloper-hub\u002Fapi\u002Frun-automations\u002Findex",[247,248,252,256,260,264,268,272,276],{"title":243,"path":244,"stem":245},{"title":249,"path":250,"stem":251},"Check run status","\u002Fdocs\u002Fdeveloper-hub\u002Fapi\u002Frun-automations\u002Fcheck-run-status","docs\u002Fdeveloper-hub\u002Fapi\u002Frun-automations\u002Fcheck-run-status",{"title":253,"path":254,"stem":255},"List automations","\u002Fdocs\u002Fdeveloper-hub\u002Fapi\u002Frun-automations\u002Flist-automations","docs\u002Fdeveloper-hub\u002Fapi\u002Frun-automations\u002Flist-automations",{"title":257,"path":258,"stem":259},"Pass input data","\u002Fdocs\u002Fdeveloper-hub\u002Fapi\u002Frun-automations\u002Fpass-input-data","docs\u002Fdeveloper-hub\u002Fapi\u002Frun-automations\u002Fpass-input-data",{"title":261,"path":262,"stem":263},"List run reports","\u002Fdocs\u002Fdeveloper-hub\u002Fapi\u002Frun-automations\u002Frun-reports","docs\u002Fdeveloper-hub\u002Fapi\u002Frun-automations\u002Frun-reports",{"title":265,"path":266,"stem":267},"Stop a run","\u002Fdocs\u002Fdeveloper-hub\u002Fapi\u002Frun-automations\u002Fstop-a-run","docs\u002Fdeveloper-hub\u002Fapi\u002Frun-automations\u002Fstop-a-run",{"title":269,"path":270,"stem":271},"Trigger a desktop run","\u002Fdocs\u002Fdeveloper-hub\u002Fapi\u002Frun-automations\u002Ftrigger-a-desktop-run","docs\u002Fdeveloper-hub\u002Fapi\u002Frun-automations\u002Ftrigger-a-desktop-run",{"title":273,"path":274,"stem":275},"Trigger an automation","\u002Fdocs\u002Fdeveloper-hub\u002Fapi\u002Frun-automations\u002Ftrigger-an-automation","docs\u002Fdeveloper-hub\u002Fapi\u002Frun-automations\u002Ftrigger-an-automation",{"title":277,"path":278,"stem":279},"Webhooks from a step","\u002Fdocs\u002Fdeveloper-hub\u002Fapi\u002Frun-automations\u002Fwebhooks-from-a-step","docs\u002Fdeveloper-hub\u002Fapi\u002Frun-automations\u002Fwebhooks-from-a-step",{"title":281,"path":282,"stem":283,"children":284},"Step API","\u002Fdocs\u002Fdeveloper-hub\u002Fapi\u002Fstep-functions","docs\u002Fdeveloper-hub\u002Fapi\u002Fstep-functions\u002Findex",[285,286,290,294,298,302,306,310,314,318,322,326,330,334,338,342,346,350,354,358,362,366],{"title":281,"path":282,"stem":283},{"title":287,"path":288,"stem":289},"Click","\u002Fdocs\u002Fdeveloper-hub\u002Fapi\u002Fstep-functions\u002Fclick","docs\u002Fdeveloper-hub\u002Fapi\u002Fstep-functions\u002Fclick",{"title":291,"path":292,"stem":293},"Click and drag","\u002Fdocs\u002Fdeveloper-hub\u002Fapi\u002Fstep-functions\u002Fclick-and-drag","docs\u002Fdeveloper-hub\u002Fapi\u002Fstep-functions\u002Fclick-and-drag",{"title":295,"path":296,"stem":297},"Click engagement button","\u002Fdocs\u002Fdeveloper-hub\u002Fapi\u002Fstep-functions\u002Fclick-engagement-button","docs\u002Fdeveloper-hub\u002Fapi\u002Fstep-functions\u002Fclick-engagement-button",{"title":299,"path":300,"stem":301},"Click multiple","\u002Fdocs\u002Fdeveloper-hub\u002Fapi\u002Fstep-functions\u002Fclick-multiple","docs\u002Fdeveloper-hub\u002Fapi\u002Fstep-functions\u002Fclick-multiple",{"title":303,"path":304,"stem":305},"Close a session","\u002Fdocs\u002Fdeveloper-hub\u002Fapi\u002Fstep-functions\u002Fclose-a-session","docs\u002Fdeveloper-hub\u002Fapi\u002Fstep-functions\u002Fclose-a-session",{"title":307,"path":308,"stem":309},"Date picker","\u002Fdocs\u002Fdeveloper-hub\u002Fapi\u002Fstep-functions\u002Fdate-picker","docs\u002Fdeveloper-hub\u002Fapi\u002Fstep-functions\u002Fdate-picker",{"title":311,"path":312,"stem":313},"Enter text","\u002Fdocs\u002Fdeveloper-hub\u002Fapi\u002Fstep-functions\u002Fenter-text","docs\u002Fdeveloper-hub\u002Fapi\u002Fstep-functions\u002Fenter-text",{"title":315,"path":316,"stem":317},"Get clipboard contents","\u002Fdocs\u002Fdeveloper-hub\u002Fapi\u002Fstep-functions\u002Fget-clipboard-contents","docs\u002Fdeveloper-hub\u002Fapi\u002Fstep-functions\u002Fget-clipboard-contents",{"title":319,"path":320,"stem":321},"Go to URL","\u002Fdocs\u002Fdeveloper-hub\u002Fapi\u002Fstep-functions\u002Fgoto","docs\u002Fdeveloper-hub\u002Fapi\u002Fstep-functions\u002Fgoto",{"title":323,"path":324,"stem":325},"Hover","\u002Fdocs\u002Fdeveloper-hub\u002Fapi\u002Fstep-functions\u002Fhover","docs\u002Fdeveloper-hub\u002Fapi\u002Fstep-functions\u002Fhover",{"title":327,"path":328,"stem":329},"Integrate AI","\u002Fdocs\u002Fdeveloper-hub\u002Fapi\u002Fstep-functions\u002Fintegrate-ai","docs\u002Fdeveloper-hub\u002Fapi\u002Fstep-functions\u002Fintegrate-ai",{"title":331,"path":332,"stem":333},"Press keys","\u002Fdocs\u002Fdeveloper-hub\u002Fapi\u002Fstep-functions\u002Fpress-keys","docs\u002Fdeveloper-hub\u002Fapi\u002Fstep-functions\u002Fpress-keys",{"title":335,"path":336,"stem":337},"Restart browser","\u002Fdocs\u002Fdeveloper-hub\u002Fapi\u002Fstep-functions\u002Frestart-browser","docs\u002Fdeveloper-hub\u002Fapi\u002Fstep-functions\u002Frestart-browser",{"title":339,"path":340,"stem":341},"Scrape","\u002Fdocs\u002Fdeveloper-hub\u002Fapi\u002Fstep-functions\u002Fscrape","docs\u002Fdeveloper-hub\u002Fapi\u002Fstep-functions\u002Fscrape",{"title":343,"path":344,"stem":345},"Scrape metadata","\u002Fdocs\u002Fdeveloper-hub\u002Fapi\u002Fstep-functions\u002Fscrape-metadata","docs\u002Fdeveloper-hub\u002Fapi\u002Fstep-functions\u002Fscrape-metadata",{"title":347,"path":348,"stem":349},"Select list","\u002Fdocs\u002Fdeveloper-hub\u002Fapi\u002Fstep-functions\u002Fselect-list","docs\u002Fdeveloper-hub\u002Fapi\u002Fstep-functions\u002Fselect-list",{"title":351,"path":352,"stem":353},"Solve captcha","\u002Fdocs\u002Fdeveloper-hub\u002Fapi\u002Fstep-functions\u002Fsolve-captcha","docs\u002Fdeveloper-hub\u002Fapi\u002Fstep-functions\u002Fsolve-captcha",{"title":355,"path":356,"stem":357},"Start a session","\u002Fdocs\u002Fdeveloper-hub\u002Fapi\u002Fstep-functions\u002Fstart-a-session","docs\u002Fdeveloper-hub\u002Fapi\u002Fstep-functions\u002Fstart-a-session",{"title":359,"path":360,"stem":361},"Step function vs No-Code step","\u002Fdocs\u002Fdeveloper-hub\u002Fapi\u002Fstep-functions\u002Fstep-function-vs-no-code-step","docs\u002Fdeveloper-hub\u002Fapi\u002Fstep-functions\u002Fstep-function-vs-no-code-step",{"title":363,"path":364,"stem":365},"Switch browser tab","\u002Fdocs\u002Fdeveloper-hub\u002Fapi\u002Fstep-functions\u002Fswitch-browser-tab","docs\u002Fdeveloper-hub\u002Fapi\u002Fstep-functions\u002Fswitch-browser-tab",{"title":367,"path":368,"stem":369},"Wait","\u002Fdocs\u002Fdeveloper-hub\u002Fapi\u002Fstep-functions\u002Fwait","docs\u002Fdeveloper-hub\u002Fapi\u002Fstep-functions\u002Fwait",{"title":371,"path":372,"stem":373,"children":374},"Usage and limits","\u002Fdocs\u002Fdeveloper-hub\u002Fapi\u002Fusage-and-limits","docs\u002Fdeveloper-hub\u002Fapi\u002Fusage-and-limits\u002Findex",[375,376,380,384],{"title":371,"path":372,"stem":373},{"title":377,"path":378,"stem":379},"Queue and concurrency","\u002Fdocs\u002Fdeveloper-hub\u002Fapi\u002Fusage-and-limits\u002Fqueue-and-concurrency","docs\u002Fdeveloper-hub\u002Fapi\u002Fusage-and-limits\u002Fqueue-and-concurrency",{"title":381,"path":382,"stem":383},"Rate limits","\u002Fdocs\u002Fdeveloper-hub\u002Fapi\u002Fusage-and-limits\u002Frate-limits","docs\u002Fdeveloper-hub\u002Fapi\u002Fusage-and-limits\u002Frate-limits",{"title":385,"path":386,"stem":387},"Check remaining runtime","\u002Fdocs\u002Fdeveloper-hub\u002Fapi\u002Fusage-and-limits\u002Fremaining-runtime","docs\u002Fdeveloper-hub\u002Fapi\u002Fusage-and-limits\u002Fremaining-runtime",{"title":389,"path":390,"stem":391,"children":392},"Deep dives","\u002Fdocs\u002Fdeveloper-hub\u002Fdeep-dives","docs\u002Fdeveloper-hub\u002Fdeep-dives\u002Findex",[393,394,398,402,406],{"title":389,"path":390,"stem":391},{"title":395,"path":396,"stem":397},"Automation JSON structure","\u002Fdocs\u002Fdeveloper-hub\u002Fdeep-dives\u002Faxiom-structure","docs\u002Fdeveloper-hub\u002Fdeep-dives\u002Faxiom-structure",{"title":399,"path":400,"stem":401},"Chromium","\u002Fdocs\u002Fdeveloper-hub\u002Fdeep-dives\u002Fchromium","docs\u002Fdeveloper-hub\u002Fdeep-dives\u002Fchromium",{"title":403,"path":404,"stem":405},"Cookies in axiom.ai","\u002Fdocs\u002Fdeveloper-hub\u002Fdeep-dives\u002Fcookies","docs\u002Fdeveloper-hub\u002Fdeep-dives\u002Fcookies",{"title":407,"path":408,"stem":409},"Data handling","\u002Fdocs\u002Fdeveloper-hub\u002Fdeep-dives\u002Fdata-handling","docs\u002Fdeveloper-hub\u002Fdeep-dives\u002Fdata-handling",{"title":411,"path":412,"stem":413,"children":414},"MCP","\u002Fdocs\u002Fdeveloper-hub\u002Fmcp","docs\u002Fdeveloper-hub\u002Fmcp\u002Findex",[415,416,420,424,428],{"title":411,"path":412,"stem":413},{"title":417,"path":418,"stem":419},"Build your own server (Python)","\u002Fdocs\u002Fdeveloper-hub\u002Fmcp\u002Fbuild-your-own-server-python","docs\u002Fdeveloper-hub\u002Fmcp\u002Fbuild-your-own-server-python",{"title":421,"path":422,"stem":423},"Build your own server (TypeScript)","\u002Fdocs\u002Fdeveloper-hub\u002Fmcp\u002Fbuild-your-own-typescript","docs\u002Fdeveloper-hub\u002Fmcp\u002Fbuild-your-own-typescript",{"title":425,"path":426,"stem":427},"Desktop app MCP server","\u002Fdocs\u002Fdeveloper-hub\u002Fmcp\u002Fdesktop-app-server","docs\u002Fdeveloper-hub\u002Fmcp\u002Fdesktop-app-server",{"title":429,"path":430,"stem":431},"Register with Claude clients","\u002Fdocs\u002Fdeveloper-hub\u002Fmcp\u002Fregister-with-claude","docs\u002Fdeveloper-hub\u002Fmcp\u002Fregister-with-claude",{"title":433,"path":434,"stem":435,"children":436},"Code snippets","\u002Fdocs\u002Fdeveloper-hub\u002Fsnippets","docs\u002Fdeveloper-hub\u002Fsnippets\u002Findex",[437,438,472],{"title":433,"path":434,"stem":435},{"title":439,"path":440,"stem":441,"children":442},"JavaScript snippets","\u002Fdocs\u002Fdeveloper-hub\u002Fsnippets\u002Fjavascript","docs\u002Fdeveloper-hub\u002Fsnippets\u002Fjavascript\u002Findex",[443,444,448,452,456,460,464,468],{"title":439,"path":440,"stem":441},{"title":445,"path":446,"stem":447},"Run in app snippets","\u002Fdocs\u002Fdeveloper-hub\u002Fsnippets\u002Fjavascript\u002Fapp","docs\u002Fdeveloper-hub\u002Fsnippets\u002Fjavascript\u002Fapp",{"title":449,"path":450,"stem":451},"Data snippets","\u002Fdocs\u002Fdeveloper-hub\u002Fsnippets\u002Fjavascript\u002Fdata","docs\u002Fdeveloper-hub\u002Fsnippets\u002Fjavascript\u002Fdata",{"title":453,"path":454,"stem":455},"Interaction snippets","\u002Fdocs\u002Fdeveloper-hub\u002Fsnippets\u002Fjavascript\u002Finteraction","docs\u002Fdeveloper-hub\u002Fsnippets\u002Fjavascript\u002Finteraction",{"title":457,"path":458,"stem":459},"Navigation snippets","\u002Fdocs\u002Fdeveloper-hub\u002Fsnippets\u002Fjavascript\u002Fnavigation","docs\u002Fdeveloper-hub\u002Fsnippets\u002Fjavascript\u002Fnavigation",{"title":461,"path":462,"stem":463},"Network snippets","\u002Fdocs\u002Fdeveloper-hub\u002Fsnippets\u002Fjavascript\u002Fnetwork","docs\u002Fdeveloper-hub\u002Fsnippets\u002Fjavascript\u002Fnetwork",{"title":465,"path":466,"stem":467},"Page manipulation snippets","\u002Fdocs\u002Fdeveloper-hub\u002Fsnippets\u002Fjavascript\u002Fpage-manipulation","docs\u002Fdeveloper-hub\u002Fsnippets\u002Fjavascript\u002Fpage-manipulation",{"title":469,"path":470,"stem":471},"Scrape snippets","\u002Fdocs\u002Fdeveloper-hub\u002Fsnippets\u002Fjavascript\u002Fscrape","docs\u002Fdeveloper-hub\u002Fsnippets\u002Fjavascript\u002Fscrape",{"title":473,"path":474,"stem":475,"children":476},"Puppeteer snippets","\u002Fdocs\u002Fdeveloper-hub\u002Fsnippets\u002Fpuppeteer","docs\u002Fdeveloper-hub\u002Fsnippets\u002Fpuppeteer\u002Findex",[477,478,481],{"title":473,"path":474,"stem":475},{"title":453,"path":479,"stem":480},"\u002Fdocs\u002Fdeveloper-hub\u002Fsnippets\u002Fpuppeteer\u002Finteraction","docs\u002Fdeveloper-hub\u002Fsnippets\u002Fpuppeteer\u002Finteraction",{"title":461,"path":482,"stem":483},"\u002Fdocs\u002Fdeveloper-hub\u002Fsnippets\u002Fpuppeteer\u002Fnetwork","docs\u002Fdeveloper-hub\u002Fsnippets\u002Fpuppeteer\u002Fnetwork",{"title":485,"path":486,"stem":487,"children":488},"Developer troubleshooting","\u002Fdocs\u002Fdeveloper-hub\u002Ftroubleshooting","docs\u002Fdeveloper-hub\u002Ftroubleshooting\u002Findex",[489,490,494],{"title":485,"path":486,"stem":487},{"title":491,"path":492,"stem":493},"API errors","\u002Fdocs\u002Fdeveloper-hub\u002Ftroubleshooting\u002Fapi","docs\u002Fdeveloper-hub\u002Ftroubleshooting\u002Fapi",{"title":495,"path":496,"stem":497},"Debug developer features","\u002Fdocs\u002Fdeveloper-hub\u002Ftroubleshooting\u002Fdebug","docs\u002Fdeveloper-hub\u002Ftroubleshooting\u002Fdebug",{"title":499,"path":500,"stem":501,"children":502},"FAQ","\u002Fdocs\u002Ffaq","docs\u002Ffaq\u002Findex",[503,504,508,512,516,520],{"title":499,"path":500,"stem":501},{"title":505,"path":506,"stem":507},"General FAQ","\u002Fdocs\u002Ffaq\u002Fgeneral","docs\u002Ffaq\u002Fgeneral",{"title":509,"path":510,"stem":511},"Builder FAQ","\u002Fdocs\u002Ffaq\u002Fno-code-builder","docs\u002Ffaq\u002Fno-code-builder",{"title":513,"path":514,"stem":515},"Runtime and scheduling FAQ","\u002Fdocs\u002Ffaq\u002Fruntime-and-scheduling","docs\u002Ffaq\u002Fruntime-and-scheduling",{"title":517,"path":518,"stem":519},"Subscriptions and accounts FAQ","\u002Fdocs\u002Ffaq\u002Fsubscriptions-and-accounts","docs\u002Ffaq\u002Fsubscriptions-and-accounts",{"title":521,"path":522,"stem":523},"Third-party tools FAQ","\u002Fdocs\u002Ffaq\u002Fthird-party","docs\u002Ffaq\u002Fthird-party",{"title":525,"path":526,"stem":527,"children":528},"No-Code Tool","\u002Fdocs\u002Fno-code-tool","docs\u002Fno-code-tool\u002Findex",[529,530,534,552,804,869,1343,1485,1510],{"title":525,"path":526,"stem":527},{"title":531,"path":532,"stem":533},"Desktop app","\u002Fdocs\u002Fno-code-tool\u002Fdesktop-app","docs\u002Fno-code-tool\u002Fdesktop-app",{"title":535,"path":536,"stem":537,"children":538},"Get started, build an automation from a description or manually","\u002Fdocs\u002Fno-code-tool\u002Fget-started","docs\u002Fno-code-tool\u002Fget-started\u002Findex",[539,540,544,548],{"title":535,"path":536,"stem":537},{"title":541,"path":542,"stem":543},"Fill a form from a spreadsheet","\u002Fdocs\u002Fno-code-tool\u002Fget-started\u002Fform-filling","docs\u002Fno-code-tool\u002Fget-started\u002Fform-filling",{"title":545,"path":546,"stem":547},"Loop through a list of URLs","\u002Fdocs\u002Fno-code-tool\u002Fget-started\u002Floop-urls","docs\u002Fno-code-tool\u002Fget-started\u002Floop-urls",{"title":549,"path":550,"stem":551},"Scrape a page into a Google Sheet","\u002Fdocs\u002Fno-code-tool\u002Fget-started\u002Fscrape-to-sheet","docs\u002Fno-code-tool\u002Fget-started\u002Fscrape-to-sheet",{"title":553,"path":554,"stem":555,"children":556},"How it works","\u002Fdocs\u002Fno-code-tool\u002Fhow-it-works","docs\u002Fno-code-tool\u002Fhow-it-works\u002Findex",[557,558,640,662,666,670,673,677,681,715,719,723,768,786,790],{"title":553,"path":554,"stem":555},{"title":559,"path":560,"stem":561,"children":562},"Interact with the browser","\u002Fdocs\u002Fno-code-tool\u002Fhow-it-works\u002Fbrowser-actions","docs\u002Fno-code-tool\u002Fhow-it-works\u002Fbrowser-actions\u002Findex",[563,564,568,572,576,580,584,588,592,596,600,604,608,612,616,620,624,628,632,636],{"title":559,"path":560,"stem":561},{"title":565,"path":566,"stem":567},"Tick a checkbox","\u002Fdocs\u002Fno-code-tool\u002Fhow-it-works\u002Fbrowser-actions\u002Fcheckbox","docs\u002Fno-code-tool\u002Fhow-it-works\u002Fbrowser-actions\u002Fcheckbox",{"title":569,"path":570,"stem":571},"Automate a button click","\u002Fdocs\u002Fno-code-tool\u002Fhow-it-works\u002Fbrowser-actions\u002Fclicks","docs\u002Fno-code-tool\u002Fhow-it-works\u002Fbrowser-actions\u002Fclicks",{"title":573,"path":574,"stem":575},"Get the current URL","\u002Fdocs\u002Fno-code-tool\u002Fhow-it-works\u002Fbrowser-actions\u002Fcurrent-url","docs\u002Fno-code-tool\u002Fhow-it-works\u002Fbrowser-actions\u002Fcurrent-url",{"title":577,"path":578,"stem":579},"Use a date picker","\u002Fdocs\u002Fno-code-tool\u002Fhow-it-works\u002Fbrowser-actions\u002Fdate-picker","docs\u002Fno-code-tool\u002Fhow-it-works\u002Fbrowser-actions\u002Fdate-picker",{"title":581,"path":582,"stem":583},"Download files to Google Drive","\u002Fdocs\u002Fno-code-tool\u002Fhow-it-works\u002Fbrowser-actions\u002Fdownload-cloud","docs\u002Fno-code-tool\u002Fhow-it-works\u002Fbrowser-actions\u002Fdownload-cloud",{"title":585,"path":586,"stem":587},"Download files to your computer","\u002Fdocs\u002Fno-code-tool\u002Fhow-it-works\u002Fbrowser-actions\u002Fdownload-local","docs\u002Fno-code-tool\u002Fhow-it-works\u002Fbrowser-actions\u002Fdownload-local",{"title":589,"path":590,"stem":591},"Enter text into an input field","\u002Fdocs\u002Fno-code-tool\u002Fhow-it-works\u002Fbrowser-actions\u002Fenter-text","docs\u002Fno-code-tool\u002Fhow-it-works\u002Fbrowser-actions\u002Fenter-text",{"title":593,"path":594,"stem":595},"Record keystrokes","\u002Fdocs\u002Fno-code-tool\u002Fhow-it-works\u002Fbrowser-actions\u002Fkey-strokes","docs\u002Fno-code-tool\u002Fhow-it-works\u002Fbrowser-actions\u002Fkey-strokes",{"title":597,"path":598,"stem":599},"Drag the mouse","\u002Fdocs\u002Fno-code-tool\u002Fhow-it-works\u002Fbrowser-actions\u002Fmouse-drag","docs\u002Fno-code-tool\u002Fhow-it-works\u002Fbrowser-actions\u002Fmouse-drag",{"title":601,"path":602,"stem":603},"Click multiple buttons","\u002Fdocs\u002Fno-code-tool\u002Fhow-it-works\u002Fbrowser-actions\u002Fmulti-click","docs\u002Fno-code-tool\u002Fhow-it-works\u002Fbrowser-actions\u002Fmulti-click",{"title":605,"path":606,"stem":607},"Click a radio button","\u002Fdocs\u002Fno-code-tool\u002Fhow-it-works\u002Fbrowser-actions\u002Fradio-buttons","docs\u002Fno-code-tool\u002Fhow-it-works\u002Fbrowser-actions\u002Fradio-buttons",{"title":609,"path":610,"stem":611},"Trigger a rollover","\u002Fdocs\u002Fno-code-tool\u002Fhow-it-works\u002Fbrowser-actions\u002Frollover","docs\u002Fno-code-tool\u002Fhow-it-works\u002Fbrowser-actions\u002Frollover",{"title":613,"path":614,"stem":615},"Use a select list","\u002Fdocs\u002Fno-code-tool\u002Fhow-it-works\u002Fbrowser-actions\u002Fselect-lists","docs\u002Fno-code-tool\u002Fhow-it-works\u002Fbrowser-actions\u002Fselect-lists",{"title":617,"path":618,"stem":619},"Click likes and follows","\u002Fdocs\u002Fno-code-tool\u002Fhow-it-works\u002Fbrowser-actions\u002Fsocial-media-buttons","docs\u002Fno-code-tool\u002Fhow-it-works\u002Fbrowser-actions\u002Fsocial-media-buttons",{"title":621,"path":622,"stem":623},"Solve a captcha","\u002Fdocs\u002Fno-code-tool\u002Fhow-it-works\u002Fbrowser-actions\u002Fsolve-captcha","docs\u002Fno-code-tool\u002Fhow-it-works\u002Fbrowser-actions\u002Fsolve-captcha",{"title":625,"path":626,"stem":627},"Switch and close browser tabs","\u002Fdocs\u002Fno-code-tool\u002Fhow-it-works\u002Fbrowser-actions\u002Ftabs","docs\u002Fno-code-tool\u002Fhow-it-works\u002Fbrowser-actions\u002Ftabs",{"title":629,"path":630,"stem":631},"Upload files from Google Drive","\u002Fdocs\u002Fno-code-tool\u002Fhow-it-works\u002Fbrowser-actions\u002Fupload-cloud","docs\u002Fno-code-tool\u002Fhow-it-works\u002Fbrowser-actions\u002Fupload-cloud",{"title":633,"path":634,"stem":635},"Upload files from your computer","\u002Fdocs\u002Fno-code-tool\u002Fhow-it-works\u002Fbrowser-actions\u002Fupload-local","docs\u002Fno-code-tool\u002Fhow-it-works\u002Fbrowser-actions\u002Fupload-local",{"title":637,"path":638,"stem":639},"Pause an automation","\u002Fdocs\u002Fno-code-tool\u002Fhow-it-works\u002Fbrowser-actions\u002Fwait","docs\u002Fno-code-tool\u002Fhow-it-works\u002Fbrowser-actions\u002Fwait",{"title":641,"path":642,"stem":643,"children":644},"Work with data","\u002Fdocs\u002Fno-code-tool\u002Fhow-it-works\u002Fdata","docs\u002Fno-code-tool\u002Fhow-it-works\u002Fdata\u002Findex",[645,646,650,654,658],{"title":641,"path":642,"stem":643},{"title":647,"path":648,"stem":649},"How to write data to a specific row","\u002Fdocs\u002Fno-code-tool\u002Fhow-it-works\u002Fdata\u002Fdynamically_write","docs\u002Fno-code-tool\u002Fhow-it-works\u002Fdata\u002Fdynamically_write",{"title":651,"path":652,"stem":653},"How to export data from axiom.ai","\u002Fdocs\u002Fno-code-tool\u002Fhow-it-works\u002Fdata\u002Fexport","docs\u002Fno-code-tool\u002Fhow-it-works\u002Fdata\u002Fexport",{"title":655,"path":656,"stem":657},"How to import data to use in your automation","\u002Fdocs\u002Fno-code-tool\u002Fhow-it-works\u002Fdata\u002Fimport","docs\u002Fno-code-tool\u002Fhow-it-works\u002Fdata\u002Fimport",{"title":659,"path":660,"stem":661},"Transforming data during the run","\u002Fdocs\u002Fno-code-tool\u002Fhow-it-works\u002Fdata\u002Ftransform","docs\u002Fno-code-tool\u002Fhow-it-works\u002Fdata\u002Ftransform",{"title":663,"path":664,"stem":665},"Scrape data","\u002Fdocs\u002Fno-code-tool\u002Fhow-it-works\u002Fget-data","docs\u002Fno-code-tool\u002Fhow-it-works\u002Fget-data",{"title":667,"path":668,"stem":669},"Make automations with our no-code tool","\u002Fdocs\u002Fno-code-tool\u002Fhow-it-works\u002Fget-started","docs\u002Fno-code-tool\u002Fhow-it-works\u002Fget-started",{"title":327,"path":671,"stem":672},"\u002Fdocs\u002Fno-code-tool\u002Fhow-it-works\u002Fintegrate-ai","docs\u002Fno-code-tool\u002Fhow-it-works\u002Fintegrate-ai",{"title":674,"path":675,"stem":676},"Run custom JavaScript","\u002Fdocs\u002Fno-code-tool\u002Fhow-it-works\u002Fjavascript","docs\u002Fno-code-tool\u002Fhow-it-works\u002Fjavascript",{"title":678,"path":679,"stem":680},"Use logic","\u002Fdocs\u002Fno-code-tool\u002Fhow-it-works\u002Flogic","docs\u002Fno-code-tool\u002Fhow-it-works\u002Flogic",{"title":682,"path":683,"stem":684,"children":685},"Log in to sites","\u002Fdocs\u002Fno-code-tool\u002Fhow-it-works\u002Flogin","docs\u002Fno-code-tool\u002Fhow-it-works\u002Flogin\u002Findex",[686,687,691,695,699,703,707,711],{"title":682,"path":683,"stem":684},{"title":688,"path":689,"stem":690},"Log in with 2FA","\u002Fdocs\u002Fno-code-tool\u002Fhow-it-works\u002Flogin\u002F2fa","docs\u002Fno-code-tool\u002Fhow-it-works\u002Flogin\u002F2fa",{"title":692,"path":693,"stem":694},"Log in with saved credentials","\u002Fdocs\u002Fno-code-tool\u002Fhow-it-works\u002Flogin\u002Fcredentials","docs\u002Fno-code-tool\u002Fhow-it-works\u002Flogin\u002Fcredentials",{"title":696,"path":697,"stem":698},"Log in using a password manager","\u002Fdocs\u002Fno-code-tool\u002Fhow-it-works\u002Flogin\u002Fpassword-manager","docs\u002Fno-code-tool\u002Fhow-it-works\u002Flogin\u002Fpassword-manager",{"title":700,"path":701,"stem":702},"Keep login data on your network","\u002Fdocs\u002Fno-code-tool\u002Fhow-it-works\u002Flogin\u002Fsecure","docs\u002Fno-code-tool\u002Fhow-it-works\u002Flogin\u002Fsecure",{"title":704,"path":705,"stem":706},"Log in by sharing your session","\u002Fdocs\u002Fno-code-tool\u002Fhow-it-works\u002Flogin\u002Fsessions","docs\u002Fno-code-tool\u002Fhow-it-works\u002Flogin\u002Fsessions",{"title":708,"path":709,"stem":710},"Log in using a Google Sheet","\u002Fdocs\u002Fno-code-tool\u002Fhow-it-works\u002Flogin\u002Fsteps","docs\u002Fno-code-tool\u002Fhow-it-works\u002Flogin\u002Fsteps",{"title":712,"path":713,"stem":714},"Log in using the VPS","\u002Fdocs\u002Fno-code-tool\u002Fhow-it-works\u002Flogin\u002Fvps","docs\u002Fno-code-tool\u002Fhow-it-works\u002Flogin\u002Fvps",{"title":716,"path":717,"stem":718},"Loop through data","\u002Fdocs\u002Fno-code-tool\u002Fhow-it-works\u002Floop","docs\u002Fno-code-tool\u002Fhow-it-works\u002Floop",{"title":720,"path":721,"stem":722},"Pass data between steps","\u002Fdocs\u002Fno-code-tool\u002Fhow-it-works\u002Fpass","docs\u002Fno-code-tool\u002Fhow-it-works\u002Fpass",{"title":724,"path":725,"stem":726,"children":727},"Run and schedule bots","\u002Fdocs\u002Fno-code-tool\u002Fhow-it-works\u002Fschedule-and-run","docs\u002Fno-code-tool\u002Fhow-it-works\u002Fschedule-and-run\u002Findex",[728,729,733,737,741,745,749,753,757,760,764],{"title":724,"path":725,"stem":726},{"title":730,"path":731,"stem":732},"Advanced running methods","\u002Fdocs\u002Fno-code-tool\u002Fhow-it-works\u002Fschedule-and-run\u002Fadvanced-running-methods","docs\u002Fno-code-tool\u002Fhow-it-works\u002Fschedule-and-run\u002Fadvanced-running-methods",{"title":734,"path":735,"stem":736},"Schedule an automation","\u002Fdocs\u002Fno-code-tool\u002Fhow-it-works\u002Fschedule-and-run\u002Fautomation","docs\u002Fno-code-tool\u002Fhow-it-works\u002Fschedule-and-run\u002Fautomation",{"title":738,"path":739,"stem":740},"Login with a scheduled automation","\u002Fdocs\u002Fno-code-tool\u002Fhow-it-works\u002Fschedule-and-run\u002Flogin","docs\u002Fno-code-tool\u002Fhow-it-works\u002Fschedule-and-run\u002Flogin",{"title":742,"path":743,"stem":744},"Structure automations for long runs","\u002Fdocs\u002Fno-code-tool\u002Fhow-it-works\u002Fschedule-and-run\u002Flong-bot-runs","docs\u002Fno-code-tool\u002Fhow-it-works\u002Fschedule-and-run\u002Flong-bot-runs",{"title":746,"path":747,"stem":748},"Manage scheduled automations","\u002Fdocs\u002Fno-code-tool\u002Fhow-it-works\u002Fschedule-and-run\u002Fmanage","docs\u002Fno-code-tool\u002Fhow-it-works\u002Fschedule-and-run\u002Fmanage",{"title":750,"path":751,"stem":752},"Schedule on a specific computer","\u002Fdocs\u002Fno-code-tool\u002Fhow-it-works\u002Fschedule-and-run\u002Fother","docs\u002Fno-code-tool\u002Fhow-it-works\u002Fschedule-and-run\u002Fother",{"title":754,"path":755,"stem":756},"Run your automation","\u002Fdocs\u002Fno-code-tool\u002Fhow-it-works\u002Fschedule-and-run\u002Frun","docs\u002Fno-code-tool\u002Fhow-it-works\u002Fschedule-and-run\u002Frun",{"title":165,"path":758,"stem":759},"\u002Fdocs\u002Fno-code-tool\u002Fhow-it-works\u002Fschedule-and-run\u002Frun-reports","docs\u002Fno-code-tool\u002Fhow-it-works\u002Fschedule-and-run\u002Frun-reports",{"title":761,"path":762,"stem":763},"Speed up your automations","\u002Fdocs\u002Fno-code-tool\u002Fhow-it-works\u002Fschedule-and-run\u002Fspeed-up-run","docs\u002Fno-code-tool\u002Fhow-it-works\u002Fschedule-and-run\u002Fspeed-up-run",{"title":765,"path":766,"stem":767},"Stop a running automation","\u002Fdocs\u002Fno-code-tool\u002Fhow-it-works\u002Fschedule-and-run\u002Fstop-bot-runs","docs\u002Fno-code-tool\u002Fhow-it-works\u002Fschedule-and-run\u002Fstop-bot-runs",{"title":769,"path":770,"stem":771,"children":772},"The selector tool","\u002Fdocs\u002Fno-code-tool\u002Fhow-it-works\u002Fselector-tool","docs\u002Fno-code-tool\u002Fhow-it-works\u002Fselector-tool\u002Findex",[773,774,778,782],{"title":769,"path":770,"stem":771},{"title":775,"path":776,"stem":777},"Use custom CSS selectors","\u002Fdocs\u002Fno-code-tool\u002Fhow-it-works\u002Fselector-tool\u002Fcustom-css-selectors","docs\u002Fno-code-tool\u002Fhow-it-works\u002Fselector-tool\u002Fcustom-css-selectors",{"title":779,"path":780,"stem":781},"Use the Multi Selector tool","\u002Fdocs\u002Fno-code-tool\u002Fhow-it-works\u002Fselector-tool\u002Fmulti","docs\u002Fno-code-tool\u002Fhow-it-works\u002Fselector-tool\u002Fmulti",{"title":783,"path":784,"stem":785},"Use the Single Selector","\u002Fdocs\u002Fno-code-tool\u002Fhow-it-works\u002Fselector-tool\u002Fsingle","docs\u002Fno-code-tool\u002Fhow-it-works\u002Fselector-tool\u002Fsingle",{"title":787,"path":788,"stem":789},"VPS Guide","\u002Fdocs\u002Fno-code-tool\u002Fhow-it-works\u002Fvps","docs\u002Fno-code-tool\u002Fhow-it-works\u002Fvps",{"title":791,"path":792,"stem":793,"children":794},"Send and receive webhooks","\u002Fdocs\u002Fno-code-tool\u002Fhow-it-works\u002Fwebhooks","docs\u002Fno-code-tool\u002Fhow-it-works\u002Fwebhooks\u002Findex",[795,796,800],{"title":791,"path":792,"stem":793},{"title":797,"path":798,"stem":799},"Export data with a webhook","\u002Fdocs\u002Fno-code-tool\u002Fhow-it-works\u002Fwebhooks\u002Fexport","docs\u002Fno-code-tool\u002Fhow-it-works\u002Fwebhooks\u002Fexport",{"title":801,"path":802,"stem":803},"Import data with a webhook","\u002Fdocs\u002Fno-code-tool\u002Fhow-it-works\u002Fwebhooks\u002Fimport","docs\u002Fno-code-tool\u002Fhow-it-works\u002Fwebhooks\u002Fimport",{"title":17,"path":805,"stem":806,"children":807},"\u002Fdocs\u002Fno-code-tool\u002Fintegrations","docs\u002Fno-code-tool\u002Fintegrations\u002Findex",[808,809,813,817,821,825,829,833,837,841,845,849,853,857,861,865],{"title":17,"path":805,"stem":806},{"title":810,"path":811,"stem":812},"How to use 1Password for login credentials","\u002Fdocs\u002Fno-code-tool\u002Fintegrations\u002F1password","docs\u002Fno-code-tool\u002Fintegrations\u002F1password",{"title":814,"path":815,"stem":816},"How to solve captchas with 2Captcha","\u002Fdocs\u002Fno-code-tool\u002Fintegrations\u002F2captcha","docs\u002Fno-code-tool\u002Fintegrations\u002F2captcha",{"title":818,"path":819,"stem":820},"How to connect Airtable to your bots","\u002Fdocs\u002Fno-code-tool\u002Fintegrations\u002Fairtable","docs\u002Fno-code-tool\u002Fintegrations\u002Fairtable",{"title":822,"path":823,"stem":824},"How to use ChatGPT in your bots","\u002Fdocs\u002Fno-code-tool\u002Fintegrations\u002Fchatgpt","docs\u002Fno-code-tool\u002Fintegrations\u002Fchatgpt",{"title":826,"path":827,"stem":828},"How to use Claude in your bots","\u002Fdocs\u002Fno-code-tool\u002Fintegrations\u002Fclaude","docs\u002Fno-code-tool\u002Fintegrations\u002Fclaude",{"title":830,"path":831,"stem":832},"How to use DeepSeek in your bots","\u002Fdocs\u002Fno-code-tool\u002Fintegrations\u002Fdeepseek","docs\u002Fno-code-tool\u002Fintegrations\u002Fdeepseek",{"title":834,"path":835,"stem":836},"How to connect Microsoft Excel to your bots","\u002Fdocs\u002Fno-code-tool\u002Fintegrations\u002Fexcel","docs\u002Fno-code-tool\u002Fintegrations\u002Fexcel",{"title":838,"path":839,"stem":840},"How to use Gemini in your bots","\u002Fdocs\u002Fno-code-tool\u002Fintegrations\u002Fgemini","docs\u002Fno-code-tool\u002Fintegrations\u002Fgemini",{"title":842,"path":843,"stem":844},"How to connect Google Sheets to your bots","\u002Fdocs\u002Fno-code-tool\u002Fintegrations\u002Fgoogle-sheets","docs\u002Fno-code-tool\u002Fintegrations\u002Fgoogle-sheets",{"title":846,"path":847,"stem":848},"How to connect Make and your bots","\u002Fdocs\u002Fno-code-tool\u002Fintegrations\u002Fmake","docs\u002Fno-code-tool\u002Fintegrations\u002Fmake",{"title":850,"path":851,"stem":852},"How to connect n8n and your bots","\u002Fdocs\u002Fno-code-tool\u002Fintegrations\u002Fn8n","docs\u002Fno-code-tool\u002Fintegrations\u002Fn8n",{"title":854,"path":855,"stem":856},"How to use Puppeteer in your bots","\u002Fdocs\u002Fno-code-tool\u002Fintegrations\u002Fpuppeteer","docs\u002Fno-code-tool\u002Fintegrations\u002Fpuppeteer",{"title":858,"path":859,"stem":860},"How to connect Relay.app and your bots","\u002Fdocs\u002Fno-code-tool\u002Fintegrations\u002Frelay-app","docs\u002Fno-code-tool\u002Fintegrations\u002Frelay-app",{"title":862,"path":863,"stem":864},"How to use Sonar in your bots","\u002Fdocs\u002Fno-code-tool\u002Fintegrations\u002Fsonar","docs\u002Fno-code-tool\u002Fintegrations\u002Fsonar",{"title":866,"path":867,"stem":868},"How to connect Zapier and your bots","\u002Fdocs\u002Fno-code-tool\u002Fintegrations\u002Fzapier","docs\u002Fno-code-tool\u002Fintegrations\u002Fzapier",{"title":221,"path":870,"stem":871,"children":872},"\u002Fdocs\u002Fno-code-tool\u002Freference","docs\u002Fno-code-tool\u002Freference\u002Findex",[873,874,983],{"title":221,"path":870,"stem":871},{"title":875,"path":876,"stem":877,"children":878},"Automation settings","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsettings","docs\u002Fno-code-tool\u002Freference\u002Fsettings\u002Findex",[879,880,906,924,934],{"title":875,"path":876,"stem":877},{"title":881,"path":882,"stem":883,"children":884},"Chrome","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsettings\u002Fchrome","docs\u002Fno-code-tool\u002Freference\u002Fsettings\u002Fchrome\u002Findex",[885,886,890,894,898,902],{"title":881,"path":882,"stem":883},{"title":887,"path":888,"stem":889},"Bypass bot detection","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsettings\u002Fchrome\u002Fbypass-bot-detection","docs\u002Fno-code-tool\u002Freference\u002Fsettings\u002Fchrome\u002Fbypass-bot-detection",{"title":891,"path":892,"stem":893},"Set executable path","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsettings\u002Fchrome\u002Fexecutable-path","docs\u002Fno-code-tool\u002Freference\u002Fsettings\u002Fchrome\u002Fexecutable-path",{"title":895,"path":896,"stem":897},"Run in incognito mode","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsettings\u002Fchrome\u002Fincognito","docs\u002Fno-code-tool\u002Freference\u002Fsettings\u002Fchrome\u002Fincognito",{"title":899,"path":900,"stem":901},"Load another extension","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsettings\u002Fchrome\u002Fload-extension","docs\u002Fno-code-tool\u002Freference\u002Fsettings\u002Fchrome\u002Fload-extension",{"title":903,"path":904,"stem":905},"Set a custom Chromium profile","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsettings\u002Fchrome\u002Fprofile","docs\u002Fno-code-tool\u002Freference\u002Fsettings\u002Fchrome\u002Fprofile",{"title":907,"path":908,"stem":909,"children":910},"Error handling","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsettings\u002Ferror-handling","docs\u002Fno-code-tool\u002Freference\u002Fsettings\u002Ferror-handling\u002Findex",[911,912,916,920],{"title":907,"path":908,"stem":909},{"title":913,"path":914,"stem":915},"Continue on error","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsettings\u002Ferror-handling\u002Fcontinue-on-error","docs\u002Fno-code-tool\u002Freference\u002Fsettings\u002Ferror-handling\u002Fcontinue-on-error",{"title":917,"path":918,"stem":919},"Interact with iframes","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsettings\u002Ferror-handling\u002Fiframes","docs\u002Fno-code-tool\u002Freference\u002Fsettings\u002Ferror-handling\u002Fiframes",{"title":921,"path":922,"stem":923},"Disable page monitoring","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsettings\u002Ferror-handling\u002Fpage-monitoring","docs\u002Fno-code-tool\u002Freference\u002Fsettings\u002Ferror-handling\u002Fpage-monitoring",{"title":925,"path":926,"stem":927,"children":928},"Import and export","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsettings\u002Fimport-export","docs\u002Fno-code-tool\u002Freference\u002Fsettings\u002Fimport-export\u002Findex",[929,930],{"title":925,"path":926,"stem":927},{"title":931,"path":932,"stem":933},"Import or download an automation","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsettings\u002Fimport-export\u002Fsharing","docs\u002Fno-code-tool\u002Freference\u002Fsettings\u002Fimport-export\u002Fsharing",{"title":935,"path":936,"stem":937,"children":938},"Run options","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsettings\u002Frun-options","docs\u002Fno-code-tool\u002Freference\u002Fsettings\u002Frun-options\u002Findex",[939,940,944,948,952,956,960,964,968,972,975,979],{"title":935,"path":936,"stem":937},{"title":941,"path":942,"stem":943},"Block resources","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsettings\u002Frun-options\u002Fblock-resources","docs\u002Fno-code-tool\u002Freference\u002Fsettings\u002Frun-options\u002Fblock-resources",{"title":945,"path":946,"stem":947},"Concurrency","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsettings\u002Frun-options\u002Fconcurrency","docs\u002Fno-code-tool\u002Freference\u002Fsettings\u002Frun-options\u002Fconcurrency",{"title":949,"path":950,"stem":951},"Run headless","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsettings\u002Frun-options\u002Fheadless","docs\u002Fno-code-tool\u002Freference\u002Fsettings\u002Frun-options\u002Fheadless",{"title":953,"path":954,"stem":955},"Set maximum runtime","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsettings\u002Frun-options\u002Fmax-runtime","docs\u002Fno-code-tool\u002Freference\u002Fsettings\u002Frun-options\u002Fmax-runtime",{"title":957,"path":958,"stem":959},"Set up notifications","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsettings\u002Frun-options\u002Fnotifications","docs\u002Fno-code-tool\u002Freference\u002Fsettings\u002Frun-options\u002Fnotifications",{"title":961,"path":962,"stem":963},"Use a proxy","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsettings\u002Frun-options\u002Fproxy","docs\u002Fno-code-tool\u002Freference\u002Fsettings\u002Frun-options\u002Fproxy",{"title":965,"path":966,"stem":967},"Record and monitor runs","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsettings\u002Frun-options\u002Frecord-runs","docs\u002Fno-code-tool\u002Freference\u002Fsettings\u002Frun-options\u002Frecord-runs",{"title":969,"path":970,"stem":971},"Run via API on desktop","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsettings\u002Frun-options\u002Frun-via-api-on-desktop","docs\u002Fno-code-tool\u002Freference\u002Fsettings\u002Frun-options\u002Frun-via-api-on-desktop",{"title":734,"path":973,"stem":974},"\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsettings\u002Frun-options\u002Fschedule","docs\u002Fno-code-tool\u002Freference\u002Fsettings\u002Frun-options\u002Fschedule",{"title":976,"path":977,"stem":978},"Store cookies","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsettings\u002Frun-options\u002Fstore-cookies","docs\u002Fno-code-tool\u002Freference\u002Fsettings\u002Frun-options\u002Fstore-cookies",{"title":980,"path":981,"stem":982},"Configure timezone","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsettings\u002Frun-options\u002Ftimezone","docs\u002Fno-code-tool\u002Freference\u002Fsettings\u002Frun-options\u002Ftimezone",{"title":984,"path":985,"stem":986,"children":987},"Step index","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Findex",[988,989,993,997,1001,1005,1009,1013,1017,1021,1025,1029,1033,1037,1041,1045,1049,1053,1057,1061,1065,1069,1073,1077,1081,1085,1089,1093,1097,1101,1105,1109,1113,1117,1121,1125,1129,1133,1137,1141,1145,1149,1153,1157,1161,1164,1168,1172,1176,1180,1184,1188,1192,1196,1200,1204,1208,1212,1216,1220,1224,1228,1232,1236,1240,1244,1247,1251,1255,1259,1263,1267,1271,1275,1279,1283,1287,1291,1295,1299,1303,1307,1311,1315,1319,1323,1327,1331,1335,1339],{"title":984,"path":985,"stem":986},{"title":990,"path":991,"stem":992},"Add error metadata step","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fadd-error-metadata","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fadd-error-metadata",{"title":994,"path":995,"stem":996},"Add row numbers","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fadd-row-numbers","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fadd-row-numbers",{"title":998,"path":999,"stem":1000},"Append or Merge data step","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fappend-or-merge-data","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fappend-or-merge-data",{"title":1002,"path":1003,"stem":1004},"Back step","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fback","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fback",{"title":1006,"path":1007,"stem":1008},"Clear cookies step","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fclear-cookies","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fclear-cookies",{"title":1010,"path":1011,"stem":1012},"Clear data from a Google Sheet step","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fclear-data-from-a-google-sheet","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fclear-data-from-a-google-sheet",{"title":1014,"path":1015,"stem":1016},"Click element step","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fclick-element","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fclick-element",{"title":1018,"path":1019,"stem":1020},"Click multiple elements step","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fclick-multiple-elements","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fclick-multiple-elements",{"title":1022,"path":1023,"stem":1024},"Click social media buttons step","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fclick-social-media-buttons","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fclick-social-media-buttons",{"title":1026,"path":1027,"stem":1028},"Get clipboard contents step","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fclipboard","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fclipboard",{"title":1030,"path":1031,"stem":1032},"Close browser tab step","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fclose-tab","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fclose-tab",{"title":1034,"path":1035,"stem":1036},"Conditionally jump to another step","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fconditionall-jump-step","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fconditionall-jump-step",{"title":1038,"path":1039,"stem":1040},"Continue only if a condition is met step","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fcontinue-if-condition-met","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fcontinue-if-condition-met",{"title":1042,"path":1043,"stem":1044},"Count rows step","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fcount-rows","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fcount-rows",{"title":1046,"path":1047,"stem":1048},"Create a new Google Sheet step","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fcreate-a-new-google-sheet","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fcreate-a-new-google-sheet",{"title":1050,"path":1051,"stem":1052},"Get current bot URL step","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fcurrent-url","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fcurrent-url",{"title":1054,"path":1055,"stem":1056},"Enter custom data step","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fcustom-data","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fcustom-data",{"title":1058,"path":1059,"stem":1060},"Date picker step","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fdate-picker","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fdate-picker",{"title":1062,"path":1063,"stem":1064},"Date and time step","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fdate-time","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fdate-time",{"title":1066,"path":1067,"stem":1068},"Delete from Google Drive step","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fdelete-files-from-google-drive","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fdelete-files-from-google-drive",{"title":1070,"path":1071,"stem":1072},"Delete rows from a Google Sheet step","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fdelete-rows-from-a-google-sheet","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fdelete-rows-from-a-google-sheet",{"title":1074,"path":1075,"stem":1076},"Display a message step","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fdisplay-a-message","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fdisplay-a-message",{"title":1078,"path":1079,"stem":1080},"Download File From Url","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fdownload-file-from-url","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fdownload-file-from-url",{"title":1082,"path":1083,"stem":1084},"Download file step","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fdownload-file-step","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fdownload-file-step",{"title":1086,"path":1087,"stem":1088},"Download files step","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fdownload-files","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fdownload-files",{"title":1090,"path":1091,"stem":1092},"Download a file to Google Drive step","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fdownload-files-to-google-drive","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fdownload-files-to-google-drive",{"title":1094,"path":1095,"stem":1096},"Edit Row step","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fedit-row","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fedit-row",{"title":1098,"path":1099,"stem":1100},"End loop","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fend-loop","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fend-loop",{"title":1102,"path":1103,"stem":1104},"End run","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fend-run","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fend-run",{"title":1106,"path":1107,"stem":1108},"Enter text step","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fenter-text","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fenter-text",{"title":1110,"path":1111,"stem":1112},"Export to CSV step","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fexport-csv-file","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fexport-csv-file",{"title":1114,"path":1115,"stem":1116},"Find row in a Google Sheet step","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Ffind-row","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Ffind-row",{"title":1118,"path":1119,"stem":1120},"Generate authenticator code step","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fgenerate-authenticator-code","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fgenerate-authenticator-code",{"title":1122,"path":1123,"stem":1124},"Generate random password step","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fgenerate-random-password","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fgenerate-random-password",{"title":1126,"path":1127,"stem":1128},"Get a list of links from a page step","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fget-a-list-of-links-to-pages","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fget-a-list-of-links-to-pages",{"title":1130,"path":1131,"stem":1132},"Get a list of links from a URL step","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fget-a-list-of-links-url","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fget-a-list-of-links-url",{"title":1134,"path":1135,"stem":1136},"Get data from a URL","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fget-data-from-url","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fget-data-from-url",{"title":1138,"path":1139,"stem":1140},"Get data from a webpage","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fget-data-from-website","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fget-data-from-website",{"title":1142,"path":1143,"stem":1144},"Go to page","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fgo-to-page","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fgo-to-page",{"title":1146,"path":1147,"stem":1148},"Group steps","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fgroup-steps","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fgroup-steps",{"title":1150,"path":1151,"stem":1152},"If a condition is true, run steps","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fif-condtion","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fif-condtion",{"title":1154,"path":1155,"stem":1156},"If Else condition step","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fif-else-condition","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fif-else-condition",{"title":1158,"path":1159,"stem":1160},"Import CSV File step","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fimport-csv-file","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fimport-csv-file",{"title":327,"path":1162,"stem":1163},"\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fintegrate-ai","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fintegrate-ai",{"title":1165,"path":1166,"stem":1167},"Interact step","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Finteract-with-a-pages-interface","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Finteract-with-a-pages-interface",{"title":1169,"path":1170,"stem":1171},"Join different data sources based on matching columns step","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fjoin-different-data-sources","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fjoin-different-data-sources",{"title":1173,"path":1174,"stem":1175},"Jump to another step","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fjump-step","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fjump-step",{"title":1177,"path":1178,"stem":1179},"Log in with credentials step","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Flog-in-with-credentials","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Flog-in-with-credentials",{"title":1181,"path":1182,"stem":1183},"Loop step","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Floop","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Floop",{"title":1185,"path":1186,"stem":1187},"Mouse click and drag","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fmouse-click-and-drag","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fmouse-click-and-drag",{"title":1189,"path":1190,"stem":1191},"Move a Google Sheet to a new folder in Google Drive","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fmove-a-google-sheet","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fmove-a-google-sheet",{"title":1193,"path":1194,"stem":1195},"Open a new tab step","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fopen-tab","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fopen-tab",{"title":1197,"path":1198,"stem":1199},"Press key(s) step","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fpress-key","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fpress-key",{"title":1201,"path":1202,"stem":1203},"Read data from a Google Sheet step","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fread-data-from-a-google-sheet-step","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fread-data-from-a-google-sheet-step",{"title":1205,"path":1206,"stem":1207},"Read data from Airtable","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fread-data-from-airtable","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fread-data-from-airtable",{"title":1209,"path":1210,"stem":1211},"Read data from Excel sheet step","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fread-data-from-excel","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fread-data-from-excel",{"title":1213,"path":1214,"stem":1215},"Read file from Google Drive step","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fread-file-from-google-drive","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fread-file-from-google-drive",{"title":1217,"path":1218,"stem":1219},"Read local file step","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fread-local-file","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fread-local-file",{"title":1221,"path":1222,"stem":1223},"Receive data from another app","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Freceive-data-from-another-app","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Freceive-data-from-another-app",{"title":1225,"path":1226,"stem":1227},"Remove duplicates step","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fremove-duplicates","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fremove-duplicates",{"title":1229,"path":1230,"stem":1231},"Remove HTML code step","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fremove-html-code","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fremove-html-code",{"title":1233,"path":1234,"stem":1235},"Remove results that contain certain words step","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fremove-results-that-contain-certain-words","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fremove-results-that-contain-certain-words",{"title":1237,"path":1238,"stem":1239},"Remove results which do not contain certain words step","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fremove-results-which-do-not-contain-certain-words","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fremove-results-which-do-not-contain-certain-words",{"title":1241,"path":1242,"stem":1243},"Replace text step","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Freplace-text-step","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Freplace-text-step",{"title":335,"path":1245,"stem":1246},"\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Frestart-browser","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Frestart-browser",{"title":1248,"path":1249,"stem":1250},"Rollover element step","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Frollover-element","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Frollover-element",{"title":1252,"path":1253,"stem":1254},"Run another Axiom step","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Frun-another-axiom","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Frun-another-axiom",{"title":1256,"path":1257,"stem":1258},"Save page HTML step","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fsave-page-as-html","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fsave-page-as-html",{"title":1260,"path":1261,"stem":1262},"Save screenshot locally step","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fsave-screenshot-locally","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fsave-screenshot-locally",{"title":1264,"path":1265,"stem":1266},"Save screenshot to Google Drive step","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fsave-screenshot-to-google-drive","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fsave-screenshot-to-google-drive",{"title":1268,"path":1269,"stem":1270},"Scrape metadata step","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fscrape-metadata","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fscrape-metadata",{"title":1272,"path":1273,"stem":1274},"Select list step","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fselect-list","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fselect-list",{"title":1276,"path":1277,"stem":1278},"Select random rows step","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fselect-random-rows","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fselect-random-rows",{"title":1280,"path":1281,"stem":1282},"Send an email step","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fsend-an-email","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fsend-an-email",{"title":1284,"path":1285,"stem":1286},"Solve Captcha step","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fsolve-captcha","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fsolve-captcha",{"title":1288,"path":1289,"stem":1290},"Split a name into columns step","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fsplit-a-name-into-columns","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fsplit-a-name-into-columns",{"title":1292,"path":1293,"stem":1294},"Split by character step","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fsplit-by-character","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fsplit-by-character",{"title":1296,"path":1297,"stem":1298},"Swap rows and columns step","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fswap-rows-and-columns","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fswap-rows-and-columns",{"title":1300,"path":1301,"stem":1302},"Switch browser tab step","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fswitch-browser-tab","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fswitch-browser-tab",{"title":1304,"path":1305,"stem":1306},"Trigger webhook step","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Ftrigger-webhook","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Ftrigger-webhook",{"title":1308,"path":1309,"stem":1310},"Try catch","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Ftry-catch","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Ftry-catch",{"title":1312,"path":1313,"stem":1314},"Upload a file step","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fupload-file","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fupload-file",{"title":1316,"path":1317,"stem":1318},"Upload a file from Google Drive step","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fupload-file-google-drive","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fupload-file-google-drive",{"title":1320,"path":1321,"stem":1322},"Wait step","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fwait","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fwait",{"title":1324,"path":1325,"stem":1326},"Wait for 2FA code step","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fwait-for-2fa-code","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fwait-for-2fa-code",{"title":1328,"path":1329,"stem":1330},"Write data to a Google Sheet step","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fwrite-data-to-a-google-sheet-step","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fwrite-data-to-a-google-sheet-step",{"title":1332,"path":1333,"stem":1334},"Write data to Airtable","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fwrite-data-to-airtable","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fwrite-data-to-airtable",{"title":1336,"path":1337,"stem":1338},"Write data to a Excel sheet step","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fwrite-data-to-an-excel-sheet","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fwrite-data-to-an-excel-sheet",{"title":1340,"path":1341,"stem":1342},"Write javascript step","\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fwrite-javascript","docs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fwrite-javascript",{"title":1344,"path":1345,"stem":1346,"children":1347},"Release notes","\u002Fdocs\u002Fno-code-tool\u002Frelease-notes","docs\u002Fno-code-tool\u002Frelease-notes\u002Findex",[1348,1349,1353,1357,1361,1365,1369,1373,1377,1381,1385,1389,1393,1397,1401,1405,1409,1413,1417,1421,1425,1429,1433,1437,1441,1445,1449,1453,1457,1461,1465,1469,1473,1477,1481],{"title":1344,"path":1345,"stem":1346},{"title":1350,"path":1351,"stem":1352},"New Make integration, better loops, smarter scraping, and fixes","\u002Fdocs\u002Fno-code-tool\u002Frelease-notes\u002Faxiom-version-3-10-0","docs\u002Fno-code-tool\u002Frelease-notes\u002Faxiom-version-3-10-0",{"title":1354,"path":1355,"stem":1356},"Dashboard redesign, better conditionals, stop remote bots, and more","\u002Fdocs\u002Fno-code-tool\u002Frelease-notes\u002Faxiom-version-3-11-0","docs\u002Fno-code-tool\u002Frelease-notes\u002Faxiom-version-3-11-0",{"title":1358,"path":1359,"stem":1360},"Solve captchas, press keys smarter, fix iframe hangs, and more","\u002Fdocs\u002Fno-code-tool\u002Frelease-notes\u002Faxiom-version-3-12-0","docs\u002Fno-code-tool\u002Frelease-notes\u002Faxiom-version-3-12-0",{"title":1362,"path":1363,"stem":1364},"Optional steps, screenshot tool, scraper upgrades","\u002Fdocs\u002Fno-code-tool\u002Frelease-notes\u002Faxiom-version-3-13-0","docs\u002Fno-code-tool\u002Frelease-notes\u002Faxiom-version-3-13-0",{"title":1366,"path":1367,"stem":1368},"Selector overhaul, drag to reorder steps, new templates, and more","\u002Fdocs\u002Fno-code-tool\u002Frelease-notes\u002Faxiom-version-3-14-0","docs\u002Fno-code-tool\u002Frelease-notes\u002Faxiom-version-3-14-0",{"title":1370,"path":1371,"stem":1372},"Custom scraper settings, new templates, and payment upgrade","\u002Fdocs\u002Fno-code-tool\u002Frelease-notes\u002Faxiom-version-3-15-0","docs\u002Fno-code-tool\u002Frelease-notes\u002Faxiom-version-3-15-0",{"title":1374,"path":1375,"stem":1376},"Upload to drive, undo mistakes, upgrade steps, and more","\u002Fdocs\u002Fno-code-tool\u002Frelease-notes\u002Faxiom-version-3-16-0","docs\u002Fno-code-tool\u002Frelease-notes\u002Faxiom-version-3-16-0",{"title":1378,"path":1379,"stem":1380},"Better notifications, custom errors, iframe tools, and more","\u002Fdocs\u002Fno-code-tool\u002Frelease-notes\u002Faxiom-version-3-17-0","docs\u002Fno-code-tool\u002Frelease-notes\u002Faxiom-version-3-17-0",{"title":1382,"path":1383,"stem":1384},"Structured scraping with chatgpt, new schedule view, filters, and fixes","\u002Fdocs\u002Fno-code-tool\u002Frelease-notes\u002Faxiom-version-3-18-0","docs\u002Fno-code-tool\u002Frelease-notes\u002Faxiom-version-3-18-0",{"title":1386,"path":1387,"stem":1388},"New debugger, generate text with chatgpt, save to drive, and more","\u002Fdocs\u002Fno-code-tool\u002Frelease-notes\u002Faxiom-version-3-19-0","docs\u002Fno-code-tool\u002Frelease-notes\u002Faxiom-version-3-19-0",{"title":1390,"path":1391,"stem":1392},"Affiliates, smarter queues, overwrite files, and a 4.0 teaser","\u002Fdocs\u002Fno-code-tool\u002Frelease-notes\u002Faxiom-version-3-20-0","docs\u002Fno-code-tool\u002Frelease-notes\u002Faxiom-version-3-20-0",{"title":1394,"path":1395,"stem":1396},"Sneak peek at 4.0, open linked axioms, new steps, and more","\u002Fdocs\u002Fno-code-tool\u002Frelease-notes\u002Faxiom-version-3-21-0","docs\u002Fno-code-tool\u002Frelease-notes\u002Faxiom-version-3-21-0",{"title":1398,"path":1399,"stem":1400},"Last stop before 4.0, Scrape images, reorder columns, and more","\u002Fdocs\u002Fno-code-tool\u002Frelease-notes\u002Faxiom-version-3-22-0","docs\u002Fno-code-tool\u002Frelease-notes\u002Faxiom-version-3-22-0",{"title":1402,"path":1403,"stem":1404},"Live data previews, easier navigation, new onboarding tools","\u002Fdocs\u002Fno-code-tool\u002Frelease-notes\u002Faxiom-version-3-5-0","docs\u002Fno-code-tool\u002Frelease-notes\u002Faxiom-version-3-5-0",{"title":1406,"path":1407,"stem":1408},"Better sheets integration, loop controls, and fixes","\u002Fdocs\u002Fno-code-tool\u002Frelease-notes\u002Faxiom-version-3-6-0","docs\u002Fno-code-tool\u002Frelease-notes\u002Faxiom-version-3-6-0",{"title":1410,"path":1411,"stem":1412},"Better builder errors, webhook stability, test default data, and more","\u002Fdocs\u002Fno-code-tool\u002Frelease-notes\u002Faxiom-version-3-7-0","docs\u002Fno-code-tool\u002Frelease-notes\u002Faxiom-version-3-7-0",{"title":1414,"path":1415,"stem":1416},"Axiom academy is live, smarter scraping, improved validation","\u002Fdocs\u002Fno-code-tool\u002Frelease-notes\u002Faxiom-version-3-8-0","docs\u002Fno-code-tool\u002Frelease-notes\u002Faxiom-version-3-8-0",{"title":1418,"path":1419,"stem":1420},"Step-by-step templates, improved scraping, click multiple, and more","\u002Fdocs\u002Fno-code-tool\u002Frelease-notes\u002Faxiom-version-3-9-0","docs\u002Fno-code-tool\u002Frelease-notes\u002Faxiom-version-3-9-0",{"title":1422,"path":1423,"stem":1424},"Build smarter with nesting, chatgpt 4, and cloud sessions","\u002Fdocs\u002Fno-code-tool\u002Frelease-notes\u002Faxiom-version-4-0-0","docs\u002Fno-code-tool\u002Frelease-notes\u002Faxiom-version-4-0-0",{"title":1426,"path":1427,"stem":1428},"Guided templates, step help, datepickers, partial screenshots, and more","\u002Fdocs\u002Fno-code-tool\u002Frelease-notes\u002Faxiom-version-4-1-0","docs\u002Fno-code-tool\u002Frelease-notes\u002Faxiom-version-4-1-0",{"title":1430,"path":1431,"stem":1432},"Run recording for debugging, and delete from Google Drive","\u002Fdocs\u002Fno-code-tool\u002Frelease-notes\u002Faxiom-version-4-10-0","docs\u002Fno-code-tool\u002Frelease-notes\u002Faxiom-version-4-10-0",{"title":1434,"path":1435,"stem":1436},"Proxy auth, conditional logic, flexible scheduling, and more","\u002Fdocs\u002Fno-code-tool\u002Frelease-notes\u002Faxiom-version-4-2-0","docs\u002Fno-code-tool\u002Frelease-notes\u002Faxiom-version-4-2-0",{"title":1438,"path":1439,"stem":1440},"Quick builder, new sidebar, better onboarding, and more","\u002Fdocs\u002Fno-code-tool\u002Frelease-notes\u002Faxiom-version-4-3-0","docs\u002Fno-code-tool\u002Frelease-notes\u002Faxiom-version-4-3-0",{"title":1442,"path":1443,"stem":1444},"Live run status, step recommendations, keyboard shortcuts, and more","\u002Fdocs\u002Fno-code-tool\u002Frelease-notes\u002Faxiom-version-4-4-0","docs\u002Fno-code-tool\u002Frelease-notes\u002Faxiom-version-4-4-0",{"title":1446,"path":1447,"stem":1448},"Scrape faster, set keys once, skip steps, end runs early, and more","\u002Fdocs\u002Fno-code-tool\u002Frelease-notes\u002Faxiom-version-4-5-0","docs\u002Fno-code-tool\u002Frelease-notes\u002Faxiom-version-4-5-0",{"title":1450,"path":1451,"stem":1452},"Excel steps, folder sorting, GPT-4o smarts, end loop control, quick filters, and more","\u002Fdocs\u002Fno-code-tool\u002Frelease-notes\u002Faxiom-version-4-6-0","docs\u002Fno-code-tool\u002Frelease-notes\u002Faxiom-version-4-6-0",{"title":1454,"path":1455,"stem":1456},"Proxy rotation, AI updates, new run options and more","\u002Fdocs\u002Fno-code-tool\u002Frelease-notes\u002Faxiom-version-4-7-0","docs\u002Fno-code-tool\u002Frelease-notes\u002Faxiom-version-4-7-0",{"title":1458,"path":1459,"stem":1460},"Unlimited desktop concurrency, Airtable integration, and cloud bot bypass","\u002Fdocs\u002Fno-code-tool\u002Frelease-notes\u002Faxiom-version-4-8-0","docs\u002Fno-code-tool\u002Frelease-notes\u002Faxiom-version-4-8-0",{"title":1462,"path":1463,"stem":1464},"Team accounts, code editor upgrades, and a Row Numbers step","\u002Fdocs\u002Fno-code-tool\u002Frelease-notes\u002Faxiom-version-4-9-0","docs\u002Fno-code-tool\u002Frelease-notes\u002Faxiom-version-4-9-0",{"title":1466,"path":1467,"stem":1468},"Build from description, AI troubleshooting assistant, and free Claude credits","\u002Fdocs\u002Fno-code-tool\u002Frelease-notes\u002Faxiom-version-5-0-0","docs\u002Fno-code-tool\u002Frelease-notes\u002Faxiom-version-5-0-0",{"title":1470,"path":1471,"stem":1472},"Automate two-factor authentication logins","\u002Fdocs\u002Fno-code-tool\u002Frelease-notes\u002Faxiom-version-5-1-0","docs\u002Fno-code-tool\u002Frelease-notes\u002Faxiom-version-5-1-0",{"title":1474,"path":1475,"stem":1476},"New desktop app with an MCP server, webhook-triggered desktop runs, and run recordings for Pro","\u002Fdocs\u002Fno-code-tool\u002Frelease-notes\u002Faxiom-version-5-2-0","docs\u002Fno-code-tool\u002Frelease-notes\u002Faxiom-version-5-2-0",{"title":1478,"path":1479,"stem":1480},"The Browser Agent builds your automations, AI selectors, and more","\u002Fdocs\u002Fno-code-tool\u002Frelease-notes\u002Faxiom-version-5-3-0","docs\u002Fno-code-tool\u002Frelease-notes\u002Faxiom-version-5-3-0",{"title":1482,"path":1483,"stem":1484},"The Browser Agent asks less and does more, Code Tool session settings, and more","\u002Fdocs\u002Fno-code-tool\u002Frelease-notes\u002Flatest","docs\u002Fno-code-tool\u002Frelease-notes\u002Flatest",{"title":667,"path":1486,"stem":1487,"children":1488},"\u002Fdocs\u002Fno-code-tool\u002Fthe-builder","docs\u002Fno-code-tool\u002Fthe-builder\u002Findex",[1489,1490,1494,1498,1502,1506],{"title":667,"path":1486,"stem":1487},{"title":1491,"path":1492,"stem":1493},"AI Assistant","\u002Fdocs\u002Fno-code-tool\u002Fthe-builder\u002Fai-assistant","docs\u002Fno-code-tool\u002Fthe-builder\u002Fai-assistant",{"title":1495,"path":1496,"stem":1497},"The no-code Builder","\u002Fdocs\u002Fno-code-tool\u002Fthe-builder\u002Fbuilder","docs\u002Fno-code-tool\u002Fthe-builder\u002Fbuilder",{"title":1499,"path":1500,"stem":1501},"The dashboard","\u002Fdocs\u002Fno-code-tool\u002Fthe-builder\u002Fdashboard","docs\u002Fno-code-tool\u002Fthe-builder\u002Fdashboard",{"title":1503,"path":1504,"stem":1505},"Installation","\u002Fdocs\u002Fno-code-tool\u002Fthe-builder\u002Finstall","docs\u002Fno-code-tool\u002Fthe-builder\u002Finstall",{"title":1507,"path":1508,"stem":1509},"Share an automation","\u002Fdocs\u002Fno-code-tool\u002Fthe-builder\u002Fsharing","docs\u002Fno-code-tool\u002Fthe-builder\u002Fsharing",{"title":1511,"path":1512,"stem":1513,"children":1514},"Troubleshooting","\u002Fdocs\u002Fno-code-tool\u002Ftroubleshooting","docs\u002Fno-code-tool\u002Ftroubleshooting\u002Findex",[1515,1516,1520,1598,1602],{"title":1511,"path":1512,"stem":1513},{"title":1517,"path":1518,"stem":1519},"Handle errors in an automation","\u002Fdocs\u002Fno-code-tool\u002Ftroubleshooting\u002Ferror-handling","docs\u002Fno-code-tool\u002Ftroubleshooting\u002Ferror-handling",{"title":1521,"path":1522,"stem":1523,"children":1524},"Common errors","\u002Fdocs\u002Fno-code-tool\u002Ftroubleshooting\u002Ferrors","docs\u002Fno-code-tool\u002Ftroubleshooting\u002Ferrors\u002Findex",[1525,1526,1530,1534,1538,1556,1560],{"title":1521,"path":1522,"stem":1523},{"title":1527,"path":1528,"stem":1529},"Desktop app errors","\u002Fdocs\u002Fno-code-tool\u002Ftroubleshooting\u002Ferrors\u002Fdesktop-app","docs\u002Fno-code-tool\u002Ftroubleshooting\u002Ferrors\u002Fdesktop-app",{"title":1531,"path":1532,"stem":1533},"General errors","\u002Fdocs\u002Fno-code-tool\u002Ftroubleshooting\u002Ferrors\u002Fgeneral","docs\u002Fno-code-tool\u002Ftroubleshooting\u002Ferrors\u002Fgeneral",{"title":1535,"path":1536,"stem":1537},"Installation and uninstallation errors","\u002Fdocs\u002Fno-code-tool\u002Ftroubleshooting\u002Ferrors\u002Finstallation","docs\u002Fno-code-tool\u002Ftroubleshooting\u002Ferrors\u002Finstallation",{"title":1539,"path":1540,"stem":1541,"children":1542},"Integration errors","\u002Fdocs\u002Fno-code-tool\u002Ftroubleshooting\u002Ferrors\u002Fintegrations","docs\u002Fno-code-tool\u002Ftroubleshooting\u002Ferrors\u002Fintegrations\u002Findex",[1543,1544,1548,1552],{"title":1539,"path":1540,"stem":1541},{"title":1545,"path":1546,"stem":1547},"2Captcha errors","\u002Fdocs\u002Fno-code-tool\u002Ftroubleshooting\u002Ferrors\u002Fintegrations\u002F2captcha","docs\u002Fno-code-tool\u002Ftroubleshooting\u002Ferrors\u002Fintegrations\u002F2captcha",{"title":1549,"path":1550,"stem":1551},"AI integration errors","\u002Fdocs\u002Fno-code-tool\u002Ftroubleshooting\u002Ferrors\u002Fintegrations\u002Fai","docs\u002Fno-code-tool\u002Ftroubleshooting\u002Ferrors\u002Fintegrations\u002Fai",{"title":1553,"path":1554,"stem":1555},"Google Sheets errors","\u002Fdocs\u002Fno-code-tool\u002Ftroubleshooting\u002Ferrors\u002Fintegrations\u002Fgoogle-sheets","docs\u002Fno-code-tool\u002Ftroubleshooting\u002Ferrors\u002Fintegrations\u002Fgoogle-sheets",{"title":1557,"path":1558,"stem":1559},"Runtime errors","\u002Fdocs\u002Fno-code-tool\u002Ftroubleshooting\u002Ferrors\u002Fruntime","docs\u002Fno-code-tool\u002Ftroubleshooting\u002Ferrors\u002Fruntime",{"title":1561,"path":1562,"stem":1563,"children":1564},"Step errors","\u002Fdocs\u002Fno-code-tool\u002Ftroubleshooting\u002Ferrors\u002Fsteps","docs\u002Fno-code-tool\u002Ftroubleshooting\u002Ferrors\u002Fsteps\u002Findex",[1565,1566,1570,1574,1578,1582,1586,1590,1594],{"title":1561,"path":1562,"stem":1563},{"title":1567,"path":1568,"stem":1569},"Control flow step errors","\u002Fdocs\u002Fno-code-tool\u002Ftroubleshooting\u002Ferrors\u002Fsteps\u002Fcontrol-flow","docs\u002Fno-code-tool\u002Ftroubleshooting\u002Ferrors\u002Fsteps\u002Fcontrol-flow",{"title":1571,"path":1572,"stem":1573},"File step errors","\u002Fdocs\u002Fno-code-tool\u002Ftroubleshooting\u002Ferrors\u002Fsteps\u002Ffiles","docs\u002Fno-code-tool\u002Ftroubleshooting\u002Ferrors\u002Fsteps\u002Ffiles",{"title":1575,"path":1576,"stem":1577},"Interact step errors","\u002Fdocs\u002Fno-code-tool\u002Ftroubleshooting\u002Ferrors\u002Fsteps\u002Finteract","docs\u002Fno-code-tool\u002Ftroubleshooting\u002Ferrors\u002Fsteps\u002Finteract",{"title":1579,"path":1580,"stem":1581},"Loop step errors","\u002Fdocs\u002Fno-code-tool\u002Ftroubleshooting\u002Ferrors\u002Fsteps\u002Floop","docs\u002Fno-code-tool\u002Ftroubleshooting\u002Ferrors\u002Fsteps\u002Floop",{"title":1583,"path":1584,"stem":1585},"Other step errors","\u002Fdocs\u002Fno-code-tool\u002Ftroubleshooting\u002Ferrors\u002Fsteps\u002Fmisc","docs\u002Fno-code-tool\u002Ftroubleshooting\u002Ferrors\u002Fsteps\u002Fmisc",{"title":1587,"path":1588,"stem":1589},"Navigate step errors","\u002Fdocs\u002Fno-code-tool\u002Ftroubleshooting\u002Ferrors\u002Fsteps\u002Fnavigate","docs\u002Fno-code-tool\u002Ftroubleshooting\u002Ferrors\u002Fsteps\u002Fnavigate",{"title":1591,"path":1592,"stem":1593},"Scrape step errors","\u002Fdocs\u002Fno-code-tool\u002Ftroubleshooting\u002Ferrors\u002Fsteps\u002Fscrape","docs\u002Fno-code-tool\u002Ftroubleshooting\u002Ferrors\u002Fsteps\u002Fscrape",{"title":1595,"path":1596,"stem":1597},"Webhook and API step errors","\u002Fdocs\u002Fno-code-tool\u002Ftroubleshooting\u002Ferrors\u002Fsteps\u002Fwebhooks-api","docs\u002Fno-code-tool\u002Ftroubleshooting\u002Ferrors\u002Fsteps\u002Fwebhooks-api",{"title":1599,"path":1600,"stem":1601},"Debug an automation","\u002Fdocs\u002Fno-code-tool\u002Ftroubleshooting\u002Fhow-to-debug","docs\u002Fno-code-tool\u002Ftroubleshooting\u002Fhow-to-debug",{"title":1603,"path":1604,"stem":1605},"Record a run","\u002Fdocs\u002Fno-code-tool\u002Ftroubleshooting\u002Frecord-runs","docs\u002Fno-code-tool\u002Ftroubleshooting\u002Frecord-runs",{"title":1607,"path":1608,"stem":1609},"Get support","\u002Fdocs\u002Fsupport","docs\u002Fsupport",{"title":1611,"path":1612,"stem":1613},"Automatización del navegador para humanos e IA","\u002Fes","es",{"title":1615,"path":1616,"stem":1617},"Extension uninstalled","\u002Fextension-uninstalled","extension-uninstalled",{"title":1619,"path":1620,"stem":1621},"l'automatisation du navigateur pour les humains et les IA","\u002Ffr","fr",{"title":1623,"path":1624,"stem":1625},"Browser automation & web scraping, no-code or code","\u002F","index",{"title":1627,"path":1628,"stem":1629,"children":1630},"Infrastructure","\u002Finfrastructure","infrastructure",[1631,1634,1637,1641,1645],{"title":1632,"path":1628,"stem":1633},"Private Browser Infrastructure","infrastructure\u002Findex",{"title":197,"path":1635,"stem":1636},"\u002Finfrastructure\u002F_api","infrastructure\u002F_api",{"title":1638,"path":1639,"stem":1640},"Build with Claude","\u002Finfrastructure\u002F_privacy","infrastructure\u002F_privacy",{"title":1642,"path":1643,"stem":1644},"Cloud Browser Infrastructure","\u002Finfrastructure\u002Fcloud","infrastructure\u002Fcloud",{"title":1646,"path":1647,"stem":1648},"Local Browser Automation on Desktop","\u002Finfrastructure\u002Fdesktop","infrastructure\u002Fdesktop",{"title":1650,"path":1651,"stem":1652},"Install the desktop runner for axiom.ai's browser automation extension","\u002Finstall-desktop-app","install-desktop-app",{"title":1654,"path":1655,"stem":1656},"No-code tool for making browser automations in Chrome","\u002Fno-code-tool","no-code-tool",{"title":1658,"path":1659,"stem":1660},"Browser automation & web scraping pricing plans","\u002Fpricing","pricing",{"title":1662,"path":1663,"stem":1664},"Privacy Policy","\u002Fprivacy-policy","privacy-policy",{"title":1666,"path":1667,"stem":1668},"No-code steps for browser automation","\u002Fsteps","steps",{"title":1670,"path":1671,"stem":1672},"Chrome extension installed: start building by description","\u002Fsuccess","success",{"title":1674,"path":1675,"stem":1676},"Terms of use","\u002Fterms-of-use","terms-of-use",{"id":1678,"title":445,"body":1679,"date":2001,"description":2002,"extension":2003,"meta":2004,"navigation":1960,"order":1859,"path":446,"seo":2007,"stem":447,"__hash__":2008},"content\u002Fdocs\u002Fdeveloper-hub\u002Fsnippets\u002Fjavascript\u002Fapp.md",{"type":1680,"value":1681,"toc":1997},"minimark",[1682,1709,1714,1717,1731,1884,1900,1904,1906,1920,1985,1993],[1683,1684,1685,1686,1690,1691,1695,1696,1699,1700,1704,1705,1708],"p",{},"These snippets need the ",[1687,1688,1689],"code",{},"Run in app"," toggle on the ",[1692,1693,1694],"strong",{},"Write javascript"," step, so the code runs inside the axiom.ai desktop app rather than the page. That gives it Node.js APIs and the ",[1687,1697,1698],{},"chatGPT()"," helper, at the cost of page access and console output; the ",[1701,1702,1689],"a",{"href":1703},"\u002Fdocs\u002Fdeveloper-hub\u002Fsnippets#run-in-app"," notes cover the trade-offs. Puppeteer snippets, which also run in the app, have ",[1701,1706,1707],{"href":474},"their own section",".",[1710,1711,1713],"h2",{"id":1712},"read-a-local-file","Read a local file",[1715,1716],"hr",{},[1683,1718,1719,1720,1723,1724,1726,1727,1730],{},"The ",[1687,1721,1722],{},"fs"," module lets an automation read and write files on the local machine. The step uses promises, while ",[1687,1725,1722],{}," uses callbacks, so wrap the call in a promise for ",[1687,1728,1729],{},"await"," to work:",[1732,1733,1738],"pre",{"className":1734,"code":1735,"language":1736,"meta":1737,"style":1737},"language-js shiki shiki-themes github-light-default github-dark-default","let result = await new Promise(resolve => {\n  fs.readFile('\u002FUsers\u002Fjoe\u002Ftest.txt', 'utf8', (err, data) => {\n    if (err) {\n      resolve([[err.message]]);\n    } else {\n      resolve([[data]]);\n    }\n  });\n});\nreturn result;\n","js","",[1687,1739,1740,1779,1820,1829,1838,1849,1857,1863,1869,1875],{"__ignoreMap":1737},[1741,1742,1745,1749,1753,1756,1759,1762,1766,1769,1773,1776],"span",{"class":1743,"line":1744},"line",1,[1741,1746,1748],{"class":1747},"sjeE4","let",[1741,1750,1752],{"class":1751},"s4rv2"," result ",[1741,1754,1755],{"class":1747},"=",[1741,1757,1758],{"class":1747}," await",[1741,1760,1761],{"class":1747}," new",[1741,1763,1765],{"class":1764},"sHrmB"," Promise",[1741,1767,1768],{"class":1751},"(",[1741,1770,1772],{"class":1771},"sTDnQ","resolve",[1741,1774,1775],{"class":1747}," =>",[1741,1777,1778],{"class":1751}," {\n",[1741,1780,1782,1785,1789,1791,1795,1798,1801,1804,1807,1809,1812,1815,1818],{"class":1743,"line":1781},2,[1741,1783,1784],{"class":1751},"  fs.",[1741,1786,1788],{"class":1787},"sbjLL","readFile",[1741,1790,1768],{"class":1751},[1741,1792,1794],{"class":1793},"sSVrQ","'\u002FUsers\u002Fjoe\u002Ftest.txt'",[1741,1796,1797],{"class":1751},", ",[1741,1799,1800],{"class":1793},"'utf8'",[1741,1802,1803],{"class":1751},", (",[1741,1805,1806],{"class":1771},"err",[1741,1808,1797],{"class":1751},[1741,1810,1811],{"class":1771},"data",[1741,1813,1814],{"class":1751},") ",[1741,1816,1817],{"class":1747},"=>",[1741,1819,1778],{"class":1751},[1741,1821,1823,1826],{"class":1743,"line":1822},3,[1741,1824,1825],{"class":1747},"    if",[1741,1827,1828],{"class":1751}," (err) {\n",[1741,1830,1832,1835],{"class":1743,"line":1831},4,[1741,1833,1834],{"class":1787},"      resolve",[1741,1836,1837],{"class":1751},"([[err.message]]);\n",[1741,1839,1841,1844,1847],{"class":1743,"line":1840},5,[1741,1842,1843],{"class":1751},"    } ",[1741,1845,1846],{"class":1747},"else",[1741,1848,1778],{"class":1751},[1741,1850,1852,1854],{"class":1743,"line":1851},6,[1741,1853,1834],{"class":1787},[1741,1855,1856],{"class":1751},"([[data]]);\n",[1741,1858,1860],{"class":1743,"line":1859},7,[1741,1861,1862],{"class":1751},"    }\n",[1741,1864,1866],{"class":1743,"line":1865},8,[1741,1867,1868],{"class":1751},"  });\n",[1741,1870,1872],{"class":1743,"line":1871},9,[1741,1873,1874],{"class":1751},"});\n",[1741,1876,1878,1881],{"class":1743,"line":1877},10,[1741,1879,1880],{"class":1747},"return",[1741,1882,1883],{"class":1751}," result;\n",[1683,1885,1886,1887,1890,1891,1708],{},"The file's contents are available in the ",[1687,1888,1889],{},"code-data"," token. For a full reference, see the ",[1701,1892,1896,1897,1899],{"href":1893,"rel":1894},"https:\u002F\u002Fnodejs.org\u002Fapi\u002Ffs.html",[1895],"nofollow","Node.js ",[1687,1898,1722],{}," documentation",[1710,1901,1903],{"id":1902},"call-chatgpt-directly","Call ChatGPT directly",[1715,1905],{},[1683,1907,1908,1909,1912,1913,1916,1917,1919],{},"When the ",[1692,1910,1911],{},"Extract data with ChatGPT"," and ",[1692,1914,1915],{},"Generate text with ChatGPT"," steps do not fit, call ChatGPT from JavaScript with the built-in ",[1687,1918,1698],{}," helper:",[1732,1921,1923],{"className":1734,"code":1922,"language":1736,"meta":1737,"style":1737},"const key = '\u003CAPI_KEY>';\nconst prompt = 'Write a short introduction to browser automation.';\n\nlet result = await chatGPT(key, prompt);\nreturn [[result]];\n",[1687,1924,1925,1942,1956,1962,1978],{"__ignoreMap":1737},[1741,1926,1927,1930,1933,1936,1939],{"class":1743,"line":1744},[1741,1928,1929],{"class":1747},"const",[1741,1931,1932],{"class":1764}," key",[1741,1934,1935],{"class":1747}," =",[1741,1937,1938],{"class":1793}," '\u003CAPI_KEY>'",[1741,1940,1941],{"class":1751},";\n",[1741,1943,1944,1946,1949,1951,1954],{"class":1743,"line":1781},[1741,1945,1929],{"class":1747},[1741,1947,1948],{"class":1764}," prompt",[1741,1950,1935],{"class":1747},[1741,1952,1953],{"class":1793}," 'Write a short introduction to browser automation.'",[1741,1955,1941],{"class":1751},[1741,1957,1958],{"class":1743,"line":1822},[1741,1959,1961],{"emptyLinePlaceholder":1960},true,"\n",[1741,1963,1964,1966,1968,1970,1972,1975],{"class":1743,"line":1831},[1741,1965,1748],{"class":1747},[1741,1967,1752],{"class":1751},[1741,1969,1755],{"class":1747},[1741,1971,1758],{"class":1747},[1741,1973,1974],{"class":1787}," chatGPT",[1741,1976,1977],{"class":1751},"(key, prompt);\n",[1741,1979,1980,1982],{"class":1743,"line":1840},[1741,1981,1880],{"class":1747},[1741,1983,1984],{"class":1751}," [[result]];\n",[1683,1986,1987,1988,1708],{},"Get an API key from your ",[1701,1989,1992],{"href":1990,"rel":1991},"https:\u002F\u002Fplatform.openai.com\u002Faccount",[1895],"OpenAI account",[1994,1995,1996],"style",{},"html pre.shiki code .sjeE4, html code.shiki .sjeE4{--shiki-default:#CF222E;--shiki-dark:#FF7B72}html pre.shiki code .s4rv2, html code.shiki .s4rv2{--shiki-default:#1F2328;--shiki-dark:#E6EDF3}html pre.shiki code .sHrmB, html code.shiki .sHrmB{--shiki-default:#0550AE;--shiki-dark:#79C0FF}html pre.shiki code .sTDnQ, html code.shiki .sTDnQ{--shiki-default:#953800;--shiki-dark:#FFA657}html pre.shiki code .sbjLL, html code.shiki .sbjLL{--shiki-default:#8250DF;--shiki-dark:#D2A8FF}html pre.shiki code .sSVrQ, html code.shiki .sSVrQ{--shiki-default:#0A3069;--shiki-dark:#A5D6FF}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":1737,"searchDepth":1822,"depth":1822,"links":1998},[1999,2000],{"id":1712,"depth":1781,"text":1713},{"id":1902,"depth":1781,"text":1903},null,"JavaScript snippets for the Write javascript step with Run in app on, including reading and writing local files with Node.js fs and calling ChatGPT directly.","md",{"metaTitle":2005,"updated":2006},"JavaScript snippets that run in the axiom.ai desktop app","2026-10-23",{"title":445,"description":2002},"9_v1HdYnbHmKIl22MTt9oHZIAD0k0Dve5fZvQzkwUZ0",[2010,2081,2093],{"key":2011,"title":2012,"href":526,"sections":2013},"no-code","No-code tool",[2014,2024,2039,2046,2064,2069,2076,2079],{"id":2015,"title":2016,"href":1486,"mode":2017,"children":2018},"the-builder","The builder","collapsible",[2019,2020,2021,2022,2023],{"title":1503,"href":1504},{"title":1499,"href":1500},{"title":1495,"href":1496},{"title":1507,"href":1508},{"title":1491,"href":1492},{"id":2025,"title":553,"href":554,"mode":2017,"children":2026},"how-it-works",[2027,2028,2029,2030,2031,2032,2033,2034,2035,2036,2037,2038],{"title":559,"href":560},{"title":663,"href":664},{"title":769,"href":770},{"title":641,"href":642},{"title":720,"href":721},{"title":716,"href":717},{"title":678,"href":679},{"title":682,"href":683},{"title":327,"href":671},{"title":791,"href":792},{"title":674,"href":675},{"title":724,"href":725},{"id":2040,"title":2041,"href":536,"mode":2017,"children":2042},"get-started","Get started",[2043,2044,2045],{"title":549,"href":550},{"title":541,"href":542},{"title":545,"href":546},{"id":2047,"title":17,"href":805,"mode":2017,"children":2048},"integrations",[2049,2050,2051,2052,2053,2054,2055,2056,2057,2058,2059,2060,2061,2062,2063],{"title":866,"href":867},{"title":842,"href":843},{"title":818,"href":819},{"title":822,"href":823},{"title":814,"href":815},{"title":854,"href":855},{"title":846,"href":847},{"title":850,"href":851},{"title":834,"href":835},{"title":858,"href":859},{"title":826,"href":827},{"title":838,"href":839},{"title":862,"href":863},{"title":830,"href":831},{"title":810,"href":811},{"id":2065,"title":221,"href":870,"mode":2017,"children":2066},"reference",[2067,2068],{"title":875,"href":876},{"title":984,"href":985},{"id":2070,"title":1511,"href":1512,"mode":2017,"children":2071},"troubleshooting",[2072,2073,2074,2075],{"title":1521,"href":1522},{"title":1599,"href":1600},{"title":1517,"href":1518},{"title":1603,"href":1604},{"title":531,"href":532,"mode":2077,"children":2078},"link",[],{"title":1344,"href":1345,"mode":2077,"children":2080},[],{"key":1687,"title":147,"href":148,"sections":2082},[2083],{"id":1687,"title":147,"href":148,"mode":2084,"children":2085},"flat",[2086,2087,2088,2089,2090,2091,2092],{"title":157,"href":158},{"title":161,"href":162},{"title":153,"href":154},{"title":169,"href":170},{"title":173,"href":174},{"title":165,"href":166},{"title":187,"href":188},{"key":2094,"title":2095,"href":192,"sections":2096},"developer-hub","Developer hub",[2097,2108,2115,2120,2127,2132],{"id":2098,"title":197,"href":198,"mode":2017,"children":2099},"dh-api",[2100,2101,2102,2103,2104,2105,2106,2107],{"title":243,"href":244},{"title":217,"href":218},{"title":203,"href":204},{"title":207,"href":208},{"title":213,"href":214},{"title":371,"href":372},{"title":281,"href":282},{"title":221,"href":222},{"id":2109,"title":411,"href":412,"mode":2017,"children":2110},"dh-mcp",[2111,2112,2113,2114],{"title":425,"href":426},{"title":417,"href":418},{"title":421,"href":422},{"title":429,"href":430},{"id":2116,"title":433,"href":434,"mode":2017,"children":2117},"dh-snippets",[2118,2119],{"title":439,"href":440},{"title":473,"href":474},{"id":2121,"title":389,"href":390,"mode":2017,"children":2122},"dh-deep-dives",[2123,2124,2125,2126],{"title":399,"href":400},{"title":395,"href":396},{"title":403,"href":404},{"title":407,"href":408},{"id":2128,"title":1511,"href":486,"mode":2017,"children":2129},"dh-troubleshooting",[2130,2131],{"title":495,"href":496},{"title":491,"href":492},{"title":141,"href":142,"mode":2077,"children":2133},[],{"parent":440,"items":2135},[2136,3753,4592,4663,5049,5173,5791],{"id":2137,"title":449,"body":2138,"date":2001,"description":3748,"extension":2003,"meta":3749,"navigation":1960,"order":1744,"path":450,"seo":3751,"stem":451,"__hash__":3752},"content\u002Fdocs\u002Fdeveloper-hub\u002Fsnippets\u002Fjavascript\u002Fdata.md",{"type":1680,"value":2139,"toc":3735},[2140,2143,2147,2149,2152,2222,2225,2285,2288,2422,2430,2434,2436,2439,2512,2517,2521,2523,2530,2565,2568,2719,2729,2753,2757,2759,2762,2836,2846,2850,2852,2859,3319,3323,3325,3333,3338,3349,3430,3434,3439,3518,3522,3528,3630,3634,3639,3732],[1683,2141,2142],{},"Data snippets help you manipulate data in your automations so it matches the format the next step (or downstream system) expects.",[1710,2144,2146],{"id":2145},"get-the-date-and-time","Get the date and time",[1715,2148],{},[1683,2150,2151],{},"Get the date a number of days in the past:",[1732,2153,2155],{"className":1734,"code":2154,"language":1736,"meta":1737,"style":1737},"const yesterday = new Date();\nyesterday.setDate(yesterday.getDate() - 1); \u002F\u002F Change '1' to your desired number of days\nreturn [[yesterday.toLocaleDateString('en-US')]];\n",[1687,2156,2157,2174,2204],{"__ignoreMap":1737},[1741,2158,2159,2161,2164,2166,2168,2171],{"class":1743,"line":1744},[1741,2160,1929],{"class":1747},[1741,2162,2163],{"class":1764}," yesterday",[1741,2165,1935],{"class":1747},[1741,2167,1761],{"class":1747},[1741,2169,2170],{"class":1787}," Date",[1741,2172,2173],{"class":1751},"();\n",[1741,2175,2176,2179,2182,2185,2188,2191,2194,2197,2200],{"class":1743,"line":1781},[1741,2177,2178],{"class":1751},"yesterday.",[1741,2180,2181],{"class":1787},"setDate",[1741,2183,2184],{"class":1751},"(yesterday.",[1741,2186,2187],{"class":1787},"getDate",[1741,2189,2190],{"class":1751},"() ",[1741,2192,2193],{"class":1747},"-",[1741,2195,2196],{"class":1764}," 1",[1741,2198,2199],{"class":1751},"); ",[1741,2201,2203],{"class":2202},"sU953","\u002F\u002F Change '1' to your desired number of days\n",[1741,2205,2206,2208,2211,2214,2216,2219],{"class":1743,"line":1822},[1741,2207,1880],{"class":1747},[1741,2209,2210],{"class":1751}," [[yesterday.",[1741,2212,2213],{"class":1787},"toLocaleDateString",[1741,2215,1768],{"class":1751},[1741,2217,2218],{"class":1793},"'en-US'",[1741,2220,2221],{"class":1751},")]];\n",[1683,2223,2224],{},"Get the date a number of days in the future:",[1732,2226,2228],{"className":1734,"code":2227,"language":1736,"meta":1737,"style":1737},"const targetDate = new Date();\ntargetDate.setDate(targetDate.getDate() + 14); \u002F\u002F Change '14' to your desired number of days\nreturn [[targetDate.toLocaleDateString('en-US')]];\n",[1687,2229,2230,2245,2270],{"__ignoreMap":1737},[1741,2231,2232,2234,2237,2239,2241,2243],{"class":1743,"line":1744},[1741,2233,1929],{"class":1747},[1741,2235,2236],{"class":1764}," targetDate",[1741,2238,1935],{"class":1747},[1741,2240,1761],{"class":1747},[1741,2242,2170],{"class":1787},[1741,2244,2173],{"class":1751},[1741,2246,2247,2250,2252,2255,2257,2259,2262,2265,2267],{"class":1743,"line":1781},[1741,2248,2249],{"class":1751},"targetDate.",[1741,2251,2181],{"class":1787},[1741,2253,2254],{"class":1751},"(targetDate.",[1741,2256,2187],{"class":1787},[1741,2258,2190],{"class":1751},[1741,2260,2261],{"class":1747},"+",[1741,2263,2264],{"class":1764}," 14",[1741,2266,2199],{"class":1751},[1741,2268,2269],{"class":2202},"\u002F\u002F Change '14' to your desired number of days\n",[1741,2271,2272,2274,2277,2279,2281,2283],{"class":1743,"line":1822},[1741,2273,1880],{"class":1747},[1741,2275,2276],{"class":1751}," [[targetDate.",[1741,2278,2213],{"class":1787},[1741,2280,1768],{"class":1751},[1741,2282,2218],{"class":1793},[1741,2284,2221],{"class":1751},[1683,2286,2287],{},"Append a timestamp to scraped data:",[1732,2289,2291],{"className":1734,"code":2290,"language":1736,"meta":1737,"style":1737},"let data = [all-interaction-data]; \u002F\u002F Token from a previous scrape step\nlet dt = new Date().toLocaleString('en-GB', { timeZone: 'Europe\u002FLondon' });\n\nfor (var i = 0; i \u003C data.length; i++) {\n    data[i].push([dt]);\n}\n\nreturn data;\n",[1687,2292,2293,2318,2351,2355,2395,2406,2411,2415],{"__ignoreMap":1737},[1741,2294,2295,2297,2300,2302,2305,2307,2310,2312,2315],{"class":1743,"line":1744},[1741,2296,1748],{"class":1747},[1741,2298,2299],{"class":1751}," data ",[1741,2301,1755],{"class":1747},[1741,2303,2304],{"class":1751}," [all",[1741,2306,2193],{"class":1747},[1741,2308,2309],{"class":1751},"interaction",[1741,2311,2193],{"class":1747},[1741,2313,2314],{"class":1751},"data]; ",[1741,2316,2317],{"class":2202},"\u002F\u002F Token from a previous scrape step\n",[1741,2319,2320,2322,2325,2327,2329,2331,2334,2337,2339,2342,2345,2348],{"class":1743,"line":1781},[1741,2321,1748],{"class":1747},[1741,2323,2324],{"class":1751}," dt ",[1741,2326,1755],{"class":1747},[1741,2328,1761],{"class":1747},[1741,2330,2170],{"class":1787},[1741,2332,2333],{"class":1751},"().",[1741,2335,2336],{"class":1787},"toLocaleString",[1741,2338,1768],{"class":1751},[1741,2340,2341],{"class":1793},"'en-GB'",[1741,2343,2344],{"class":1751},", { timeZone: ",[1741,2346,2347],{"class":1793},"'Europe\u002FLondon'",[1741,2349,2350],{"class":1751}," });\n",[1741,2352,2353],{"class":1743,"line":1822},[1741,2354,1961],{"emptyLinePlaceholder":1960},[1741,2356,2357,2360,2363,2366,2369,2371,2374,2377,2380,2383,2386,2389,2392],{"class":1743,"line":1831},[1741,2358,2359],{"class":1747},"for",[1741,2361,2362],{"class":1751}," (",[1741,2364,2365],{"class":1747},"var",[1741,2367,2368],{"class":1751}," i ",[1741,2370,1755],{"class":1747},[1741,2372,2373],{"class":1764}," 0",[1741,2375,2376],{"class":1751},"; i ",[1741,2378,2379],{"class":1747},"\u003C",[1741,2381,2382],{"class":1751}," data.",[1741,2384,2385],{"class":1764},"length",[1741,2387,2388],{"class":1751},"; i",[1741,2390,2391],{"class":1747},"++",[1741,2393,2394],{"class":1751},") {\n",[1741,2396,2397,2400,2403],{"class":1743,"line":1840},[1741,2398,2399],{"class":1751},"    data[i].",[1741,2401,2402],{"class":1787},"push",[1741,2404,2405],{"class":1751},"([dt]);\n",[1741,2407,2408],{"class":1743,"line":1851},[1741,2409,2410],{"class":1751},"}\n",[1741,2412,2413],{"class":1743,"line":1859},[1741,2414,1961],{"emptyLinePlaceholder":1960},[1741,2416,2417,2419],{"class":1743,"line":1865},[1741,2418,1880],{"class":1747},[1741,2420,2421],{"class":1751}," data;\n",[1683,2423,2424,2425,1708],{},"For locale options, see ",[1701,2426,2429],{"href":2427,"rel":2428},"https:\u002F\u002Fdeveloper.mozilla.org\u002Fen-US\u002Fdocs\u002FWeb\u002FJavaScript\u002FReference\u002FGlobal_Objects\u002FIntl",[1895],"Mozilla's Intl reference",[1710,2431,2433],{"id":2432},"get-the-current-day-of-the-week","Get the current day of the week",[1715,2435],{},[1683,2437,2438],{},"Return the day of the week in the locale you pass in:",[1732,2440,2442],{"className":1734,"code":2441,"language":1736,"meta":1737,"style":1737},"const locale = 'en-US';\nconst options = { weekday: 'long' };\nconst now = new Date();\nreturn new Intl.DateTimeFormat(locale, options).format(now);\n",[1687,2443,2444,2458,2476,2491],{"__ignoreMap":1737},[1741,2445,2446,2448,2451,2453,2456],{"class":1743,"line":1744},[1741,2447,1929],{"class":1747},[1741,2449,2450],{"class":1764}," locale",[1741,2452,1935],{"class":1747},[1741,2454,2455],{"class":1793}," 'en-US'",[1741,2457,1941],{"class":1751},[1741,2459,2460,2462,2465,2467,2470,2473],{"class":1743,"line":1781},[1741,2461,1929],{"class":1747},[1741,2463,2464],{"class":1764}," options",[1741,2466,1935],{"class":1747},[1741,2468,2469],{"class":1751}," { weekday: ",[1741,2471,2472],{"class":1793},"'long'",[1741,2474,2475],{"class":1751}," };\n",[1741,2477,2478,2480,2483,2485,2487,2489],{"class":1743,"line":1822},[1741,2479,1929],{"class":1747},[1741,2481,2482],{"class":1764}," now",[1741,2484,1935],{"class":1747},[1741,2486,1761],{"class":1747},[1741,2488,2170],{"class":1787},[1741,2490,2173],{"class":1751},[1741,2492,2493,2495,2497,2500,2503,2506,2509],{"class":1743,"line":1831},[1741,2494,1880],{"class":1747},[1741,2496,1761],{"class":1747},[1741,2498,2499],{"class":1751}," Intl.",[1741,2501,2502],{"class":1787},"DateTimeFormat",[1741,2504,2505],{"class":1751},"(locale, options).",[1741,2507,2508],{"class":1787},"format",[1741,2510,2511],{"class":1751},"(now);\n",[1683,2513,2424,2514,1708],{},[1701,2515,2429],{"href":2427,"rel":2516},[1895],[1710,2518,2520],{"id":2519},"add-a-placeholder-for-blank-cells","Add a placeholder for blank cells",[1715,2522],{},[1683,2524,2525,2526,2529],{},"Blank cells in scraped data are silently dropped by the Google Sheets API, which can shift columns left when the data is written. For example, the array ",[1687,2527,2528],{},"[[\"1\", \"2\"], [\"\", \"4\"]]"," writes to a sheet like this:",[2531,2532,2533,2546],"table",{},[2534,2535,2536],"thead",{},[2537,2538,2539,2543],"tr",{},[2540,2541,2542],"th",{},"A",[2540,2544,2545],{},"B",[2547,2548,2549,2558],"tbody",{},[2537,2550,2551,2555],{},[2552,2553,2554],"td",{},"1",[2552,2556,2557],{},"2",[2537,2559,2560,2563],{},[2552,2561,2562],{},"4",[2552,2564],{},[1683,2566,2567],{},"To prevent the shift, replace blank cells with a placeholder before writing:",[1732,2569,2571],{"className":1734,"code":2570,"language":1736,"meta":1737,"style":1737},"var data = [scrape-data];\nconst placeholder = '-';\n\nfor (var i = 0; i \u003C data.length; i++) {\n    for (var j = 0; j \u003C data[i].length; j++) {\n        if (data[i][j] === '') {\n            data[i][j] = placeholder;\n        }\n    }\n}\n\nreturn data;\n",[1687,2572,2573,2589,2603,2607,2635,2668,2684,2694,2699,2703,2707,2712],{"__ignoreMap":1737},[1741,2574,2575,2577,2579,2581,2584,2586],{"class":1743,"line":1744},[1741,2576,2365],{"class":1747},[1741,2578,2299],{"class":1751},[1741,2580,1755],{"class":1747},[1741,2582,2583],{"class":1751}," [scrape",[1741,2585,2193],{"class":1747},[1741,2587,2588],{"class":1751},"data];\n",[1741,2590,2591,2593,2596,2598,2601],{"class":1743,"line":1781},[1741,2592,1929],{"class":1747},[1741,2594,2595],{"class":1764}," placeholder",[1741,2597,1935],{"class":1747},[1741,2599,2600],{"class":1793}," '-'",[1741,2602,1941],{"class":1751},[1741,2604,2605],{"class":1743,"line":1822},[1741,2606,1961],{"emptyLinePlaceholder":1960},[1741,2608,2609,2611,2613,2615,2617,2619,2621,2623,2625,2627,2629,2631,2633],{"class":1743,"line":1831},[1741,2610,2359],{"class":1747},[1741,2612,2362],{"class":1751},[1741,2614,2365],{"class":1747},[1741,2616,2368],{"class":1751},[1741,2618,1755],{"class":1747},[1741,2620,2373],{"class":1764},[1741,2622,2376],{"class":1751},[1741,2624,2379],{"class":1747},[1741,2626,2382],{"class":1751},[1741,2628,2385],{"class":1764},[1741,2630,2388],{"class":1751},[1741,2632,2391],{"class":1747},[1741,2634,2394],{"class":1751},[1741,2636,2637,2640,2642,2644,2647,2649,2651,2654,2656,2659,2661,2664,2666],{"class":1743,"line":1840},[1741,2638,2639],{"class":1747},"    for",[1741,2641,2362],{"class":1751},[1741,2643,2365],{"class":1747},[1741,2645,2646],{"class":1751}," j ",[1741,2648,1755],{"class":1747},[1741,2650,2373],{"class":1764},[1741,2652,2653],{"class":1751},"; j ",[1741,2655,2379],{"class":1747},[1741,2657,2658],{"class":1751}," data[i].",[1741,2660,2385],{"class":1764},[1741,2662,2663],{"class":1751},"; j",[1741,2665,2391],{"class":1747},[1741,2667,2394],{"class":1751},[1741,2669,2670,2673,2676,2679,2682],{"class":1743,"line":1851},[1741,2671,2672],{"class":1747},"        if",[1741,2674,2675],{"class":1751}," (data[i][j] ",[1741,2677,2678],{"class":1747},"===",[1741,2680,2681],{"class":1793}," ''",[1741,2683,2394],{"class":1751},[1741,2685,2686,2689,2691],{"class":1743,"line":1859},[1741,2687,2688],{"class":1751},"            data[i][j] ",[1741,2690,1755],{"class":1747},[1741,2692,2693],{"class":1751}," placeholder;\n",[1741,2695,2696],{"class":1743,"line":1865},[1741,2697,2698],{"class":1751},"        }\n",[1741,2700,2701],{"class":1743,"line":1871},[1741,2702,1862],{"class":1751},[1741,2704,2705],{"class":1743,"line":1877},[1741,2706,2410],{"class":1751},[1741,2708,2710],{"class":1743,"line":2709},11,[1741,2711,1961],{"emptyLinePlaceholder":1960},[1741,2713,2715,2717],{"class":1743,"line":2714},12,[1741,2716,1880],{"class":1747},[1741,2718,2421],{"class":1751},[1683,2720,2721,2722,2725,2726,2728],{},"Change the ",[1687,2723,2724],{},"placeholder"," value to suit your needs. The output goes into the ",[1687,2727,1889],{}," token, ready to write into a Google Sheet:",[2531,2730,2731,2739],{},[2534,2732,2733],{},[2537,2734,2735,2737],{},[2540,2736,2542],{},[2540,2738,2545],{},[2547,2740,2741,2747],{},[2537,2742,2743,2745],{},[2552,2744,2554],{},[2552,2746,2557],{},[2537,2748,2749,2751],{},[2552,2750,2193],{},[2552,2752,2562],{},[1710,2754,2756],{"id":2755},"add-a-constant-value-to-the-last-column","Add a constant value to the last column",[1715,2758],{},[1683,2760,2761],{},"Append a fixed value to every row of an array, useful for tagging exports with a category, source, or run timestamp:",[1732,2763,2765],{"className":1734,"code":2764,"language":1736,"meta":1737,"style":1737},"var scrapeData = [scrape-data];\nvar data = 'example';\n\nscrapeData.forEach((item) => item.push(data));\n\nreturn scrapeData;\n",[1687,2766,2767,2782,2795,2799,2825,2829],{"__ignoreMap":1737},[1741,2768,2769,2771,2774,2776,2778,2780],{"class":1743,"line":1744},[1741,2770,2365],{"class":1747},[1741,2772,2773],{"class":1751}," scrapeData ",[1741,2775,1755],{"class":1747},[1741,2777,2583],{"class":1751},[1741,2779,2193],{"class":1747},[1741,2781,2588],{"class":1751},[1741,2783,2784,2786,2788,2790,2793],{"class":1743,"line":1781},[1741,2785,2365],{"class":1747},[1741,2787,2299],{"class":1751},[1741,2789,1755],{"class":1747},[1741,2791,2792],{"class":1793}," 'example'",[1741,2794,1941],{"class":1751},[1741,2796,2797],{"class":1743,"line":1822},[1741,2798,1961],{"emptyLinePlaceholder":1960},[1741,2800,2801,2804,2807,2810,2813,2815,2817,2820,2822],{"class":1743,"line":1831},[1741,2802,2803],{"class":1751},"scrapeData.",[1741,2805,2806],{"class":1787},"forEach",[1741,2808,2809],{"class":1751},"((",[1741,2811,2812],{"class":1771},"item",[1741,2814,1814],{"class":1751},[1741,2816,1817],{"class":1747},[1741,2818,2819],{"class":1751}," item.",[1741,2821,2402],{"class":1787},[1741,2823,2824],{"class":1751},"(data));\n",[1741,2826,2827],{"class":1743,"line":1840},[1741,2828,1961],{"emptyLinePlaceholder":1960},[1741,2830,2831,2833],{"class":1743,"line":1851},[1741,2832,1880],{"class":1747},[1741,2834,2835],{"class":1751}," scrapeData;\n",[1683,2837,2838,2839,2842,2843,2845],{},"Replace ",[1687,2840,2841],{},"[scrape-data]"," with the token from the previous step, and ",[1687,2844,1811],{}," with the constant value to append.",[1710,2847,2849],{"id":2848},"create-and-download-a-csv-file","Create and download a CSV file",[1715,2851],{},[1683,2853,2854,2855,2858],{},"Build a CSV from automation data and write it to a local path. Read ",[1701,2856,2857],{"href":652},"export to CSV"," before using this; the built-in step is simpler for most use cases.",[1732,2860,2862],{"className":1734,"code":2861,"language":1736,"meta":1737,"style":1737},"\u002F\u002F Replace [google-sheet-data] with the data token containing the rows to export.\nconst data = [google-sheet-data];\n\nfunction arrayToCSV(array) {\n    return array.map(row =>\n        row.map(value => {\n            if (typeof value === 'string' && (value.includes(',') || value.includes('\"'))) {\n                return `\"${value.replace(\u002F\"\u002Fg, '\"\"')}\"`;\n            }\n            return value;\n        }).join(',')\n    ).join('\\n');\n}\n\nfunction writeCSVFile(directory, filename, csvData) {\n    const fullPath = `${directory}\u002F${filename}`;\n    fs.writeFile(fullPath, csvData, 'utf8', (err) => {\n        if (err) {\n            console.error('Error writing CSV file:', err);\n        } else {\n            console.log(`CSV file saved as ${fullPath}`);\n        }\n    });\n}\n\nconst csvData = arrayToCSV(data);\n\n\u002F\u002F Change to the desired download path. Use forward slashes.\nconst downloadDirectory = 'C:\u002FUsers\u002FAxiom\u002FDocuments\u002FAxiom';\n\n\u002F\u002F Optional: the name of the output file.\nconst filename = 'output.csv';\n\nwriteCSVFile(downloadDirectory, filename, csvData);\n",[1687,2863,2864,2869,2890,2894,2909,2928,2944,2994,3030,3035,3043,3058,3078,3083,3088,3113,3139,3163,3170,3187,3197,3217,3222,3228,3233,3238,3253,3258,3264,3279,3284,3290,3305,3310],{"__ignoreMap":1737},[1741,2865,2866],{"class":1743,"line":1744},[1741,2867,2868],{"class":2202},"\u002F\u002F Replace [google-sheet-data] with the data token containing the rows to export.\n",[1741,2870,2871,2873,2876,2878,2881,2883,2886,2888],{"class":1743,"line":1781},[1741,2872,1929],{"class":1747},[1741,2874,2875],{"class":1764}," data",[1741,2877,1935],{"class":1747},[1741,2879,2880],{"class":1751}," [google",[1741,2882,2193],{"class":1747},[1741,2884,2885],{"class":1751},"sheet",[1741,2887,2193],{"class":1747},[1741,2889,2588],{"class":1751},[1741,2891,2892],{"class":1743,"line":1822},[1741,2893,1961],{"emptyLinePlaceholder":1960},[1741,2895,2896,2899,2902,2904,2907],{"class":1743,"line":1831},[1741,2897,2898],{"class":1747},"function",[1741,2900,2901],{"class":1787}," arrayToCSV",[1741,2903,1768],{"class":1751},[1741,2905,2906],{"class":1771},"array",[1741,2908,2394],{"class":1751},[1741,2910,2911,2914,2917,2920,2922,2925],{"class":1743,"line":1840},[1741,2912,2913],{"class":1747},"    return",[1741,2915,2916],{"class":1751}," array.",[1741,2918,2919],{"class":1787},"map",[1741,2921,1768],{"class":1751},[1741,2923,2924],{"class":1771},"row",[1741,2926,2927],{"class":1747}," =>\n",[1741,2929,2930,2933,2935,2937,2940,2942],{"class":1743,"line":1851},[1741,2931,2932],{"class":1751},"        row.",[1741,2934,2919],{"class":1787},[1741,2936,1768],{"class":1751},[1741,2938,2939],{"class":1771},"value",[1741,2941,1775],{"class":1747},[1741,2943,1778],{"class":1751},[1741,2945,2946,2949,2951,2954,2957,2959,2962,2965,2968,2971,2973,2976,2978,2981,2984,2986,2988,2991],{"class":1743,"line":1859},[1741,2947,2948],{"class":1747},"            if",[1741,2950,2362],{"class":1751},[1741,2952,2953],{"class":1747},"typeof",[1741,2955,2956],{"class":1751}," value ",[1741,2958,2678],{"class":1747},[1741,2960,2961],{"class":1793}," 'string'",[1741,2963,2964],{"class":1747}," &&",[1741,2966,2967],{"class":1751}," (value.",[1741,2969,2970],{"class":1787},"includes",[1741,2972,1768],{"class":1751},[1741,2974,2975],{"class":1793},"','",[1741,2977,1814],{"class":1751},[1741,2979,2980],{"class":1747},"||",[1741,2982,2983],{"class":1751}," value.",[1741,2985,2970],{"class":1787},[1741,2987,1768],{"class":1751},[1741,2989,2990],{"class":1793},"'\"'",[1741,2992,2993],{"class":1751},"))) {\n",[1741,2995,2996,2999,3002,3004,3006,3009,3011,3014,3017,3019,3022,3025,3028],{"class":1743,"line":1865},[1741,2997,2998],{"class":1747},"                return",[1741,3000,3001],{"class":1793}," `\"${",[1741,3003,2939],{"class":1751},[1741,3005,1708],{"class":1793},[1741,3007,3008],{"class":1787},"replace",[1741,3010,1768],{"class":1793},[1741,3012,3013],{"class":1793},"\u002F\"\u002F",[1741,3015,3016],{"class":1747},"g",[1741,3018,1797],{"class":1793},[1741,3020,3021],{"class":1793},"'\"\"'",[1741,3023,3024],{"class":1793},")",[1741,3026,3027],{"class":1793},"}\"`",[1741,3029,1941],{"class":1751},[1741,3031,3032],{"class":1743,"line":1871},[1741,3033,3034],{"class":1751},"            }\n",[1741,3036,3037,3040],{"class":1743,"line":1877},[1741,3038,3039],{"class":1747},"            return",[1741,3041,3042],{"class":1751}," value;\n",[1741,3044,3045,3048,3051,3053,3055],{"class":1743,"line":2709},[1741,3046,3047],{"class":1751},"        }).",[1741,3049,3050],{"class":1787},"join",[1741,3052,1768],{"class":1751},[1741,3054,2975],{"class":1793},[1741,3056,3057],{"class":1751},")\n",[1741,3059,3060,3063,3065,3067,3070,3073,3075],{"class":1743,"line":2714},[1741,3061,3062],{"class":1751},"    ).",[1741,3064,3050],{"class":1787},[1741,3066,1768],{"class":1751},[1741,3068,3069],{"class":1793},"'",[1741,3071,3072],{"class":1747},"\\n",[1741,3074,3069],{"class":1793},[1741,3076,3077],{"class":1751},");\n",[1741,3079,3081],{"class":1743,"line":3080},13,[1741,3082,2410],{"class":1751},[1741,3084,3086],{"class":1743,"line":3085},14,[1741,3087,1961],{"emptyLinePlaceholder":1960},[1741,3089,3091,3093,3096,3098,3101,3103,3106,3108,3111],{"class":1743,"line":3090},15,[1741,3092,2898],{"class":1747},[1741,3094,3095],{"class":1787}," writeCSVFile",[1741,3097,1768],{"class":1751},[1741,3099,3100],{"class":1771},"directory",[1741,3102,1797],{"class":1751},[1741,3104,3105],{"class":1771},"filename",[1741,3107,1797],{"class":1751},[1741,3109,3110],{"class":1771},"csvData",[1741,3112,2394],{"class":1751},[1741,3114,3116,3119,3122,3124,3127,3129,3132,3134,3137],{"class":1743,"line":3115},16,[1741,3117,3118],{"class":1747},"    const",[1741,3120,3121],{"class":1764}," fullPath",[1741,3123,1935],{"class":1747},[1741,3125,3126],{"class":1793}," `${",[1741,3128,3100],{"class":1751},[1741,3130,3131],{"class":1793},"}\u002F${",[1741,3133,3105],{"class":1751},[1741,3135,3136],{"class":1793},"}`",[1741,3138,1941],{"class":1751},[1741,3140,3142,3145,3148,3151,3153,3155,3157,3159,3161],{"class":1743,"line":3141},17,[1741,3143,3144],{"class":1751},"    fs.",[1741,3146,3147],{"class":1787},"writeFile",[1741,3149,3150],{"class":1751},"(fullPath, csvData, ",[1741,3152,1800],{"class":1793},[1741,3154,1803],{"class":1751},[1741,3156,1806],{"class":1771},[1741,3158,1814],{"class":1751},[1741,3160,1817],{"class":1747},[1741,3162,1778],{"class":1751},[1741,3164,3166,3168],{"class":1743,"line":3165},18,[1741,3167,2672],{"class":1747},[1741,3169,1828],{"class":1751},[1741,3171,3173,3176,3179,3181,3184],{"class":1743,"line":3172},19,[1741,3174,3175],{"class":1751},"            console.",[1741,3177,3178],{"class":1787},"error",[1741,3180,1768],{"class":1751},[1741,3182,3183],{"class":1793},"'Error writing CSV file:'",[1741,3185,3186],{"class":1751},", err);\n",[1741,3188,3190,3193,3195],{"class":1743,"line":3189},20,[1741,3191,3192],{"class":1751},"        } ",[1741,3194,1846],{"class":1747},[1741,3196,1778],{"class":1751},[1741,3198,3200,3202,3205,3207,3210,3213,3215],{"class":1743,"line":3199},21,[1741,3201,3175],{"class":1751},[1741,3203,3204],{"class":1787},"log",[1741,3206,1768],{"class":1751},[1741,3208,3209],{"class":1793},"`CSV file saved as ${",[1741,3211,3212],{"class":1751},"fullPath",[1741,3214,3136],{"class":1793},[1741,3216,3077],{"class":1751},[1741,3218,3220],{"class":1743,"line":3219},22,[1741,3221,2698],{"class":1751},[1741,3223,3225],{"class":1743,"line":3224},23,[1741,3226,3227],{"class":1751},"    });\n",[1741,3229,3231],{"class":1743,"line":3230},24,[1741,3232,2410],{"class":1751},[1741,3234,3236],{"class":1743,"line":3235},25,[1741,3237,1961],{"emptyLinePlaceholder":1960},[1741,3239,3241,3243,3246,3248,3250],{"class":1743,"line":3240},26,[1741,3242,1929],{"class":1747},[1741,3244,3245],{"class":1764}," csvData",[1741,3247,1935],{"class":1747},[1741,3249,2901],{"class":1787},[1741,3251,3252],{"class":1751},"(data);\n",[1741,3254,3256],{"class":1743,"line":3255},27,[1741,3257,1961],{"emptyLinePlaceholder":1960},[1741,3259,3261],{"class":1743,"line":3260},28,[1741,3262,3263],{"class":2202},"\u002F\u002F Change to the desired download path. Use forward slashes.\n",[1741,3265,3267,3269,3272,3274,3277],{"class":1743,"line":3266},29,[1741,3268,1929],{"class":1747},[1741,3270,3271],{"class":1764}," downloadDirectory",[1741,3273,1935],{"class":1747},[1741,3275,3276],{"class":1793}," 'C:\u002FUsers\u002FAxiom\u002FDocuments\u002FAxiom'",[1741,3278,1941],{"class":1751},[1741,3280,3282],{"class":1743,"line":3281},30,[1741,3283,1961],{"emptyLinePlaceholder":1960},[1741,3285,3287],{"class":1743,"line":3286},31,[1741,3288,3289],{"class":2202},"\u002F\u002F Optional: the name of the output file.\n",[1741,3291,3293,3295,3298,3300,3303],{"class":1743,"line":3292},32,[1741,3294,1929],{"class":1747},[1741,3296,3297],{"class":1764}," filename",[1741,3299,1935],{"class":1747},[1741,3301,3302],{"class":1793}," 'output.csv'",[1741,3304,1941],{"class":1751},[1741,3306,3308],{"class":1743,"line":3307},33,[1741,3309,1961],{"emptyLinePlaceholder":1960},[1741,3311,3313,3316],{"class":1743,"line":3312},34,[1741,3314,3315],{"class":1787},"writeCSVFile",[1741,3317,3318],{"class":1751},"(downloadDirectory, filename, csvData);\n",[1710,3320,3322],{"id":3321},"manipulate-data-with-regex","Manipulate data with regex",[1715,3324],{},[1683,3326,3327,3328,3332],{},"Regular expressions match, search, and transform text. Each example below assumes the snippet is inside a ",[1701,3329,3330],{"href":1182},[1692,3331,716],{}," step so the script runs once per row, but you can also build the loop into the snippet itself.",[3334,3335,3337],"h3",{"id":3336},"extract-data","Extract data",[1683,3339,3340,3341,3344,3345,3348],{},"Use ",[1687,3342,3343],{},"match"," to pull out the bit you want. The example pulls a number out of a string like ",[1687,3346,3347],{},"115 Records",":",[1732,3350,3352],{"className":1734,"code":3351,"language":1736,"meta":1737,"style":1737},"\u002F\u002F Data scraped from a page, e.g. \"115 Records\".\nconst data = '[scrape-data?all&0]';\n\n\u002F\u002F Extract the digits.\nconst records = data.match(\u002F\\d+\u002F)[0];\n\n\u002F\u002F Return for the 'code-data' token.\nreturn records;\n",[1687,3353,3354,3359,3372,3376,3381,3414,3418,3423],{"__ignoreMap":1737},[1741,3355,3356],{"class":1743,"line":1744},[1741,3357,3358],{"class":2202},"\u002F\u002F Data scraped from a page, e.g. \"115 Records\".\n",[1741,3360,3361,3363,3365,3367,3370],{"class":1743,"line":1781},[1741,3362,1929],{"class":1747},[1741,3364,2875],{"class":1764},[1741,3366,1935],{"class":1747},[1741,3368,3369],{"class":1793}," '[scrape-data?all&0]'",[1741,3371,1941],{"class":1751},[1741,3373,3374],{"class":1743,"line":1822},[1741,3375,1961],{"emptyLinePlaceholder":1960},[1741,3377,3378],{"class":1743,"line":1831},[1741,3379,3380],{"class":2202},"\u002F\u002F Extract the digits.\n",[1741,3382,3383,3385,3388,3390,3392,3394,3396,3398,3401,3403,3405,3408,3411],{"class":1743,"line":1840},[1741,3384,1929],{"class":1747},[1741,3386,3387],{"class":1764}," records",[1741,3389,1935],{"class":1747},[1741,3391,2382],{"class":1751},[1741,3393,3343],{"class":1787},[1741,3395,1768],{"class":1751},[1741,3397,1624],{"class":1793},[1741,3399,3400],{"class":1764},"\\d",[1741,3402,2261],{"class":1747},[1741,3404,1624],{"class":1793},[1741,3406,3407],{"class":1751},")[",[1741,3409,3410],{"class":1764},"0",[1741,3412,3413],{"class":1751},"];\n",[1741,3415,3416],{"class":1743,"line":1851},[1741,3417,1961],{"emptyLinePlaceholder":1960},[1741,3419,3420],{"class":1743,"line":1859},[1741,3421,3422],{"class":2202},"\u002F\u002F Return for the 'code-data' token.\n",[1741,3424,3425,3427],{"class":1743,"line":1865},[1741,3426,1880],{"class":1747},[1741,3428,3429],{"class":1751}," records;\n",[3334,3431,3433],{"id":3432},"replace-data","Replace data",[1683,3435,3340,3436,3438],{},[1687,3437,3008],{}," to swap one substring for another. The example replaces an email domain:",[1732,3440,3442],{"className":1734,"code":3441,"language":1736,"meta":1737,"style":1737},"\u002F\u002F Data scraped from a page, e.g. \"axiom@example.com\".\nconst data = '[scrape-data?all&0]';\n\n\u002F\u002F Replace the domain.\nconst newEmail = data.replace(\u002F@[\\w.-]+$\u002F, '@newdomain.com');\n\n\u002F\u002F Return for the 'code-data' token.\nreturn newEmail;\n",[1687,3443,3444,3449,3461,3465,3470,3503,3507,3511],{"__ignoreMap":1737},[1741,3445,3446],{"class":1743,"line":1744},[1741,3447,3448],{"class":2202},"\u002F\u002F Data scraped from a page, e.g. \"axiom@example.com\".\n",[1741,3450,3451,3453,3455,3457,3459],{"class":1743,"line":1781},[1741,3452,1929],{"class":1747},[1741,3454,2875],{"class":1764},[1741,3456,1935],{"class":1747},[1741,3458,3369],{"class":1793},[1741,3460,1941],{"class":1751},[1741,3462,3463],{"class":1743,"line":1822},[1741,3464,1961],{"emptyLinePlaceholder":1960},[1741,3466,3467],{"class":1743,"line":1831},[1741,3468,3469],{"class":2202},"\u002F\u002F Replace the domain.\n",[1741,3471,3472,3474,3477,3479,3481,3483,3485,3488,3491,3494,3496,3498,3501],{"class":1743,"line":1840},[1741,3473,1929],{"class":1747},[1741,3475,3476],{"class":1764}," newEmail",[1741,3478,1935],{"class":1747},[1741,3480,2382],{"class":1751},[1741,3482,3008],{"class":1787},[1741,3484,1768],{"class":1751},[1741,3486,3487],{"class":1793},"\u002F@",[1741,3489,3490],{"class":1764},"[\\w.-]",[1741,3492,3493],{"class":1747},"+$",[1741,3495,1624],{"class":1793},[1741,3497,1797],{"class":1751},[1741,3499,3500],{"class":1793},"'@newdomain.com'",[1741,3502,3077],{"class":1751},[1741,3504,3505],{"class":1743,"line":1851},[1741,3506,1961],{"emptyLinePlaceholder":1960},[1741,3508,3509],{"class":1743,"line":1859},[1741,3510,3422],{"class":2202},[1741,3512,3513,3515],{"class":1743,"line":1865},[1741,3514,1880],{"class":1747},[1741,3516,3517],{"class":1751}," newEmail;\n",[3334,3519,3521],{"id":3520},"validate-data","Validate data",[1683,3523,3340,3524,3527],{},[1687,3525,3526],{},"test"," to check whether a value matches a pattern. The example checks for a valid email:",[1732,3529,3531],{"className":1734,"code":3530,"language":1736,"meta":1737,"style":1737},"\u002F\u002F Data scraped from a page, e.g. \"example@example.com\".\nconst data = '[scrape-data?all&0]';\n\n\u002F\u002F Check if the email is valid.\nconst isValid = \u002F^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$\u002F.test(data);\n\n\u002F\u002F Return for the 'code-data' token.\nreturn isValid;\n",[1687,3532,3533,3538,3550,3554,3559,3615,3619,3623],{"__ignoreMap":1737},[1741,3534,3535],{"class":1743,"line":1744},[1741,3536,3537],{"class":2202},"\u002F\u002F Data scraped from a page, e.g. \"example@example.com\".\n",[1741,3539,3540,3542,3544,3546,3548],{"class":1743,"line":1781},[1741,3541,1929],{"class":1747},[1741,3543,2875],{"class":1764},[1741,3545,1935],{"class":1747},[1741,3547,3369],{"class":1793},[1741,3549,1941],{"class":1751},[1741,3551,3552],{"class":1743,"line":1822},[1741,3553,1961],{"emptyLinePlaceholder":1960},[1741,3555,3556],{"class":1743,"line":1831},[1741,3557,3558],{"class":2202},"\u002F\u002F Check if the email is valid.\n",[1741,3560,3561,3563,3566,3568,3571,3574,3577,3579,3582,3584,3587,3589,3591,3593,3595,3599,3601,3603,3605,3607,3609,3611,3613],{"class":1743,"line":1840},[1741,3562,1929],{"class":1747},[1741,3564,3565],{"class":1764}," isValid",[1741,3567,1935],{"class":1747},[1741,3569,3570],{"class":1793}," \u002F",[1741,3572,3573],{"class":1747},"^",[1741,3575,3576],{"class":1764},"[",[1741,3578,3573],{"class":1747},[1741,3580,3581],{"class":1764},"\\s@]",[1741,3583,2261],{"class":1747},[1741,3585,3586],{"class":1793},"@",[1741,3588,3576],{"class":1764},[1741,3590,3573],{"class":1747},[1741,3592,3581],{"class":1764},[1741,3594,2261],{"class":1747},[1741,3596,3598],{"class":3597},"sa8KN","\\.",[1741,3600,3576],{"class":1764},[1741,3602,3573],{"class":1747},[1741,3604,3581],{"class":1764},[1741,3606,3493],{"class":1747},[1741,3608,1624],{"class":1793},[1741,3610,1708],{"class":1751},[1741,3612,3526],{"class":1787},[1741,3614,3252],{"class":1751},[1741,3616,3617],{"class":1743,"line":1851},[1741,3618,1961],{"emptyLinePlaceholder":1960},[1741,3620,3621],{"class":1743,"line":1859},[1741,3622,3422],{"class":2202},[1741,3624,3625,3627],{"class":1743,"line":1865},[1741,3626,1880],{"class":1747},[1741,3628,3629],{"class":1751}," isValid;\n",[3334,3631,3633],{"id":3632},"reformat-data","Reformat data",[1683,3635,3340,3636,3638],{},[1687,3637,3008],{}," with capture groups to restructure a value. The example reformats a date:",[1732,3640,3642],{"className":1734,"code":3641,"language":1736,"meta":1737,"style":1737},"\u002F\u002F Data scraped from a page, e.g. \"01-02-2025\".\nconst data = '[scrape-data?all&0]';\n\n\u002F\u002F Reformat to \"01\u002F02\u002F2025\".\nconst formatted = data.replace(\u002F(\\d{4})-(\\d{2})-(\\d{2})\u002F, '$1\u002F$2\u002F$3');\n\n\u002F\u002F Return for the 'code-data' token.\nreturn formatted;\n",[1687,3643,3644,3649,3661,3665,3670,3717,3721,3725],{"__ignoreMap":1737},[1741,3645,3646],{"class":1743,"line":1744},[1741,3647,3648],{"class":2202},"\u002F\u002F Data scraped from a page, e.g. \"01-02-2025\".\n",[1741,3650,3651,3653,3655,3657,3659],{"class":1743,"line":1781},[1741,3652,1929],{"class":1747},[1741,3654,2875],{"class":1764},[1741,3656,1935],{"class":1747},[1741,3658,3369],{"class":1793},[1741,3660,1941],{"class":1751},[1741,3662,3663],{"class":1743,"line":1822},[1741,3664,1961],{"emptyLinePlaceholder":1960},[1741,3666,3667],{"class":1743,"line":1831},[1741,3668,3669],{"class":2202},"\u002F\u002F Reformat to \"01\u002F02\u002F2025\".\n",[1741,3671,3672,3674,3677,3679,3681,3683,3685,3688,3690,3693,3696,3698,3701,3703,3705,3707,3710,3712,3715],{"class":1743,"line":1840},[1741,3673,1929],{"class":1747},[1741,3675,3676],{"class":1764}," formatted",[1741,3678,1935],{"class":1747},[1741,3680,2382],{"class":1751},[1741,3682,3008],{"class":1787},[1741,3684,1768],{"class":1751},[1741,3686,3687],{"class":1793},"\u002F(",[1741,3689,3400],{"class":1764},[1741,3691,3692],{"class":1747},"{4}",[1741,3694,3695],{"class":1793},")-(",[1741,3697,3400],{"class":1764},[1741,3699,3700],{"class":1747},"{2}",[1741,3702,3695],{"class":1793},[1741,3704,3400],{"class":1764},[1741,3706,3700],{"class":1747},[1741,3708,3709],{"class":1793},")\u002F",[1741,3711,1797],{"class":1751},[1741,3713,3714],{"class":1793},"'$1\u002F$2\u002F$3'",[1741,3716,3077],{"class":1751},[1741,3718,3719],{"class":1743,"line":1851},[1741,3720,1961],{"emptyLinePlaceholder":1960},[1741,3722,3723],{"class":1743,"line":1859},[1741,3724,3422],{"class":2202},[1741,3726,3727,3729],{"class":1743,"line":1865},[1741,3728,1880],{"class":1747},[1741,3730,3731],{"class":1751}," formatted;\n",[1994,3733,3734],{},"html pre.shiki code .sjeE4, html code.shiki .sjeE4{--shiki-default:#CF222E;--shiki-dark:#FF7B72}html pre.shiki code .sHrmB, html code.shiki .sHrmB{--shiki-default:#0550AE;--shiki-dark:#79C0FF}html pre.shiki code .sbjLL, html code.shiki .sbjLL{--shiki-default:#8250DF;--shiki-dark:#D2A8FF}html pre.shiki code .s4rv2, html code.shiki .s4rv2{--shiki-default:#1F2328;--shiki-dark:#E6EDF3}html pre.shiki code .sU953, html code.shiki .sU953{--shiki-default:#6E7781;--shiki-dark:#8B949E}html pre.shiki code .sSVrQ, html code.shiki .sSVrQ{--shiki-default:#0A3069;--shiki-dark:#A5D6FF}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sTDnQ, html code.shiki .sTDnQ{--shiki-default:#953800;--shiki-dark:#FFA657}html pre.shiki code .sa8KN, html code.shiki .sa8KN{--shiki-default:#116329;--shiki-default-font-weight:bold;--shiki-dark:#7EE787;--shiki-dark-font-weight:bold}",{"title":1737,"searchDepth":1822,"depth":1822,"links":3736},[3737,3738,3739,3740,3741,3742],{"id":2145,"depth":1781,"text":2146},{"id":2432,"depth":1781,"text":2433},{"id":2519,"depth":1781,"text":2520},{"id":2755,"depth":1781,"text":2756},{"id":2848,"depth":1781,"text":2849},{"id":3321,"depth":1781,"text":3322,"children":3743},[3744,3745,3746,3747],{"id":3336,"depth":1822,"text":3337},{"id":3432,"depth":1822,"text":3433},{"id":3520,"depth":1822,"text":3521},{"id":3632,"depth":1822,"text":3633},"JavaScript snippets for manipulating data in axiom.ai automations, including dates, timestamps, constants, CSV exports, and regex transformations.",{"metaTitle":3750},"JavaScript snippets for working with data in automations",{"title":449,"description":3748},"ag8dPAzCuHYX6ovg_YWcfxmhjuYfwFlHqL9JYBda07o",{"id":3754,"title":453,"body":3755,"date":2001,"description":4587,"extension":2003,"meta":4588,"navigation":1960,"order":1781,"path":454,"seo":4590,"stem":455,"__hash__":4591},"content\u002Fdocs\u002Fdeveloper-hub\u002Fsnippets\u002Fjavascript\u002Finteraction.md",{"type":1680,"value":3756,"toc":4580},[3757,3765,3769,3771,3774,3949,3953,3955,3962,4165,4184,4188,4190,4193,4221,4245,4249,4251,4254,4356,4360,4362,4365,4422,4425,4570,4577],[1683,3758,3759,3760,3764],{},"Interaction snippets drive elements on the current page. Most of these are covered by the ",[1701,3761,3763],{"href":3762},"\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps#interact","Interact step category",", but JavaScript is useful when the no-code steps can't reach what you need.",[1710,3766,3768],{"id":3767},"click-a-button-by-text","Click a button by text",[1715,3770],{},[1683,3772,3773],{},"Find a button by its visible text, click it, wait 5 seconds, and repeat until the button is no longer on the page. Useful for \"Load more\" buttons that pull in more results each click:",[1732,3775,3777],{"className":1734,"code":3776,"language":1736,"meta":1737,"style":1737},"const delay = ms => new Promise(res => setTimeout(res, ms));\n\nlet element = document.evaluate(\n    \"\u002F\u002Fbutton[contains(., 'Load more')]\",\n    document,\n    null,\n    XPathResult.FIRST_ORDERED_NODE_TYPE\n).singleNodeValue;\n\nwhile (element) {\n    element.click();\n    await delay(5000);\n    element = document.evaluate(\n        \"\u002F\u002Fbutton[contains(., 'Load more')]\",\n        document,\n        null,\n        XPathResult.FIRST_ORDERED_NODE_TYPE\n    ).singleNodeValue;\n}\n",[1687,3778,3779,3810,3814,3832,3840,3845,3852,3860,3865,3869,3877,3887,3901,3914,3921,3926,3933,3940,3945],{"__ignoreMap":1737},[1741,3780,3781,3783,3786,3788,3791,3793,3795,3797,3799,3802,3804,3807],{"class":1743,"line":1744},[1741,3782,1929],{"class":1747},[1741,3784,3785],{"class":1787}," delay",[1741,3787,1935],{"class":1747},[1741,3789,3790],{"class":1771}," ms",[1741,3792,1775],{"class":1747},[1741,3794,1761],{"class":1747},[1741,3796,1765],{"class":1764},[1741,3798,1768],{"class":1751},[1741,3800,3801],{"class":1771},"res",[1741,3803,1775],{"class":1747},[1741,3805,3806],{"class":1787}," setTimeout",[1741,3808,3809],{"class":1751},"(res, ms));\n",[1741,3811,3812],{"class":1743,"line":1781},[1741,3813,1961],{"emptyLinePlaceholder":1960},[1741,3815,3816,3818,3821,3823,3826,3829],{"class":1743,"line":1822},[1741,3817,1748],{"class":1747},[1741,3819,3820],{"class":1751}," element ",[1741,3822,1755],{"class":1747},[1741,3824,3825],{"class":1751}," document.",[1741,3827,3828],{"class":1787},"evaluate",[1741,3830,3831],{"class":1751},"(\n",[1741,3833,3834,3837],{"class":1743,"line":1831},[1741,3835,3836],{"class":1793},"    \"\u002F\u002Fbutton[contains(., 'Load more')]\"",[1741,3838,3839],{"class":1751},",\n",[1741,3841,3842],{"class":1743,"line":1840},[1741,3843,3844],{"class":1751},"    document,\n",[1741,3846,3847,3850],{"class":1743,"line":1851},[1741,3848,3849],{"class":1764},"    null",[1741,3851,3839],{"class":1751},[1741,3853,3854,3857],{"class":1743,"line":1859},[1741,3855,3856],{"class":1751},"    XPathResult.",[1741,3858,3859],{"class":1764},"FIRST_ORDERED_NODE_TYPE\n",[1741,3861,3862],{"class":1743,"line":1865},[1741,3863,3864],{"class":1751},").singleNodeValue;\n",[1741,3866,3867],{"class":1743,"line":1871},[1741,3868,1961],{"emptyLinePlaceholder":1960},[1741,3870,3871,3874],{"class":1743,"line":1877},[1741,3872,3873],{"class":1747},"while",[1741,3875,3876],{"class":1751}," (element) {\n",[1741,3878,3879,3882,3885],{"class":1743,"line":2709},[1741,3880,3881],{"class":1751},"    element.",[1741,3883,3884],{"class":1787},"click",[1741,3886,2173],{"class":1751},[1741,3888,3889,3892,3894,3896,3899],{"class":1743,"line":2714},[1741,3890,3891],{"class":1747},"    await",[1741,3893,3785],{"class":1787},[1741,3895,1768],{"class":1751},[1741,3897,3898],{"class":1764},"5000",[1741,3900,3077],{"class":1751},[1741,3902,3903,3906,3908,3910,3912],{"class":1743,"line":3080},[1741,3904,3905],{"class":1751},"    element ",[1741,3907,1755],{"class":1747},[1741,3909,3825],{"class":1751},[1741,3911,3828],{"class":1787},[1741,3913,3831],{"class":1751},[1741,3915,3916,3919],{"class":1743,"line":3085},[1741,3917,3918],{"class":1793},"        \"\u002F\u002Fbutton[contains(., 'Load more')]\"",[1741,3920,3839],{"class":1751},[1741,3922,3923],{"class":1743,"line":3090},[1741,3924,3925],{"class":1751},"        document,\n",[1741,3927,3928,3931],{"class":1743,"line":3115},[1741,3929,3930],{"class":1764},"        null",[1741,3932,3839],{"class":1751},[1741,3934,3935,3938],{"class":1743,"line":3141},[1741,3936,3937],{"class":1751},"        XPathResult.",[1741,3939,3859],{"class":1764},[1741,3941,3942],{"class":1743,"line":3165},[1741,3943,3944],{"class":1751},"    ).singleNodeValue;\n",[1741,3946,3947],{"class":1743,"line":3172},[1741,3948,2410],{"class":1751},[1710,3950,3952],{"id":3951},"interact-with-a-dropdown-using-arrow-keys","Interact with a dropdown using arrow keys",[1715,3954],{},[1683,3956,3957,3958,3961],{},"For dropdowns the ",[1692,3959,3960],{},"Select option"," step can't drive directly, simulate arrow-key presses instead. Open the dropdown first (with a click or by tabbing into it), then arrow down the right number of times:",[1732,3963,3965],{"className":1734,"code":3964,"language":1736,"meta":1737,"style":1737},"\u002F\u002F First either 1) click to open the difficult select-list,\n\u002F\u002F or 2) use the Tab key to focus the element.\nlet marital = 'Single';\n\nasync function arrowDownTimes(times) {\n    for (var i = 0; i \u003C times; i++) {\n        await page.keyboard.press('ArrowDown');\n        await page.waitForTimeout(250);\n    }\n}\n\nswitch (marital) {\n    case 'Married':\n        break;\n    case 'Single':\n        arrowDownTimes(1);\n        break;\n    case 'Divorced':\n        arrowDownTimes(2);\n        break;\n}\n",[1687,3966,3967,3972,3977,3991,3995,4013,4038,4056,4073,4077,4081,4085,4093,4104,4111,4119,4130,4136,4145,4155,4161],{"__ignoreMap":1737},[1741,3968,3969],{"class":1743,"line":1744},[1741,3970,3971],{"class":2202},"\u002F\u002F First either 1) click to open the difficult select-list,\n",[1741,3973,3974],{"class":1743,"line":1781},[1741,3975,3976],{"class":2202},"\u002F\u002F or 2) use the Tab key to focus the element.\n",[1741,3978,3979,3981,3984,3986,3989],{"class":1743,"line":1822},[1741,3980,1748],{"class":1747},[1741,3982,3983],{"class":1751}," marital ",[1741,3985,1755],{"class":1747},[1741,3987,3988],{"class":1793}," 'Single'",[1741,3990,1941],{"class":1751},[1741,3992,3993],{"class":1743,"line":1831},[1741,3994,1961],{"emptyLinePlaceholder":1960},[1741,3996,3997,4000,4003,4006,4008,4011],{"class":1743,"line":1840},[1741,3998,3999],{"class":1747},"async",[1741,4001,4002],{"class":1747}," function",[1741,4004,4005],{"class":1787}," arrowDownTimes",[1741,4007,1768],{"class":1751},[1741,4009,4010],{"class":1771},"times",[1741,4012,2394],{"class":1751},[1741,4014,4015,4017,4019,4021,4023,4025,4027,4029,4031,4034,4036],{"class":1743,"line":1851},[1741,4016,2639],{"class":1747},[1741,4018,2362],{"class":1751},[1741,4020,2365],{"class":1747},[1741,4022,2368],{"class":1751},[1741,4024,1755],{"class":1747},[1741,4026,2373],{"class":1764},[1741,4028,2376],{"class":1751},[1741,4030,2379],{"class":1747},[1741,4032,4033],{"class":1751}," times; i",[1741,4035,2391],{"class":1747},[1741,4037,2394],{"class":1751},[1741,4039,4040,4043,4046,4049,4051,4054],{"class":1743,"line":1859},[1741,4041,4042],{"class":1747},"        await",[1741,4044,4045],{"class":1751}," page.keyboard.",[1741,4047,4048],{"class":1787},"press",[1741,4050,1768],{"class":1751},[1741,4052,4053],{"class":1793},"'ArrowDown'",[1741,4055,3077],{"class":1751},[1741,4057,4058,4060,4063,4066,4068,4071],{"class":1743,"line":1865},[1741,4059,4042],{"class":1747},[1741,4061,4062],{"class":1751}," page.",[1741,4064,4065],{"class":1787},"waitForTimeout",[1741,4067,1768],{"class":1751},[1741,4069,4070],{"class":1764},"250",[1741,4072,3077],{"class":1751},[1741,4074,4075],{"class":1743,"line":1871},[1741,4076,1862],{"class":1751},[1741,4078,4079],{"class":1743,"line":1877},[1741,4080,2410],{"class":1751},[1741,4082,4083],{"class":1743,"line":2709},[1741,4084,1961],{"emptyLinePlaceholder":1960},[1741,4086,4087,4090],{"class":1743,"line":2714},[1741,4088,4089],{"class":1747},"switch",[1741,4091,4092],{"class":1751}," (marital) {\n",[1741,4094,4095,4098,4101],{"class":1743,"line":3080},[1741,4096,4097],{"class":1747},"    case",[1741,4099,4100],{"class":1793}," 'Married'",[1741,4102,4103],{"class":1751},":\n",[1741,4105,4106,4109],{"class":1743,"line":3085},[1741,4107,4108],{"class":1747},"        break",[1741,4110,1941],{"class":1751},[1741,4112,4113,4115,4117],{"class":1743,"line":3090},[1741,4114,4097],{"class":1747},[1741,4116,3988],{"class":1793},[1741,4118,4103],{"class":1751},[1741,4120,4121,4124,4126,4128],{"class":1743,"line":3115},[1741,4122,4123],{"class":1787},"        arrowDownTimes",[1741,4125,1768],{"class":1751},[1741,4127,2554],{"class":1764},[1741,4129,3077],{"class":1751},[1741,4131,4132,4134],{"class":1743,"line":3141},[1741,4133,4108],{"class":1747},[1741,4135,1941],{"class":1751},[1741,4137,4138,4140,4143],{"class":1743,"line":3165},[1741,4139,4097],{"class":1747},[1741,4141,4142],{"class":1793}," 'Divorced'",[1741,4144,4103],{"class":1751},[1741,4146,4147,4149,4151,4153],{"class":1743,"line":3172},[1741,4148,4123],{"class":1787},[1741,4150,1768],{"class":1751},[1741,4152,2557],{"class":1764},[1741,4154,3077],{"class":1751},[1741,4156,4157,4159],{"class":1743,"line":3189},[1741,4158,4108],{"class":1747},[1741,4160,1941],{"class":1751},[1741,4162,4163],{"class":1743,"line":3199},[1741,4164,2410],{"class":1751},[4166,4167,4168],"blockquote",{},[1683,4169,4170,4173,4174,4177,4178,4180,4181,4183],{},[1692,4171,4172],{},"Note:"," This snippet uses the ",[1701,4175,4176],{"href":855},"Puppeteer API",", which means it only runs when ",[1687,4179,1689],{}," is enabled on the ",[1692,4182,1694],{}," step.",[1710,4185,4187],{"id":4186},"enter-text-from-a-data-token","Enter text from a data token",[1715,4189],{},[1683,4191,4192],{},"Set the value of an input directly from a data token:",[1732,4194,4196],{"className":1734,"code":4195,"language":1736,"meta":1737,"style":1737},"document.querySelector('input[placeholder=\"Search the BBC\"]').value = '[custom-data]';\n",[1687,4197,4198],{"__ignoreMap":1737},[1741,4199,4200,4203,4206,4208,4211,4214,4216,4219],{"class":1743,"line":1744},[1741,4201,4202],{"class":1751},"document.",[1741,4204,4205],{"class":1787},"querySelector",[1741,4207,1768],{"class":1751},[1741,4209,4210],{"class":1793},"'input[placeholder=\"Search the BBC\"]'",[1741,4212,4213],{"class":1751},").value ",[1741,4215,1755],{"class":1747},[1741,4217,4218],{"class":1793}," '[custom-data]'",[1741,4220,1941],{"class":1751},[4166,4222,4223],{},[1683,4224,4225,4227,4228,4231,4232,4235,4236,4239,4240,4244],{},[1692,4226,4172],{}," Setting ",[1687,4229,4230],{},".value"," directly bypasses any input event listeners on the field. If the page relies on ",[1687,4233,4234],{},"input"," or ",[1687,4237,4238],{},"change"," events firing (most modern frameworks do), use the ",[1701,4241,4242],{"href":1107},[1692,4243,311],{}," step or dispatch the events manually after setting the value.",[1710,4246,4248],{"id":4247},"reach-into-the-shadow-dom","Reach into the Shadow DOM",[1715,4250],{},[1683,4252,4253],{},"Some pages attach a Shadow DOM tree to an element, hiding the internals from regular JavaScript and CSS. The selector tool can't reach inside Shadow DOM, but you can drill in manually:",[1732,4255,4257],{"className":1734,"code":4256,"language":1736,"meta":1737,"style":1737},"const shadowHost = document.querySelector('\u003CSELECTOR>');\n\nif (shadowHost) {\n    const shadowRoot = shadowHost.shadowRoot;\n\n    \u002F\u002F Locate the element inside the shadow root that you want to interact with.\n    const innerElm = shadowRoot.querySelector('\u003CSELECTOR>');\n\n    if (innerElm) {\n        \u002F\u002F Example: innerElm.click();\n    }\n}\n",[1687,4258,4259,4279,4283,4291,4303,4307,4312,4332,4336,4343,4348,4352],{"__ignoreMap":1737},[1741,4260,4261,4263,4266,4268,4270,4272,4274,4277],{"class":1743,"line":1744},[1741,4262,1929],{"class":1747},[1741,4264,4265],{"class":1764}," shadowHost",[1741,4267,1935],{"class":1747},[1741,4269,3825],{"class":1751},[1741,4271,4205],{"class":1787},[1741,4273,1768],{"class":1751},[1741,4275,4276],{"class":1793},"'\u003CSELECTOR>'",[1741,4278,3077],{"class":1751},[1741,4280,4281],{"class":1743,"line":1781},[1741,4282,1961],{"emptyLinePlaceholder":1960},[1741,4284,4285,4288],{"class":1743,"line":1822},[1741,4286,4287],{"class":1747},"if",[1741,4289,4290],{"class":1751}," (shadowHost) {\n",[1741,4292,4293,4295,4298,4300],{"class":1743,"line":1831},[1741,4294,3118],{"class":1747},[1741,4296,4297],{"class":1764}," shadowRoot",[1741,4299,1935],{"class":1747},[1741,4301,4302],{"class":1751}," shadowHost.shadowRoot;\n",[1741,4304,4305],{"class":1743,"line":1840},[1741,4306,1961],{"emptyLinePlaceholder":1960},[1741,4308,4309],{"class":1743,"line":1851},[1741,4310,4311],{"class":2202},"    \u002F\u002F Locate the element inside the shadow root that you want to interact with.\n",[1741,4313,4314,4316,4319,4321,4324,4326,4328,4330],{"class":1743,"line":1859},[1741,4315,3118],{"class":1747},[1741,4317,4318],{"class":1764}," innerElm",[1741,4320,1935],{"class":1747},[1741,4322,4323],{"class":1751}," shadowRoot.",[1741,4325,4205],{"class":1787},[1741,4327,1768],{"class":1751},[1741,4329,4276],{"class":1793},[1741,4331,3077],{"class":1751},[1741,4333,4334],{"class":1743,"line":1865},[1741,4335,1961],{"emptyLinePlaceholder":1960},[1741,4337,4338,4340],{"class":1743,"line":1871},[1741,4339,1825],{"class":1747},[1741,4341,4342],{"class":1751}," (innerElm) {\n",[1741,4344,4345],{"class":1743,"line":1877},[1741,4346,4347],{"class":2202},"        \u002F\u002F Example: innerElm.click();\n",[1741,4349,4350],{"class":1743,"line":2709},[1741,4351,1862],{"class":1751},[1741,4353,4354],{"class":1743,"line":2714},[1741,4355,2410],{"class":1751},[1710,4357,4359],{"id":4358},"add-an-event-listener","Add an event listener",[1715,4361],{},[1683,4363,4364],{},"Run code in response to events on the page. The example logs to the console every time an element is clicked:",[1732,4366,4368],{"className":1734,"code":4367,"language":1736,"meta":1737,"style":1737},"document.getElementById('custom-element').addEventListener('click', (e) => {\n    console.log('Custom element clicked');\n});\n",[1687,4369,4370,4404,4418],{"__ignoreMap":1737},[1741,4371,4372,4374,4377,4379,4382,4385,4388,4390,4393,4395,4398,4400,4402],{"class":1743,"line":1744},[1741,4373,4202],{"class":1751},[1741,4375,4376],{"class":1787},"getElementById",[1741,4378,1768],{"class":1751},[1741,4380,4381],{"class":1793},"'custom-element'",[1741,4383,4384],{"class":1751},").",[1741,4386,4387],{"class":1787},"addEventListener",[1741,4389,1768],{"class":1751},[1741,4391,4392],{"class":1793},"'click'",[1741,4394,1803],{"class":1751},[1741,4396,4397],{"class":1771},"e",[1741,4399,1814],{"class":1751},[1741,4401,1817],{"class":1747},[1741,4403,1778],{"class":1751},[1741,4405,4406,4409,4411,4413,4416],{"class":1743,"line":1781},[1741,4407,4408],{"class":1751},"    console.",[1741,4410,3204],{"class":1787},[1741,4412,1768],{"class":1751},[1741,4414,4415],{"class":1793},"'Custom element clicked'",[1741,4417,3077],{"class":1751},[1741,4419,4420],{"class":1743,"line":1822},[1741,4421,1874],{"class":1751},[1683,4423,4424],{},"You can also dispatch your own custom events:",[1732,4426,4428],{"className":1734,"code":4427,"language":1736,"meta":1737,"style":1737},"document.addEventListener('my-custom-listener', (e) => {\n    console.log('Custom event triggered:', e.detail);\n});\n\n\u002F\u002F Trigger the listener manually.\ndocument.dispatchEvent(new CustomEvent('my-custom-listener', { detail: { data: 'Test data' } }));\n\n\u002F\u002F Or trigger it from another listener.\ndocument.getElementById('custom-element').addEventListener('click', (e) => {\n    document.dispatchEvent(new CustomEvent('my-custom-listener', { detail: { data: 'Test data' } }));\n});\n",[1687,4429,4430,4451,4465,4469,4473,4478,4506,4510,4515,4543,4566],{"__ignoreMap":1737},[1741,4431,4432,4434,4436,4438,4441,4443,4445,4447,4449],{"class":1743,"line":1744},[1741,4433,4202],{"class":1751},[1741,4435,4387],{"class":1787},[1741,4437,1768],{"class":1751},[1741,4439,4440],{"class":1793},"'my-custom-listener'",[1741,4442,1803],{"class":1751},[1741,4444,4397],{"class":1771},[1741,4446,1814],{"class":1751},[1741,4448,1817],{"class":1747},[1741,4450,1778],{"class":1751},[1741,4452,4453,4455,4457,4459,4462],{"class":1743,"line":1781},[1741,4454,4408],{"class":1751},[1741,4456,3204],{"class":1787},[1741,4458,1768],{"class":1751},[1741,4460,4461],{"class":1793},"'Custom event triggered:'",[1741,4463,4464],{"class":1751},", e.detail);\n",[1741,4466,4467],{"class":1743,"line":1822},[1741,4468,1874],{"class":1751},[1741,4470,4471],{"class":1743,"line":1831},[1741,4472,1961],{"emptyLinePlaceholder":1960},[1741,4474,4475],{"class":1743,"line":1840},[1741,4476,4477],{"class":2202},"\u002F\u002F Trigger the listener manually.\n",[1741,4479,4480,4482,4485,4487,4490,4493,4495,4497,4500,4503],{"class":1743,"line":1851},[1741,4481,4202],{"class":1751},[1741,4483,4484],{"class":1787},"dispatchEvent",[1741,4486,1768],{"class":1751},[1741,4488,4489],{"class":1747},"new",[1741,4491,4492],{"class":1787}," CustomEvent",[1741,4494,1768],{"class":1751},[1741,4496,4440],{"class":1793},[1741,4498,4499],{"class":1751},", { detail: { data: ",[1741,4501,4502],{"class":1793},"'Test data'",[1741,4504,4505],{"class":1751}," } }));\n",[1741,4507,4508],{"class":1743,"line":1859},[1741,4509,1961],{"emptyLinePlaceholder":1960},[1741,4511,4512],{"class":1743,"line":1865},[1741,4513,4514],{"class":2202},"\u002F\u002F Or trigger it from another listener.\n",[1741,4516,4517,4519,4521,4523,4525,4527,4529,4531,4533,4535,4537,4539,4541],{"class":1743,"line":1871},[1741,4518,4202],{"class":1751},[1741,4520,4376],{"class":1787},[1741,4522,1768],{"class":1751},[1741,4524,4381],{"class":1793},[1741,4526,4384],{"class":1751},[1741,4528,4387],{"class":1787},[1741,4530,1768],{"class":1751},[1741,4532,4392],{"class":1793},[1741,4534,1803],{"class":1751},[1741,4536,4397],{"class":1771},[1741,4538,1814],{"class":1751},[1741,4540,1817],{"class":1747},[1741,4542,1778],{"class":1751},[1741,4544,4545,4548,4550,4552,4554,4556,4558,4560,4562,4564],{"class":1743,"line":1877},[1741,4546,4547],{"class":1751},"    document.",[1741,4549,4484],{"class":1787},[1741,4551,1768],{"class":1751},[1741,4553,4489],{"class":1747},[1741,4555,4492],{"class":1787},[1741,4557,1768],{"class":1751},[1741,4559,4440],{"class":1793},[1741,4561,4499],{"class":1751},[1741,4563,4502],{"class":1793},[1741,4565,4505],{"class":1751},[1741,4567,4568],{"class":1743,"line":2709},[1741,4569,1874],{"class":1751},[4166,4571,4572],{},[1683,4573,4574,4576],{},[1692,4575,4172],{}," Event listeners don't survive page navigations. If the automation moves to a new page, you'll need to set the listeners up again.",[1994,4578,4579],{},"html pre.shiki code .sjeE4, html code.shiki .sjeE4{--shiki-default:#CF222E;--shiki-dark:#FF7B72}html pre.shiki code .sbjLL, html code.shiki .sbjLL{--shiki-default:#8250DF;--shiki-dark:#D2A8FF}html pre.shiki code .sTDnQ, html code.shiki .sTDnQ{--shiki-default:#953800;--shiki-dark:#FFA657}html pre.shiki code .sHrmB, html code.shiki .sHrmB{--shiki-default:#0550AE;--shiki-dark:#79C0FF}html pre.shiki code .s4rv2, html code.shiki .s4rv2{--shiki-default:#1F2328;--shiki-dark:#E6EDF3}html pre.shiki code .sSVrQ, html code.shiki .sSVrQ{--shiki-default:#0A3069;--shiki-dark:#A5D6FF}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sU953, html code.shiki .sU953{--shiki-default:#6E7781;--shiki-dark:#8B949E}",{"title":1737,"searchDepth":1822,"depth":1822,"links":4581},[4582,4583,4584,4585,4586],{"id":3767,"depth":1781,"text":3768},{"id":3951,"depth":1781,"text":3952},{"id":4186,"depth":1781,"text":4187},{"id":4247,"depth":1781,"text":4248},{"id":4358,"depth":1781,"text":4359},"JavaScript snippets for interacting with page elements in axiom.ai automations, including clicks, dropdowns, text entry, Shadow DOM access, and event listeners.",{"metaTitle":4589},"JavaScript snippets for clicking, typing, and Shadow DOM",{"title":453,"description":4587},"gwhTbNB5BMR7yIM-X4KA6yNc9xL7XsXG96Bnrh8ecrA",{"id":4593,"title":457,"body":4594,"date":2001,"description":4658,"extension":2003,"meta":4659,"navigation":1960,"order":1822,"path":458,"seo":4661,"stem":459,"__hash__":4662},"content\u002Fdocs\u002Fdeveloper-hub\u002Fsnippets\u002Fjavascript\u002Fnavigation.md",{"type":1680,"value":4595,"toc":4655},[4596,4599,4603,4605,4614,4629,4632,4652],[1683,4597,4598],{},"Navigation snippets move the current tab through its history.",[1710,4600,4602],{"id":4601},"move-through-browser-history","Move through browser history",[1715,4604],{},[1683,4606,4607,4608,4613],{},"Go back one page, equivalent to the ",[1701,4609,4610],{"href":1003},[1692,4611,4612],{},"Back"," step but available in JavaScript:",[1732,4615,4617],{"className":1734,"code":4616,"language":1736,"meta":1737,"style":1737},"window.history.back();\n",[1687,4618,4619],{"__ignoreMap":1737},[1741,4620,4621,4624,4627],{"class":1743,"line":1744},[1741,4622,4623],{"class":1751},"window.history.",[1741,4625,4626],{"class":1787},"back",[1741,4628,2173],{"class":1751},[1683,4630,4631],{},"Go back a specific number of pages. The argument is a negative number for backward navigation, positive for forward:",[1732,4633,4635],{"className":1734,"code":4634,"language":1736,"meta":1737,"style":1737},"window.history.go(-2);\n",[1687,4636,4637],{"__ignoreMap":1737},[1741,4638,4639,4641,4644,4646,4648,4650],{"class":1743,"line":1744},[1741,4640,4623],{"class":1751},[1741,4642,4643],{"class":1787},"go",[1741,4645,1768],{"class":1751},[1741,4647,2193],{"class":1747},[1741,4649,2557],{"class":1764},[1741,4651,3077],{"class":1751},[1994,4653,4654],{},"html pre.shiki code .s4rv2, html code.shiki .s4rv2{--shiki-default:#1F2328;--shiki-dark:#E6EDF3}html pre.shiki code .sbjLL, html code.shiki .sbjLL{--shiki-default:#8250DF;--shiki-dark:#D2A8FF}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sjeE4, html code.shiki .sjeE4{--shiki-default:#CF222E;--shiki-dark:#FF7B72}html pre.shiki code .sHrmB, html code.shiki .sHrmB{--shiki-default:#0550AE;--shiki-dark:#79C0FF}",{"title":1737,"searchDepth":1822,"depth":1822,"links":4656},[4657],{"id":4601,"depth":1781,"text":4602},"JavaScript snippets for moving through browser history in axiom.ai automations, including going back one or several pages.",{"metaTitle":4660},"JavaScript snippets for browser history navigation",{"title":457,"description":4658},"77KXLhRor2B1X6mofMulUPr7UAwYRu4asWE80OtLEds",{"id":4664,"title":461,"body":4665,"date":2001,"description":5044,"extension":2003,"meta":5045,"navigation":1960,"order":1831,"path":462,"seo":5047,"stem":463,"__hash__":5048},"content\u002Fdocs\u002Fdeveloper-hub\u002Fsnippets\u002Fjavascript\u002Fnetwork.md",{"type":1680,"value":4666,"toc":5040},[4667,4670,4674,4676,4686,4921,4927,4931,4933,4947,5031,5037],[1683,4668,4669],{},"Network snippets send data to other systems and inspect, log and react to the requests a page makes during a run.",[1710,4671,4673],{"id":4672},"send-data-to-an-api","Send data to an API",[1715,4675],{},[1683,4677,4678,4679,4682,4683,4685],{},"Use JavaScript when you need more control than the ",[1692,4680,4681],{},"Trigger webhook"," step offers. This snippet posts scraped data to an endpoint as JSON and returns the response as the ",[1687,4684,1889],{}," token for later steps:",[1732,4687,4689],{"className":1734,"code":4688,"language":1736,"meta":1737,"style":1737},"const data = [scrape-data];\n\nasync function postData() {\n  try {\n    let response = await fetch('\u003CAPI_ENDPOINT>', {\n      method: 'POST',\n      headers: { 'Content-Type': 'application\u002Fjson' },\n      body: JSON.stringify(data),\n    });\n\n    if (response.ok) {\n      const result = await response.json();\n      return [[JSON.stringify(result)]];\n    } else {\n      console.error(\"Error:\", response.status, response.statusText);\n    }\n  } catch (error) {\n    console.error(error);\n    return error;\n  }\n}\n\nreturn postData();\n",[1687,4690,4691,4705,4709,4721,4728,4751,4761,4778,4794,4798,4802,4809,4829,4846,4854,4869,4873,4884,4893,4900,4905,4909,4913],{"__ignoreMap":1737},[1741,4692,4693,4695,4697,4699,4701,4703],{"class":1743,"line":1744},[1741,4694,1929],{"class":1747},[1741,4696,2875],{"class":1764},[1741,4698,1935],{"class":1747},[1741,4700,2583],{"class":1751},[1741,4702,2193],{"class":1747},[1741,4704,2588],{"class":1751},[1741,4706,4707],{"class":1743,"line":1781},[1741,4708,1961],{"emptyLinePlaceholder":1960},[1741,4710,4711,4713,4715,4718],{"class":1743,"line":1822},[1741,4712,3999],{"class":1747},[1741,4714,4002],{"class":1747},[1741,4716,4717],{"class":1787}," postData",[1741,4719,4720],{"class":1751},"() {\n",[1741,4722,4723,4726],{"class":1743,"line":1831},[1741,4724,4725],{"class":1747},"  try",[1741,4727,1778],{"class":1751},[1741,4729,4730,4733,4736,4738,4740,4743,4745,4748],{"class":1743,"line":1840},[1741,4731,4732],{"class":1747},"    let",[1741,4734,4735],{"class":1751}," response ",[1741,4737,1755],{"class":1747},[1741,4739,1758],{"class":1747},[1741,4741,4742],{"class":1787}," fetch",[1741,4744,1768],{"class":1751},[1741,4746,4747],{"class":1793},"'\u003CAPI_ENDPOINT>'",[1741,4749,4750],{"class":1751},", {\n",[1741,4752,4753,4756,4759],{"class":1743,"line":1851},[1741,4754,4755],{"class":1751},"      method: ",[1741,4757,4758],{"class":1793},"'POST'",[1741,4760,3839],{"class":1751},[1741,4762,4763,4766,4769,4772,4775],{"class":1743,"line":1859},[1741,4764,4765],{"class":1751},"      headers: { ",[1741,4767,4768],{"class":1793},"'Content-Type'",[1741,4770,4771],{"class":1751},": ",[1741,4773,4774],{"class":1793},"'application\u002Fjson'",[1741,4776,4777],{"class":1751}," },\n",[1741,4779,4780,4783,4786,4788,4791],{"class":1743,"line":1865},[1741,4781,4782],{"class":1751},"      body: ",[1741,4784,4785],{"class":1764},"JSON",[1741,4787,1708],{"class":1751},[1741,4789,4790],{"class":1787},"stringify",[1741,4792,4793],{"class":1751},"(data),\n",[1741,4795,4796],{"class":1743,"line":1871},[1741,4797,3227],{"class":1751},[1741,4799,4800],{"class":1743,"line":1877},[1741,4801,1961],{"emptyLinePlaceholder":1960},[1741,4803,4804,4806],{"class":1743,"line":2709},[1741,4805,1825],{"class":1747},[1741,4807,4808],{"class":1751}," (response.ok) {\n",[1741,4810,4811,4814,4817,4819,4821,4824,4827],{"class":1743,"line":2714},[1741,4812,4813],{"class":1747},"      const",[1741,4815,4816],{"class":1764}," result",[1741,4818,1935],{"class":1747},[1741,4820,1758],{"class":1747},[1741,4822,4823],{"class":1751}," response.",[1741,4825,4826],{"class":1787},"json",[1741,4828,2173],{"class":1751},[1741,4830,4831,4834,4837,4839,4841,4843],{"class":1743,"line":3080},[1741,4832,4833],{"class":1747},"      return",[1741,4835,4836],{"class":1751}," [[",[1741,4838,4785],{"class":1764},[1741,4840,1708],{"class":1751},[1741,4842,4790],{"class":1787},[1741,4844,4845],{"class":1751},"(result)]];\n",[1741,4847,4848,4850,4852],{"class":1743,"line":3085},[1741,4849,1843],{"class":1751},[1741,4851,1846],{"class":1747},[1741,4853,1778],{"class":1751},[1741,4855,4856,4859,4861,4863,4866],{"class":1743,"line":3090},[1741,4857,4858],{"class":1751},"      console.",[1741,4860,3178],{"class":1787},[1741,4862,1768],{"class":1751},[1741,4864,4865],{"class":1793},"\"Error:\"",[1741,4867,4868],{"class":1751},", response.status, response.statusText);\n",[1741,4870,4871],{"class":1743,"line":3115},[1741,4872,1862],{"class":1751},[1741,4874,4875,4878,4881],{"class":1743,"line":3141},[1741,4876,4877],{"class":1751},"  } ",[1741,4879,4880],{"class":1747},"catch",[1741,4882,4883],{"class":1751}," (error) {\n",[1741,4885,4886,4888,4890],{"class":1743,"line":3165},[1741,4887,4408],{"class":1751},[1741,4889,3178],{"class":1787},[1741,4891,4892],{"class":1751},"(error);\n",[1741,4894,4895,4897],{"class":1743,"line":3172},[1741,4896,2913],{"class":1747},[1741,4898,4899],{"class":1751}," error;\n",[1741,4901,4902],{"class":1743,"line":3189},[1741,4903,4904],{"class":1751},"  }\n",[1741,4906,4907],{"class":1743,"line":3199},[1741,4908,2410],{"class":1751},[1741,4910,4911],{"class":1743,"line":3219},[1741,4912,1961],{"emptyLinePlaceholder":1960},[1741,4914,4915,4917,4919],{"class":1743,"line":3224},[1741,4916,1880],{"class":1747},[1741,4918,4717],{"class":1787},[1741,4920,2173],{"class":1751},[1683,4922,2838,4923,4926],{},[1687,4924,4925],{},"\u003CAPI_ENDPOINT>"," with your URL and add any auth header the API needs.",[1710,4928,4930],{"id":4929},"capture-network-requests","Capture network requests",[1715,4932],{},[1683,4934,4935,4936,4941,4942,4946],{},"Capture every network request a page has made using the ",[1701,4937,4940],{"href":4938,"rel":4939},"https:\u002F\u002Fdeveloper.mozilla.org\u002Fen-US\u002Fdocs\u002FWeb\u002FAPI\u002FPerformance",[1895],"Performance API",". Add this snippet after a ",[1701,4943,4944],{"href":1143},[1692,4945,1142],{}," step:",[1732,4948,4950],{"className":1734,"code":4949,"language":1736,"meta":1737,"style":1737},"var resources = [];\nconst entries = window.performance.getEntriesByType('resource');\n\nentries.forEach(entry => {\n    resources.push([entry.entryType, entry.name]);\n});\n\nreturn resources;\n",[1687,4951,4952,4964,4986,4990,5006,5016,5020,5024],{"__ignoreMap":1737},[1741,4953,4954,4956,4959,4961],{"class":1743,"line":1744},[1741,4955,2365],{"class":1747},[1741,4957,4958],{"class":1751}," resources ",[1741,4960,1755],{"class":1747},[1741,4962,4963],{"class":1751}," [];\n",[1741,4965,4966,4968,4971,4973,4976,4979,4981,4984],{"class":1743,"line":1781},[1741,4967,1929],{"class":1747},[1741,4969,4970],{"class":1764}," entries",[1741,4972,1935],{"class":1747},[1741,4974,4975],{"class":1751}," window.performance.",[1741,4977,4978],{"class":1787},"getEntriesByType",[1741,4980,1768],{"class":1751},[1741,4982,4983],{"class":1793},"'resource'",[1741,4985,3077],{"class":1751},[1741,4987,4988],{"class":1743,"line":1822},[1741,4989,1961],{"emptyLinePlaceholder":1960},[1741,4991,4992,4995,4997,4999,5002,5004],{"class":1743,"line":1831},[1741,4993,4994],{"class":1751},"entries.",[1741,4996,2806],{"class":1787},[1741,4998,1768],{"class":1751},[1741,5000,5001],{"class":1771},"entry",[1741,5003,1775],{"class":1747},[1741,5005,1778],{"class":1751},[1741,5007,5008,5011,5013],{"class":1743,"line":1840},[1741,5009,5010],{"class":1751},"    resources.",[1741,5012,2402],{"class":1787},[1741,5014,5015],{"class":1751},"([entry.entryType, entry.name]);\n",[1741,5017,5018],{"class":1743,"line":1851},[1741,5019,1874],{"class":1751},[1741,5021,5022],{"class":1743,"line":1859},[1741,5023,1961],{"emptyLinePlaceholder":1960},[1741,5025,5026,5028],{"class":1743,"line":1865},[1741,5027,1880],{"class":1747},[1741,5029,5030],{"class":1751}," resources;\n",[1683,5032,5033,5034,5036],{},"The list of resources is available in the ",[1687,5035,1889],{}," token for use in later steps.",[1994,5038,5039],{},"html pre.shiki code .sjeE4, html code.shiki .sjeE4{--shiki-default:#CF222E;--shiki-dark:#FF7B72}html pre.shiki code .sHrmB, html code.shiki .sHrmB{--shiki-default:#0550AE;--shiki-dark:#79C0FF}html pre.shiki code .s4rv2, html code.shiki .s4rv2{--shiki-default:#1F2328;--shiki-dark:#E6EDF3}html pre.shiki code .sbjLL, html code.shiki .sbjLL{--shiki-default:#8250DF;--shiki-dark:#D2A8FF}html pre.shiki code .sSVrQ, html code.shiki .sSVrQ{--shiki-default:#0A3069;--shiki-dark:#A5D6FF}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sTDnQ, html code.shiki .sTDnQ{--shiki-default:#953800;--shiki-dark:#FFA657}",{"title":1737,"searchDepth":1822,"depth":1822,"links":5041},[5042,5043],{"id":4672,"depth":1781,"text":4673},{"id":4929,"depth":1781,"text":4930},"JavaScript snippets for network activity in axiom.ai automations, from posting scraped data to an API to capturing the requests a page makes.",{"metaTitle":5046,"updated":2006},"JavaScript snippets for capturing network requests",{"title":461,"description":5044},"jbRs2HPMpA727iu8jOw6zY-YQfaAlsdoTzqD-lVUfu8",{"id":5050,"title":465,"body":5051,"date":2001,"description":5168,"extension":2003,"meta":5169,"navigation":1960,"order":1840,"path":466,"seo":5171,"stem":467,"__hash__":5172},"content\u002Fdocs\u002Fdeveloper-hub\u002Fsnippets\u002Fjavascript\u002Fpage-manipulation.md",{"type":1680,"value":5052,"toc":5165},[5053,5056,5060,5062,5065,5090,5093,5162],[1683,5054,5055],{},"Page manipulation snippets modify the current page directly, useful when something on the page (a popup, an overlay, an autoplaying video) is getting in the automation's way.",[1710,5057,5059],{"id":5058},"hide-page-elements","Hide page elements",[1715,5061],{},[1683,5063,5064],{},"Hide the first element matching a selector. Useful for popups or overlays that block elements you need to click:",[1732,5066,5068],{"className":1734,"code":5067,"language":1736,"meta":1737,"style":1737},"document.querySelector('\u003CSELECTOR>').style.display = 'none';\n",[1687,5069,5070],{"__ignoreMap":1737},[1741,5071,5072,5074,5076,5078,5080,5083,5085,5088],{"class":1743,"line":1744},[1741,5073,4202],{"class":1751},[1741,5075,4205],{"class":1787},[1741,5077,1768],{"class":1751},[1741,5079,4276],{"class":1793},[1741,5081,5082],{"class":1751},").style.display ",[1741,5084,1755],{"class":1747},[1741,5086,5087],{"class":1793}," 'none'",[1741,5089,1941],{"class":1751},[1683,5091,5092],{},"Hide every element matching a selector:",[1732,5094,5096],{"className":1734,"code":5095,"language":1736,"meta":1737,"style":1737},"var els = document.querySelectorAll('\u003CSELECTOR>');\nfor (var i = 0; i \u003C els.length; i++) {\n    els[i].style.display = 'none';\n}\n",[1687,5097,5098,5118,5147,5158],{"__ignoreMap":1737},[1741,5099,5100,5102,5105,5107,5109,5112,5114,5116],{"class":1743,"line":1744},[1741,5101,2365],{"class":1747},[1741,5103,5104],{"class":1751}," els ",[1741,5106,1755],{"class":1747},[1741,5108,3825],{"class":1751},[1741,5110,5111],{"class":1787},"querySelectorAll",[1741,5113,1768],{"class":1751},[1741,5115,4276],{"class":1793},[1741,5117,3077],{"class":1751},[1741,5119,5120,5122,5124,5126,5128,5130,5132,5134,5136,5139,5141,5143,5145],{"class":1743,"line":1781},[1741,5121,2359],{"class":1747},[1741,5123,2362],{"class":1751},[1741,5125,2365],{"class":1747},[1741,5127,2368],{"class":1751},[1741,5129,1755],{"class":1747},[1741,5131,2373],{"class":1764},[1741,5133,2376],{"class":1751},[1741,5135,2379],{"class":1747},[1741,5137,5138],{"class":1751}," els.",[1741,5140,2385],{"class":1764},[1741,5142,2388],{"class":1751},[1741,5144,2391],{"class":1747},[1741,5146,2394],{"class":1751},[1741,5148,5149,5152,5154,5156],{"class":1743,"line":1822},[1741,5150,5151],{"class":1751},"    els[i].style.display ",[1741,5153,1755],{"class":1747},[1741,5155,5087],{"class":1793},[1741,5157,1941],{"class":1751},[1741,5159,5160],{"class":1743,"line":1831},[1741,5161,2410],{"class":1751},[1994,5163,5164],{},"html pre.shiki code .s4rv2, html code.shiki .s4rv2{--shiki-default:#1F2328;--shiki-dark:#E6EDF3}html pre.shiki code .sbjLL, html code.shiki .sbjLL{--shiki-default:#8250DF;--shiki-dark:#D2A8FF}html pre.shiki code .sSVrQ, html code.shiki .sSVrQ{--shiki-default:#0A3069;--shiki-dark:#A5D6FF}html pre.shiki code .sjeE4, html code.shiki .sjeE4{--shiki-default:#CF222E;--shiki-dark:#FF7B72}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sHrmB, html code.shiki .sHrmB{--shiki-default:#0550AE;--shiki-dark:#79C0FF}",{"title":1737,"searchDepth":1822,"depth":1822,"links":5166},[5167],{"id":5058,"depth":1781,"text":5059},"JavaScript snippets for manipulating the current page during an axiom.ai automation, including hiding elements that block other interactions.",{"metaTitle":5170},"JavaScript snippets for hiding and modifying page elements",{"title":465,"description":5168},"spfJjMjX99cGkty0G3Tvsa2TDZTA1q6Wzv0JTKilTnU",{"id":5174,"title":469,"body":5175,"date":2001,"description":5786,"extension":2003,"meta":5787,"navigation":1960,"order":1851,"path":470,"seo":5789,"stem":471,"__hash__":5790},"content\u002Fdocs\u002Fdeveloper-hub\u002Fsnippets\u002Fjavascript\u002Fscrape.md",{"type":1680,"value":5176,"toc":5780},[5177,5180,5184,5186,5189,5439,5443,5445,5455,5547,5551,5553,5556,5578,5582,5584,5587,5590,5631,5634,5759,5777],[1683,5178,5179],{},"Scrape snippets pull data out of the current page when the no-code scrape steps don't fit the shape of the data.",[1710,5181,5183],{"id":5182},"scrape-an-html-table","Scrape an HTML table",[1715,5185],{},[1683,5187,5188],{},"Pull header cells and row data from an HTML table, returning headers and rows as a single 2D array ready to write to a Google Sheet:",[1732,5190,5192],{"className":1734,"code":5191,"language":1736,"meta":1737,"style":1737},"const headers = Array.prototype.map.call(\n    document.querySelectorAll('#org-insight__a11y-table tr'),\n    function (tr) {\n        return Array.prototype.map.call(tr.querySelectorAll('th'), function (th) {\n            return th.textContent.trim();\n        });\n    }\n);\n\nconst table = Array.prototype.map.call(\n    document.querySelectorAll('#org-insight__a11y-table tr'),\n    function (tr) {\n        return Array.prototype.map.call(tr.querySelectorAll('td'), function (td) {\n            return td.textContent.trim();\n        });\n    }\n);\n\nconst data = headers.concat(table);\n\nreturn data;\n",[1687,5193,5194,5219,5233,5244,5280,5292,5297,5301,5305,5309,5330,5342,5352,5385,5396,5400,5404,5408,5412,5429,5433],{"__ignoreMap":1737},[1741,5195,5196,5198,5201,5203,5206,5208,5211,5214,5217],{"class":1743,"line":1744},[1741,5197,1929],{"class":1747},[1741,5199,5200],{"class":1764}," headers",[1741,5202,1935],{"class":1747},[1741,5204,5205],{"class":1764}," Array",[1741,5207,1708],{"class":1751},[1741,5209,5210],{"class":1764},"prototype",[1741,5212,5213],{"class":1751},".map.",[1741,5215,5216],{"class":1787},"call",[1741,5218,3831],{"class":1751},[1741,5220,5221,5223,5225,5227,5230],{"class":1743,"line":1781},[1741,5222,4547],{"class":1751},[1741,5224,5111],{"class":1787},[1741,5226,1768],{"class":1751},[1741,5228,5229],{"class":1793},"'#org-insight__a11y-table tr'",[1741,5231,5232],{"class":1751},"),\n",[1741,5234,5235,5238,5240,5242],{"class":1743,"line":1822},[1741,5236,5237],{"class":1747},"    function",[1741,5239,2362],{"class":1751},[1741,5241,2537],{"class":1771},[1741,5243,2394],{"class":1751},[1741,5245,5246,5249,5251,5253,5255,5257,5259,5262,5264,5266,5269,5272,5274,5276,5278],{"class":1743,"line":1831},[1741,5247,5248],{"class":1747},"        return",[1741,5250,5205],{"class":1764},[1741,5252,1708],{"class":1751},[1741,5254,5210],{"class":1764},[1741,5256,5213],{"class":1751},[1741,5258,5216],{"class":1787},[1741,5260,5261],{"class":1751},"(tr.",[1741,5263,5111],{"class":1787},[1741,5265,1768],{"class":1751},[1741,5267,5268],{"class":1793},"'th'",[1741,5270,5271],{"class":1751},"), ",[1741,5273,2898],{"class":1747},[1741,5275,2362],{"class":1751},[1741,5277,2540],{"class":1771},[1741,5279,2394],{"class":1751},[1741,5281,5282,5284,5287,5290],{"class":1743,"line":1840},[1741,5283,3039],{"class":1747},[1741,5285,5286],{"class":1751}," th.textContent.",[1741,5288,5289],{"class":1787},"trim",[1741,5291,2173],{"class":1751},[1741,5293,5294],{"class":1743,"line":1851},[1741,5295,5296],{"class":1751},"        });\n",[1741,5298,5299],{"class":1743,"line":1859},[1741,5300,1862],{"class":1751},[1741,5302,5303],{"class":1743,"line":1865},[1741,5304,3077],{"class":1751},[1741,5306,5307],{"class":1743,"line":1871},[1741,5308,1961],{"emptyLinePlaceholder":1960},[1741,5310,5311,5313,5316,5318,5320,5322,5324,5326,5328],{"class":1743,"line":1877},[1741,5312,1929],{"class":1747},[1741,5314,5315],{"class":1764}," table",[1741,5317,1935],{"class":1747},[1741,5319,5205],{"class":1764},[1741,5321,1708],{"class":1751},[1741,5323,5210],{"class":1764},[1741,5325,5213],{"class":1751},[1741,5327,5216],{"class":1787},[1741,5329,3831],{"class":1751},[1741,5331,5332,5334,5336,5338,5340],{"class":1743,"line":2709},[1741,5333,4547],{"class":1751},[1741,5335,5111],{"class":1787},[1741,5337,1768],{"class":1751},[1741,5339,5229],{"class":1793},[1741,5341,5232],{"class":1751},[1741,5343,5344,5346,5348,5350],{"class":1743,"line":2714},[1741,5345,5237],{"class":1747},[1741,5347,2362],{"class":1751},[1741,5349,2537],{"class":1771},[1741,5351,2394],{"class":1751},[1741,5353,5354,5356,5358,5360,5362,5364,5366,5368,5370,5372,5375,5377,5379,5381,5383],{"class":1743,"line":3080},[1741,5355,5248],{"class":1747},[1741,5357,5205],{"class":1764},[1741,5359,1708],{"class":1751},[1741,5361,5210],{"class":1764},[1741,5363,5213],{"class":1751},[1741,5365,5216],{"class":1787},[1741,5367,5261],{"class":1751},[1741,5369,5111],{"class":1787},[1741,5371,1768],{"class":1751},[1741,5373,5374],{"class":1793},"'td'",[1741,5376,5271],{"class":1751},[1741,5378,2898],{"class":1747},[1741,5380,2362],{"class":1751},[1741,5382,2552],{"class":1771},[1741,5384,2394],{"class":1751},[1741,5386,5387,5389,5392,5394],{"class":1743,"line":3085},[1741,5388,3039],{"class":1747},[1741,5390,5391],{"class":1751}," td.textContent.",[1741,5393,5289],{"class":1787},[1741,5395,2173],{"class":1751},[1741,5397,5398],{"class":1743,"line":3090},[1741,5399,5296],{"class":1751},[1741,5401,5402],{"class":1743,"line":3115},[1741,5403,1862],{"class":1751},[1741,5405,5406],{"class":1743,"line":3141},[1741,5407,3077],{"class":1751},[1741,5409,5410],{"class":1743,"line":3165},[1741,5411,1961],{"emptyLinePlaceholder":1960},[1741,5413,5414,5416,5418,5420,5423,5426],{"class":1743,"line":3172},[1741,5415,1929],{"class":1747},[1741,5417,2875],{"class":1764},[1741,5419,1935],{"class":1747},[1741,5421,5422],{"class":1751}," headers.",[1741,5424,5425],{"class":1787},"concat",[1741,5427,5428],{"class":1751},"(table);\n",[1741,5430,5431],{"class":1743,"line":3189},[1741,5432,1961],{"emptyLinePlaceholder":1960},[1741,5434,5435,5437],{"class":1743,"line":3199},[1741,5436,1880],{"class":1747},[1741,5438,2421],{"class":1751},[1710,5440,5442],{"id":5441},"scrape-element-attributes","Scrape element attributes",[1715,5444],{},[1683,5446,5447,5448,5451,5452,5454],{},"Pull a specific attribute from every element matching a selector. The example collects the ",[1687,5449,5450],{},"name"," attribute from every ",[1687,5453,4234],{}," inside a div:",[1732,5456,5458],{"className":1734,"code":5457,"language":1736,"meta":1737,"style":1737},"let results = [];\nlet els = document.querySelectorAll('div:nth-child(1) > input');\n\nfor (const el of els) {\n    results.push([el.getAttribute('name')]);\n}\n\nreturn results;\n",[1687,5459,5460,5471,5490,5494,5511,5532,5536,5540],{"__ignoreMap":1737},[1741,5461,5462,5464,5467,5469],{"class":1743,"line":1744},[1741,5463,1748],{"class":1747},[1741,5465,5466],{"class":1751}," results ",[1741,5468,1755],{"class":1747},[1741,5470,4963],{"class":1751},[1741,5472,5473,5475,5477,5479,5481,5483,5485,5488],{"class":1743,"line":1781},[1741,5474,1748],{"class":1747},[1741,5476,5104],{"class":1751},[1741,5478,1755],{"class":1747},[1741,5480,3825],{"class":1751},[1741,5482,5111],{"class":1787},[1741,5484,1768],{"class":1751},[1741,5486,5487],{"class":1793},"'div:nth-child(1) > input'",[1741,5489,3077],{"class":1751},[1741,5491,5492],{"class":1743,"line":1822},[1741,5493,1961],{"emptyLinePlaceholder":1960},[1741,5495,5496,5498,5500,5502,5505,5508],{"class":1743,"line":1831},[1741,5497,2359],{"class":1747},[1741,5499,2362],{"class":1751},[1741,5501,1929],{"class":1747},[1741,5503,5504],{"class":1764}," el",[1741,5506,5507],{"class":1747}," of",[1741,5509,5510],{"class":1751}," els) {\n",[1741,5512,5513,5516,5518,5521,5524,5526,5529],{"class":1743,"line":1840},[1741,5514,5515],{"class":1751},"    results.",[1741,5517,2402],{"class":1787},[1741,5519,5520],{"class":1751},"([el.",[1741,5522,5523],{"class":1787},"getAttribute",[1741,5525,1768],{"class":1751},[1741,5527,5528],{"class":1793},"'name'",[1741,5530,5531],{"class":1751},")]);\n",[1741,5533,5534],{"class":1743,"line":1851},[1741,5535,2410],{"class":1751},[1741,5537,5538],{"class":1743,"line":1859},[1741,5539,1961],{"emptyLinePlaceholder":1960},[1741,5541,5542,5544],{"class":1743,"line":1865},[1741,5543,1880],{"class":1747},[1741,5545,5546],{"class":1751}," results;\n",[1710,5548,5550],{"id":5549},"scrape-the-entire-page-body","Scrape the entire page body",[1715,5552],{},[1683,5554,5555],{},"Return the page's full HTML, useful for AI-driven extraction or downstream parsing:",[1732,5557,5559],{"className":1734,"code":5558,"language":1736,"meta":1737,"style":1737},"return [[document.querySelector('body').innerHTML]];\n",[1687,5560,5561],{"__ignoreMap":1737},[1741,5562,5563,5565,5568,5570,5572,5575],{"class":1743,"line":1744},[1741,5564,1880],{"class":1747},[1741,5566,5567],{"class":1751}," [[document.",[1741,5569,4205],{"class":1787},[1741,5571,1768],{"class":1751},[1741,5573,5574],{"class":1793},"'body'",[1741,5576,5577],{"class":1751},").innerHTML]];\n",[1710,5579,5581],{"id":5580},"get-meta-tags-from-a-page","Get meta tags from a page",[1715,5583],{},[1683,5585,5586],{},"Read meta tags (Open Graph and others) from the current page. Make sure the automation is on the page you want to scrape before this snippet runs.",[1683,5588,5589],{},"Return a single meta attribute by name:",[1732,5591,5593],{"className":1734,"code":5592,"language":1736,"meta":1737,"style":1737},"let ogTitle = document.querySelector(\"meta[property='og:title']\").getAttribute('content');\nreturn ogTitle;\n",[1687,5594,5595,5624],{"__ignoreMap":1737},[1741,5596,5597,5599,5602,5604,5606,5608,5610,5613,5615,5617,5619,5622],{"class":1743,"line":1744},[1741,5598,1748],{"class":1747},[1741,5600,5601],{"class":1751}," ogTitle ",[1741,5603,1755],{"class":1747},[1741,5605,3825],{"class":1751},[1741,5607,4205],{"class":1787},[1741,5609,1768],{"class":1751},[1741,5611,5612],{"class":1793},"\"meta[property='og:title']\"",[1741,5614,4384],{"class":1751},[1741,5616,5523],{"class":1787},[1741,5618,1768],{"class":1751},[1741,5620,5621],{"class":1793},"'content'",[1741,5623,3077],{"class":1751},[1741,5625,5626,5628],{"class":1743,"line":1781},[1741,5627,1880],{"class":1747},[1741,5629,5630],{"class":1751}," ogTitle;\n",[1683,5632,5633],{},"Return the name and content of every meta tag on the page:",[1732,5635,5637],{"className":1734,"code":5636,"language":1736,"meta":1737,"style":1737},"let metaTags = document.getElementsByTagName('meta');\nlet metaContent = [];\n\nfor (var i = 0; i \u003C metaTags.length; i++) {\n    metaContent.push([\n        metaTags[i].getAttribute('name'),\n        metaTags[i].getAttribute('content')\n    ]);\n}\n\nreturn metaContent;\n",[1687,5638,5639,5660,5671,5675,5704,5714,5727,5739,5744,5748,5752],{"__ignoreMap":1737},[1741,5640,5641,5643,5646,5648,5650,5653,5655,5658],{"class":1743,"line":1744},[1741,5642,1748],{"class":1747},[1741,5644,5645],{"class":1751}," metaTags ",[1741,5647,1755],{"class":1747},[1741,5649,3825],{"class":1751},[1741,5651,5652],{"class":1787},"getElementsByTagName",[1741,5654,1768],{"class":1751},[1741,5656,5657],{"class":1793},"'meta'",[1741,5659,3077],{"class":1751},[1741,5661,5662,5664,5667,5669],{"class":1743,"line":1781},[1741,5663,1748],{"class":1747},[1741,5665,5666],{"class":1751}," metaContent ",[1741,5668,1755],{"class":1747},[1741,5670,4963],{"class":1751},[1741,5672,5673],{"class":1743,"line":1822},[1741,5674,1961],{"emptyLinePlaceholder":1960},[1741,5676,5677,5679,5681,5683,5685,5687,5689,5691,5693,5696,5698,5700,5702],{"class":1743,"line":1831},[1741,5678,2359],{"class":1747},[1741,5680,2362],{"class":1751},[1741,5682,2365],{"class":1747},[1741,5684,2368],{"class":1751},[1741,5686,1755],{"class":1747},[1741,5688,2373],{"class":1764},[1741,5690,2376],{"class":1751},[1741,5692,2379],{"class":1747},[1741,5694,5695],{"class":1751}," metaTags.",[1741,5697,2385],{"class":1764},[1741,5699,2388],{"class":1751},[1741,5701,2391],{"class":1747},[1741,5703,2394],{"class":1751},[1741,5705,5706,5709,5711],{"class":1743,"line":1840},[1741,5707,5708],{"class":1751},"    metaContent.",[1741,5710,2402],{"class":1787},[1741,5712,5713],{"class":1751},"([\n",[1741,5715,5716,5719,5721,5723,5725],{"class":1743,"line":1851},[1741,5717,5718],{"class":1751},"        metaTags[i].",[1741,5720,5523],{"class":1787},[1741,5722,1768],{"class":1751},[1741,5724,5528],{"class":1793},[1741,5726,5232],{"class":1751},[1741,5728,5729,5731,5733,5735,5737],{"class":1743,"line":1859},[1741,5730,5718],{"class":1751},[1741,5732,5523],{"class":1787},[1741,5734,1768],{"class":1751},[1741,5736,5621],{"class":1793},[1741,5738,3057],{"class":1751},[1741,5740,5741],{"class":1743,"line":1865},[1741,5742,5743],{"class":1751},"    ]);\n",[1741,5745,5746],{"class":1743,"line":1871},[1741,5747,2410],{"class":1751},[1741,5749,5750],{"class":1743,"line":1877},[1741,5751,1961],{"emptyLinePlaceholder":1960},[1741,5753,5754,5756],{"class":1743,"line":2709},[1741,5755,1880],{"class":1747},[1741,5757,5758],{"class":1751}," metaContent;\n",[4166,5760,5761],{},[1683,5762,5763,5765,5766,5768,5769,5772,5773,5776],{},[1692,5764,4172],{}," Some meta tags don't have a ",[1687,5767,5450],{}," attribute (Open Graph tags use ",[1687,5770,5771],{},"property"," instead). The second snippet returns ",[1687,5774,5775],{},"null"," for those, which is fine for most uses, but worth handling if your downstream step is strict about empty values.",[1994,5778,5779],{},"html pre.shiki code .sjeE4, html code.shiki .sjeE4{--shiki-default:#CF222E;--shiki-dark:#FF7B72}html pre.shiki code .sHrmB, html code.shiki .sHrmB{--shiki-default:#0550AE;--shiki-dark:#79C0FF}html pre.shiki code .s4rv2, html code.shiki .s4rv2{--shiki-default:#1F2328;--shiki-dark:#E6EDF3}html pre.shiki code .sbjLL, html code.shiki .sbjLL{--shiki-default:#8250DF;--shiki-dark:#D2A8FF}html pre.shiki code .sSVrQ, html code.shiki .sSVrQ{--shiki-default:#0A3069;--shiki-dark:#A5D6FF}html pre.shiki code .sTDnQ, html code.shiki .sTDnQ{--shiki-default:#953800;--shiki-dark:#FFA657}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":1737,"searchDepth":1822,"depth":1822,"links":5781},[5782,5783,5784,5785],{"id":5182,"depth":1781,"text":5183},{"id":5441,"depth":1781,"text":5442},{"id":5549,"depth":1781,"text":5550},{"id":5580,"depth":1781,"text":5581},"JavaScript snippets for scraping data in axiom.ai automations, including HTML tables, element attributes, page body, and meta tags.",{"metaTitle":5788},"JavaScript snippets for scraping data from web pages",{"title":469,"description":5786},"7R4KfK9eRrVTnC3FfrdhfSdktBOQsy44_cFq1b8kRMg",{"id":1678,"title":445,"body":5792,"date":2001,"description":2002,"extension":2003,"meta":6000,"navigation":1960,"order":1859,"path":446,"seo":6001,"stem":447,"__hash__":2008},{"type":1680,"value":5793,"toc":5996},[5794,5806,5808,5810,5818,5916,5925,5927,5929,5937,5989,5994],[1683,5795,1685,5796,1690,5798,1695,5800,1699,5802,1704,5804,1708],{},[1687,5797,1689],{},[1692,5799,1694],{},[1687,5801,1698],{},[1701,5803,1689],{"href":1703},[1701,5805,1707],{"href":474},[1710,5807,1713],{"id":1712},[1715,5809],{},[1683,5811,1719,5812,1723,5814,1726,5816,1730],{},[1687,5813,1722],{},[1687,5815,1722],{},[1687,5817,1729],{},[1732,5819,5820],{"className":1734,"code":1735,"language":1736,"meta":1737,"style":1737},[1687,5821,5822,5844,5872,5878,5884,5892,5898,5902,5906,5910],{"__ignoreMap":1737},[1741,5823,5824,5826,5828,5830,5832,5834,5836,5838,5840,5842],{"class":1743,"line":1744},[1741,5825,1748],{"class":1747},[1741,5827,1752],{"class":1751},[1741,5829,1755],{"class":1747},[1741,5831,1758],{"class":1747},[1741,5833,1761],{"class":1747},[1741,5835,1765],{"class":1764},[1741,5837,1768],{"class":1751},[1741,5839,1772],{"class":1771},[1741,5841,1775],{"class":1747},[1741,5843,1778],{"class":1751},[1741,5845,5846,5848,5850,5852,5854,5856,5858,5860,5862,5864,5866,5868,5870],{"class":1743,"line":1781},[1741,5847,1784],{"class":1751},[1741,5849,1788],{"class":1787},[1741,5851,1768],{"class":1751},[1741,5853,1794],{"class":1793},[1741,5855,1797],{"class":1751},[1741,5857,1800],{"class":1793},[1741,5859,1803],{"class":1751},[1741,5861,1806],{"class":1771},[1741,5863,1797],{"class":1751},[1741,5865,1811],{"class":1771},[1741,5867,1814],{"class":1751},[1741,5869,1817],{"class":1747},[1741,5871,1778],{"class":1751},[1741,5873,5874,5876],{"class":1743,"line":1822},[1741,5875,1825],{"class":1747},[1741,5877,1828],{"class":1751},[1741,5879,5880,5882],{"class":1743,"line":1831},[1741,5881,1834],{"class":1787},[1741,5883,1837],{"class":1751},[1741,5885,5886,5888,5890],{"class":1743,"line":1840},[1741,5887,1843],{"class":1751},[1741,5889,1846],{"class":1747},[1741,5891,1778],{"class":1751},[1741,5893,5894,5896],{"class":1743,"line":1851},[1741,5895,1834],{"class":1787},[1741,5897,1856],{"class":1751},[1741,5899,5900],{"class":1743,"line":1859},[1741,5901,1862],{"class":1751},[1741,5903,5904],{"class":1743,"line":1865},[1741,5905,1868],{"class":1751},[1741,5907,5908],{"class":1743,"line":1871},[1741,5909,1874],{"class":1751},[1741,5911,5912,5914],{"class":1743,"line":1877},[1741,5913,1880],{"class":1747},[1741,5915,1883],{"class":1751},[1683,5917,1886,5918,1890,5920,1708],{},[1687,5919,1889],{},[1701,5921,1896,5923,1899],{"href":1893,"rel":5922},[1895],[1687,5924,1722],{},[1710,5926,1903],{"id":1902},[1715,5928],{},[1683,5930,1908,5931,1912,5933,1916,5935,1919],{},[1692,5932,1911],{},[1692,5934,1915],{},[1687,5936,1698],{},[1732,5938,5939],{"className":1734,"code":1922,"language":1736,"meta":1737,"style":1737},[1687,5940,5941,5953,5965,5969,5983],{"__ignoreMap":1737},[1741,5942,5943,5945,5947,5949,5951],{"class":1743,"line":1744},[1741,5944,1929],{"class":1747},[1741,5946,1932],{"class":1764},[1741,5948,1935],{"class":1747},[1741,5950,1938],{"class":1793},[1741,5952,1941],{"class":1751},[1741,5954,5955,5957,5959,5961,5963],{"class":1743,"line":1781},[1741,5956,1929],{"class":1747},[1741,5958,1948],{"class":1764},[1741,5960,1935],{"class":1747},[1741,5962,1953],{"class":1793},[1741,5964,1941],{"class":1751},[1741,5966,5967],{"class":1743,"line":1822},[1741,5968,1961],{"emptyLinePlaceholder":1960},[1741,5970,5971,5973,5975,5977,5979,5981],{"class":1743,"line":1831},[1741,5972,1748],{"class":1747},[1741,5974,1752],{"class":1751},[1741,5976,1755],{"class":1747},[1741,5978,1758],{"class":1747},[1741,5980,1974],{"class":1787},[1741,5982,1977],{"class":1751},[1741,5984,5985,5987],{"class":1743,"line":1840},[1741,5986,1880],{"class":1747},[1741,5988,1984],{"class":1751},[1683,5990,1987,5991,1708],{},[1701,5992,1992],{"href":1990,"rel":5993},[1895],[1994,5995,1996],{},{"title":1737,"searchDepth":1822,"depth":1822,"links":5997},[5998,5999],{"id":1712,"depth":1781,"text":1713},{"id":1902,"depth":1781,"text":1903},{"metaTitle":2005,"updated":2006},{"title":445,"description":2002},1795197553084]