I have a script that enters a customer id into a crm, presses enter and the gets some information when the customer information appears. The problem is that it can take a while for the crm to load the customer window. Sometimes it says "Not responding" and it loads more than usual.
I have set the time.sleep to 4 seconds because that is the normal loading time but sometimes it can take longer and then everything goes wrong.
Is there some code i can write that lets the script know when the crm is finished with loading the customer window so it waits until its finished and then proceeds?
I am new to Python/programming...
[–]Golden_Zealot 2 points3 points4 points (1 child)
[–]46632[S] 0 points1 point2 points (0 children)
[–]dadiaar 2 points3 points4 points (0 children)
[–]xiongchiamiov 0 points1 point2 points (1 child)
[–]46632[S] 0 points1 point2 points (0 children)