During my experimentation, I discovered that several modals and dropdowns in my tests open with their input boxes automatically focused.
I found a way to verify if an element is in focus, but I'm wondering if there's a quicker method to input keys directly into the focused element without having to locate it each time. It would be convenient to skip that step altogether.