Skip to content

Guides

Practical guides for common Oryn use cases.

Overview

These guides walk you through real-world scenarios and best practices for using Oryn effectively.

Quick Tips

Always Observe First

Before interacting with a page, run observe to get the current element IDs:

goto example.com
observe
click 1

Re-scan After Navigation

Element IDs change when the page changes. Always re-scan:

click "Submit"
observe    # Re-scan to get new elements
click "Continue"

Use Semantic Targeting

When possible, use text or role targeting for more robust scripts:

# Fragile: ID might change
click 5

# Robust: text is stable
click "Sign in"

# Robust: role is semantic
type email "user@test.com"

Handle Popups Early

Many sites show cookie banners or modals. Dismiss them first:

goto example.com
accept_cookies
dismiss popups
observe