Upload file using selenium, VirtualDisplay and dwm

I use this approach when I can not simply change the value of the file input tag.

We will run it console, so we should use PyVirtualDisplay with window manager (I am using gdm, you can try fluxbox it is easy to install but need more RAM then gdm) and Xephyr for debug. To run window manager we will use EasyProcess

So we will call File Upload Dialog, by clicking on element or button, then we simulate send keys with pynput and all these running in our console.

Python\Django Developer