1) We need to develop a library in Python for web ui testing.
The library should emulate the actions of the user (only the mouse and keyboard)
using win32 API by sending messages to the browser window(only Google Chrome).
For example if you ask library simulate user type "Hello world!", the library should send the same win32 messages to target window as user types the above.
win32 Python library can be used to generate & dispatch messages to target.
2) Tests should be provided.
You can make a simple html page with several elements,
install a handler to all events and
store them as JSON in some document database (eg MongoDB).
Then, perform the actions on the page as a user in the usual way, then in the emulation mode.
We already have a C ++ version of the library,
it works by generating win32 messages and dispatching it to a target browser window.
This work requires care as the desired event must be correctly generated with the necessary parameters (all the events as they are can be seen by the utility from Microsoft)
If you are seriously considering the job, and can do so please write exactly as you see a preliminary prototype of the library and testing.