Using ATmega32U4 based Arduino board for building USB devices

hi guys: I have a question about building a USB device with Arduino pro micro board. Is that possible to use the keyboard or mouse library to detect the text field and button on a website?

Is that possible to use the keyboard or mouse library to detect the text field and button on a website?

No. What an application (a browser) has rendered on its window is not available to the mouse or the keyboard.