KryptixDocs
05 · RPA API

Behavior and limits

Humanization, what stays visible without CDP, and how it compares with Playwright.

Pro planNo CDP3 min readUpdated November 2026
On this page

Humanization and keyboard layout#

  • A fresh kryptix_open sends the engine the same behaviour settings RPA flows use: safe key-hold defaults, your measured profile if there is one, and the keyboard layout of the profile's language (Turkish Q for tr, US for everything else). Without it a Turkish profile would type ş ğ ı ö ç ü İ @ € on the wrong keys. After kryptix_attach to a profile somebody else opened, call kryptix_behavior(kbdLayout="tr") yourself.
  • Typing speed presets are slow, normal and fast; a measured profile overrides them.
  • Keep humanize=True. humanize=False jumps the cursor straight to the target: faster, but a visible pattern.
  • Pace your script too. Fixed sleep(1) calls between steps are a pattern; use a random delay.

No CDP trace, and what stays visible#

  • Launch switches. The RPA launch adds only a private port and token for the engine. It never adds --remote-debugging-port, --remote-debugging-pipe, --remote-allow-origins or --enable-automation.
  • Folder arguments cannot bring CDP back. When a profile is opened in RPA mode, Kryptix removes --remote-debugging*, --remote-allow-origins* and --enable-automation* from a folder's additional arguments.
  • No DevTools endpoint. Nothing at /json/version, no webSocketDebuggerUrl, no DevToolsActivePort file.
  • No injected script, nothing a page can see. The browser connects out to the app, and the app only talks to a peer that shows its secret token. navigator.webdriver is not set.
  • The client files import nothing but the standard library (urllib in Python, node:http in Node); a test fails if they ever mention a WebSocket, a DevTools URL or import Playwright, Puppeteer or Selenium.
What this does not hide. Behaviour can still be analysed: very fast scripts, perfectly regular pauses or humanize=False are visible to behavioural systems. Fingerprint, proxy and IP quality come from the profile, not from this API.

Limits compared with Playwright#

You might expectHere
page.evaluate() / run JavaScriptNot available: this is the price of injecting nothing. Read with selectors, kryptix_inner_html, kryptix_query_all, kryptix_text.
Network interception, route, wait_for_responsenot available
Cookies / storage APInot exposed here (RPA flows have cookie steps in the editor)
Several pages at onceone active tab per profile; use several profiles for parallelism
nth(), shadow piercingfirst match only; text= is a literal substring; no shadow piercing
Instant fillkryptix_fill types with real key events: slower, and by design
F1–F12, Insert, middle buttonnot supported yet
Auto-waiting for “actionable”waits for the element to exist, then scrolls it into view; it does not wait for animations or for disabled to clear (use kryptix_disabled)

RPA API or the CDP route?#

Kryptix has two ways to automate a profile, and they are different on purpose. Use the RPA API when not being detected matters more than raw power; use the Scraper tools (CDP) when you need evaluate(), request interception or a full browser-automation feature set. Do not mix them on one profile.

RPA APICDP route
How the browser is started--staygold-rpa-port / -token onlyadds --remote-debugging-port=0 and --remote-allow-origins=*
DevTools port on the machinenoneyes (random port, DevToolsActivePort file)
Your toolany HTTP client; the two client filesPlaywright / Puppeteer / Selenium over CDP
How the page is readbrowser-internal agent in the rendererCDP DOM / Runtime calls
JavaScript injected into pagesnonewhatever your CDP tool injects
Mouse / keyboardthe browser's own input pipeline, human-timed pathsCDP Input.* commands
Run JavaScript in the pagenoyes
Network interception, PDF…noyes