05 · RPA API
Quick start
Install the client, connect to a profile and click your first button.
Pro planPython 3.8+ · Node 16+1 min readUpdated November 2026
- Copy the client next to your script
Pick the file for your language. There is nothing to install.
- Check three things
Kryptix is running (it listens on
127.0.0.1:8777). Your plan is Pro. If you set an API key under Settings → Local API, pass it withkryptix_connect(api_key=…)or theKRYPTIX_API_KEYenvironment variable. A different port goes inkryptix_connect(api=…)orKRYPTIX_API. - Run your first script
kryptix_opentakes a profile id or its exact name, opens it in RPA mode and waits for the engine. The browser stays open when your script ends; close it withkryptix_close().Pythonfrom kryptix_rpa import * kryptix_open("My profile") # opens it in RPA mode, waits for the engine kryptix_goto("https://example.com") kryptix_click("text=More information") kryptix_fill("input[name=q]", "hello world") # real, human-timed key events kryptix_press_key("Enter") print(kryptix_title(), kryptix_url()) kryptix_close()
Node.jsimport { kryptix_open, kryptix_goto, kryptix_click, kryptix_fill, kryptix_press_key, kryptix_title, kryptix_url, kryptix_close } from "./kryptix_rpa.mjs"; await kryptix_open("My profile"); // opens it in RPA mode, waits for the engine await kryptix_goto("https://example.com"); await kryptix_click("text=More information"); await kryptix_fill("input[name=q]", "hello world"); // real, human-timed key events await kryptix_press_key("Enter"); console.log(await kryptix_title(), await kryptix_url()); await kryptix_close();
Prefer objects? The classic Kryptix / Page / Locator API is still in the same file and works exactly as before; both styles can be mixed.
from kryptix_rpa import Kryptix kx = Kryptix() page = kx.open("My profile") page.goto("https://example.com") page.click("text=More information")