KryptixDocs
05 · RPA API

Functions

Every kryptix_* function with its arguments, grouped by what it does.

Pro planPython 3.8+ · Node 16+5 min readUpdated November 2026

61 functions, all named kryptix_*. They work on the current page: the one kryptix_open() opened last. In Node every function returns a promise and also has a camelCase twin (kryptix_right_click = kryptixRightClick). Options are Python keyword arguments, or an options object in Node. Every function except the session ones also accepts page= (Node: { page }) to say which profile to use.

Session

PythonNode.jsWhat it does
kryptix_connect(api=None, api_key=None)kryptix_connect({ api, apiKey })Choose the manager address / API key. Optional: defaults are $KRYPTIX_API, $KRYPTIX_API_KEY and http://127.0.0.1:8777.
kryptix_profiles()kryptix_profiles()List of profiles (id, name, tags, folder, …).
kryptix_open(profile, stop_on_exit=False)kryptix_open(profile, { stopOnExit })Open a profile (id or exact name) in RPA mode, wait for the engine and make it the current page.
kryptix_attach(profile)kryptix_attach(profile)Use a profile that is already open in RPA mode (no launch).
kryptix_use(page_or_profile)kryptix_use(pageOrProfile)Make a Page (or the id of an open profile) the current page. Handy with several profiles.
kryptix_page()kryptix_page()The current Page object, for the object API.
kryptix_status(profile=None)kryptix_status(profile){connected, …} for a profile, or for the current page.
kryptix_close(force=False, *, page=None)kryptix_close({ force, page })Close the browser of the current page.

Navigation

PythonNode.jsWhat it does
kryptix_goto(url, timeout=25, wait_until='load')kryptix_goto(url, { timeout, waitUntil })Navigate the active tab. wait_until: 'load' or 'commit'.
kryptix_reload(timeout=25)kryptix_reload({ timeout })Reload the page.
kryptix_back(timeout=25)kryptix_back({ timeout })Go back in history.
kryptix_forward(timeout=25)kryptix_forward({ timeout })Go forward in history.
kryptix_url()kryptix_url()Current address.
kryptix_title()kryptix_title()Current page title.
kryptix_wait_load(timeout=30)kryptix_wait_load({ timeout })Wait until the page has finished loading.

Reading

PythonNode.jsWhat it does
kryptix_text(max_chars=200000)kryptix_text({ maxChars })Visible text of the whole page (not the HTML source).
kryptix_html(selector='html')kryptix_html(selector)HTML of the first match (default: the page).
kryptix_inner_text(selector)kryptix_inner_text(selector)Text of the first match; waits for it.
kryptix_inner_html(selector)kryptix_inner_html(selector)Inner HTML of the first match.
kryptix_get_attr(selector, name)kryptix_get_attr(selector, name)Attribute value, or None/null if the element has no such attribute.
kryptix_value(selector)kryptix_value(selector)Current value of an input, textarea or select.
kryptix_query_all(selector, attr='', limit=50)kryptix_query_all(selector, { attr, limit })[{tag, text, attr, rect}, …] for every match.
kryptix_count(selector)kryptix_count(selector)Number of matches.
kryptix_exists(selector)kryptix_exists(selector)Does the element exist?
kryptix_visible(selector)kryptix_visible(selector)Is it rendered and inside the viewport?
kryptix_state(selector)kryptix_state(selector){found, visible, tag, input_type, checked, disabled, value, …}.
kryptix_checked(selector)kryptix_checked(selector)Is the checkbox / radio checked?
kryptix_disabled(selector)kryptix_disabled(selector)Is the element disabled?
kryptix_bbox(selector)kryptix_bbox(selector){x, y, width, height} of the first match, or none.
kryptix_wait(selector, timeout=None, state='attached')kryptix_wait(selector, { timeout, state })Wait until the element exists ('attached') or is visible ('visible').

Mouse

