Automate Raiffeisen ELBA online banking: login/logout, list accounts, and fetch transactions via Playwright.
浏览器
revolut
Revolut web automation via Playwright: login/logout, list accounts, and fetch transactions.
它能做什么
Revolut web automation via Playwright: login/logout, list accounts, and fetch transactions.
技能文档
Revolut Banking Automation
Fetch current account balances, investment portfolio holdings, and transactions for all wallet currencies and depots in JSON format. Uses Playwright to automate Revolut web banking.
Entry point: {baseDir}/scripts/revolut.py
Setup
See SETUP.md for prerequisites and setup instructions.
Commands
python3 {baseDir}/scripts/revolut.py --user oliver login
python3 {baseDir}/scripts/revolut.py --user oliver accounts
python3 {baseDir}/scripts/revolut.py --user oliver transactions --from YYYY-MM-DD --until YYYY-MM-DD
python3 {baseDir}/scripts/revolut.py --user sylvia portfolio
python3 {baseDir}/scripts/revolut.py --user oliver invest-transactions --from YYYY-MM-DD --until YYYY-MM-DD
Updating Banker (Full Refresh)
To fully synchronize Revolut data into the banker archive:
# 1. Login (needs approval via Revolut App)
python3 {baseDir}/scripts/revolut.py --user oliver login
# 2. Export accounts + portfolios
python3 {baseDir}/scripts/revolut.py --user oliver --out /tmp/rev_accounts.json accounts
python3 {baseDir}/scripts/revolut.py --user oliver --out /tmp/rev_portfolio.json portfolio
# 3. Export transactions (separated by wallet and invest depot)
# Find Wallet IDs from the accounts JSON (e.g. EUR wallet, USD wallet)
python3 {baseDir}/scripts/revolut.py --user oliver --out /tmp/rev_tx_eur.json transactions --account --from 2025-01-01 --until 2026-12-31
python3 {baseDir}/scripts/revolut.py --user oliver --out /tmp/rev_tx_usd.json transactions --account --from 2025-01-01 --until 2026-12-31
python3 {baseDir}/scripts/revolut.py --user oliver --out /tmp/rev_invest_tx.json invest-transactions --from 2025-01-01 --until 2026-12-31
# 4. Import into banker
# Accounts and Wallet transactions
python3 ~/Developer/Skills/banker/scripts/banker.py import --bank oliver@revolut /tmp/rev_accounts.json /tmp/rev_tx_eur.json /tmp/rev_tx_usd.json
# Invest portfolio & transactions (must specify --account revolut_gia)
python3 ~/Developer/Skills/banker/scripts/banker.py import --bank oliver@revolut --account revolut_gia /tmp/rev_portfolio.json
python3 ~/Developer/Skills/banker/scripts/banker.py import --bank oliver@revolut --account revolut_gia --kind transactions /tmp/rev_invest_tx.json
# 5. Logout
python3 {baseDir}/scripts/revolut.py --user oliver logout
Recommended Flow
login → accounts → transactions → portfolio → logout
Always call logout after completing all operations to delete the stored browser session.
Notes
- Per-user state stored in
{workspace}/revolut/(deleted bylogout). - Output paths (
--out) are sandboxed to workspace or/tmp. - No
.envfile loading — credentials in config.json only.
相关技能
通过 Playwright 自动化 George(奥地利 Erste / Sparkasse)网银,导出账户、交易、SEPA 文件等 JSON 数据。
编写、调试与调优 Playwright 测试,涵盖定位器策略、追踪诊断与 CI 友好的超时配置。
Handle approved login, identity, checkout, donation, subscription, payment pages, and typed action approvals through the magicpay CLI.
用 CLI 驱动浏览器,凭稳定元素引用以省 token 的方式跑自动化。
把消息转发到任意 OpenAI 兼容的 AI 代理,并跨调用维持多轮会话。