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_opensends 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 fortr, US for everything else). Without it a Turkish profile would typeş ğ ı ö ç ü İ @ €on the wrong keys. Afterkryptix_attachto a profile somebody else opened, callkryptix_behavior(kbdLayout="tr")yourself. - Typing speed presets are
slow,normalandfast; a measured profile overrides them. - Keep
humanize=True.humanize=Falsejumps 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-originsor--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, nowebSocketDebuggerUrl, noDevToolsActivePortfile. - 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.webdriveris not set. - The client files import nothing but the standard library (
urllibin Python,node:httpin 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 expect | Here |
|---|---|
page.evaluate() / run JavaScript | Not available: this is the price of injecting nothing. Read with selectors, kryptix_inner_html, kryptix_query_all, kryptix_text. |
Network interception, route, wait_for_response | not available |
| Cookies / storage API | not exposed here (RPA flows have cookie steps in the editor) |
| Several pages at once | one active tab per profile; use several profiles for parallelism |
nth(), shadow piercing | first match only; text= is a literal substring; no shadow piercing |
Instant fill | kryptix_fill types with real key events: slower, and by design |
F1–F12, Insert, middle button | not 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 API | CDP route | |
|---|---|---|
| How the browser is started | --staygold-rpa-port / -token only | adds --remote-debugging-port=0 and --remote-allow-origins=* |
| DevTools port on the machine | none | yes (random port, DevToolsActivePort file) |
| Your tool | any HTTP client; the two client files | Playwright / Puppeteer / Selenium over CDP |
| How the page is read | browser-internal agent in the renderer | CDP DOM / Runtime calls |
| JavaScript injected into pages | none | whatever your CDP tool injects |
| Mouse / keyboard | the browser's own input pipeline, human-timed paths | CDP Input.* commands |
| Run JavaScript in the page | no | yes |
| Network interception, PDF… | no | yes |