How to programmatically enter a code on a website that comes via SMS? The task is simple, but consists of three subtasks