Open abrichr opened 1 year ago
Here are some questions and thoughts I had to address for some of these steps:
We can compare the screenshot captured during the replay to the screenshot captured during the recording(and subsequent screenshots) using computer vision tool such as OpenCV. The issue is how can we determine if its sufficiently different.
For the case when the user needs to demonstrate how to continue, we can use a desktop notification tool such as the WinToast library for Windows or the pynotify library for Linux(example below).
For waiting for the user to finish the demonstration (e.g. 10s of inactivity), we can use a Python timer such as the time module.
Also need to store this in the database, along with replays
When the replay strategy determines that the current Screenshot/WindowState is sufficiently different from the expected state in the recording, we would like to prompt the user to take over and demonstrate how to complete the task in that situation: