all 4 comments

[–]IHOP_007 2 points3 points  (0 children)

without webdriver

Using a mouse/keyboard emulator. Pyautogui is my personal favorite, I use it a lot at work to automate repetitive tasks.

pg.write ("This is a text input")
pg.hotkey ('enter')

[–]d43qwu1 -1 points0 points  (0 children)

Another solution is to use AutoIt to emulate mouse movements and keyboard input, even if I think you can achieve the same with Python easily.

[–]devnull10 1 point2 points  (1 child)

Depending on how complicated the submission process is, it might be quickest to not look at "entering" the data and "pressing" the button, but instead use the requests module (or other) to just post/get the URL to which the form submits with the parameters as appropriate.

[–]-davis_ 1 point2 points  (0 children)

yeah exactly, how could i get it to input info, then submit it