PythonNode.jsWhat it does
kryptix_click(selector, button='left', humanize=True, scroll=True, timeout=None)kryptix_click(selector, { button, humanize, scroll, timeout })Wait for the element, scroll it into view like a person, click it.
kryptix_dblclick(selector, …)kryptix_dblclick(selector, { … })Double-click.
kryptix_right_click(selector, …)kryptix_right_click(selector, { … })Right-click.
kryptix_hover(selector, …)kryptix_hover(selector, { … })Move the pointer over the element.
kryptix_drag(source, target, timeout=None)kryptix_drag(source, target, { timeout })Drag one element onto another with a real mouse drag.
kryptix_mouse_move(x, y, humanize=True)kryptix_mouse_move(x, y, { humanize })Move the pointer to page coordinates.
kryptix_mouse_click(x, y, button='left', humanize=True)kryptix_mouse_click(x, y, { button, humanize })Click at page coordinates.
kryptix_scroll(dy=600)kryptix_scroll(dy)Mouse-wheel scroll at the cursor (dy > 0 scrolls down).
kryptix_scroll_to(selector)kryptix_scroll_to(selector)Scroll until the element is in the viewport.

Keyboard

PythonNode.jsWhat it does
kryptix_fill(selector, value, speed='normal', clear=True, timeout=None)kryptix_fill(selector, value, { speed, clear, timeout })Click the field, clear it, then type with real human-timed key events.
kryptix_type(selector, value, speed='normal')kryptix_type(selector, value, { speed })Like kryptix_fill but keeps what is already in the field.
kryptix_press(selector, key)kryptix_press(selector, key)Click the element to focus it, then press a key or chord on it.
kryptix_press_key(key)kryptix_press_key(key)Press a key or chord ('Enter', 'Control+A') on whatever has focus.
kryptix_type_text(text, speed='normal')kryptix_type_text(text, { speed })Type into whatever has focus (no clearing).

Forms and files

PythonNode.jsWhat it does
kryptix_select(selector, label=None, value=None, index=None, random=False, human=False)kryptix_select(selector, { label, value, index, random, human })Pick an <option> by visible label, value, index or at random.
kryptix_check(selector)kryptix_check(selector)Tick a checkbox / radio (does nothing if already ticked).
kryptix_uncheck(selector)kryptix_uncheck(selector)Untick a checkbox.
kryptix_upload(selector, files)kryptix_upload(selector, files)Attach local file(s) to an <input type=file>; no OS dialog opens.

Tabs and frames

PythonNode.jsWhat it does
kryptix_tabs()kryptix_tabs()[{index, url, title}, …] for every tab of the window.
kryptix_new_tab(url='about:blank')kryptix_new_tab(url)Open a tab and make it the active one.
kryptix_switch_tab(index=None, match=None)kryptix_switch_tab({ index, match })Activate a tab by index or by a substring of its url/title.
kryptix_close_tab(index=None, match=None)kryptix_close_tab({ index, match })Close a tab (the active one by default).
kryptix_wait_new_tab(timeout=15)kryptix_wait_new_tab({ timeout })Wait for a tab opened by a click or key (popup, target=_blank).
kryptix_frame(selector)kryptix_frame(selector, fn)Run commands inside an iframe: with kryptix_frame('iframe#pay'): · await kryptix_frame(sel, async () => {…}).
kryptix_exit_frames()kryptix_exit_frames()Leave every iframe.

Dialogs, downloads and extras

PythonNode.jsWhat it does
kryptix_dialog(mode='accept', text='')kryptix_dialog(mode, text)Policy for alert / confirm / prompt: accept, dismiss, prompt, off.
kryptix_wait_download(timeout=60)kryptix_wait_download({ timeout })Wait for the next download; returns {filename, path, size}.
kryptix_screenshot(path=None)kryptix_screenshot({ path })PNG of the browser view (bytes / Buffer); also saved to path when given.
kryptix_pick(timeout=60)kryptix_pick({ timeout })Let the human click an element in the browser; returns its selector.
kryptix_behavior(**cfg)kryptix_behavior(cfg)Tune humanization (moveBaseMs, typeMinMs, …) and the keyboard layout (kbdLayout='tr').
kryptix_cmd(name, **params)kryptix_cmd(name, params)Send any raw engine command from the command catalog and get its data back.

Need something that has no function? kryptix_cmd(name, **params) sends any raw engine command.