call pyautogui click(to click the form and submit button call pyautogui write(to enter text into the fields handle the keyboardinterrupt exception so the user can press ctrl- to quit open new file editor window and save it as formfiller py step figure out the steps before writing codeyou need to figure out the exact keystrokes and mouse clicks that will fill out the form once the application launched by calling pyautogui mouseinfo(can help you figure out specific mouse coordinates you need to know only the coordinates of the first text field after clicking the first fieldyou can just press tab to move focus to the next field this will save you from having to figure out the xand -coordinates to click for every field here are the steps for entering data into the form put the keyboard focus on the name field so that pressing keys types text into the field type name and then press tab type greatest fear and then press tab press the down arrow key the correct number of times to select the wizard power sourceonce for wandtwice for amuletthree times for crystal balland four times for money then press tab (note that on macosyou will have to press the down arrow key one more time for each option for some browsersyou may need to press enter as well press the right arrow key to select the answer to the robocop question press it once for twice for three times for or four times for or just press the spacebar to select (which is highlighted by defaultthen press tab type an additional comment and then press tab press enter to "clickthe submit button after submitting the formthe browser will take you to page where you will need to follow link to return to the form page different browsers on different operating systems might work slightly differently from the steps given hereso check that these keystroke combinations work for your computer before running your program step set up coordinates load the example form you downloaded (figure - in browser by going to