Commit Graph

11 Commits

Author SHA1 Message Date
Larsen Cundric 02dd650a19 fix: handle multi-character upper/lower in CDP typing
ord() raises TypeError when called on a multi-character string. Several
Unicode characters expand on case conversion ('ß'.upper() == 'SS',
'ffi'.upper() == 'FFI', 'ʼn'.upper() == 'ʼN'). Typing any of these caused
'Failed to input text via CDP: TypeError: ord() expected a character,
but string of length 2 found' and aborted the action.

Fall back to the original character's code point when upper()/lower()
returns more than one code point. The Windows VK code is only an
approximation anyway; the 'text' field passed to dispatchKeyEvent
carries the actual character.
2026-05-11 08:03:49 +00:00
Will-hxw 99e9a455e7 fix(element): redact sensitive values in fill() debug logging
Prevent passwords and other sensitive form data from appearing in debug
logs by showing "[REDACTED N chars]" instead of the actual value.

Fixes issue #4721 (security advisory)

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-23 23:19:31 +08:00
mertunsall 67d2f12665 default to PNG everywhere 2025-11-06 14:51:52 -08:00
Magnus Müller 9caa248316 Merge code7 branch changes 2025-10-21 18:55:54 -07:00
Saurav Panda eb6eee149a fix: Wrapped select() in try-catch to handle input types that don't support text selection 2025-10-16 16:42:18 -07:00
Saurav Panda 48e0cbb784 fixed clear issue when focus fails. 2025-10-16 16:10:48 -07:00
Magnus Müller 6d941a5dcc Rename Clear existing to clear 2025-10-05 19:32:39 -07:00
Gregor Žunič 804812500f migrated from lib functions 2025-09-17 08:09:24 -07:00
Gregor Žunič 942a00c109 CamelCase to snake_case 2025-09-16 19:42:26 -07:00
Gregor Žunič 5e05224ffb switched to browsersession input 2025-09-15 21:25:32 -07:00
Gregor Žunič 11d37dd68d v1 actor 2025-09-15 17:12:31 -07:00