Problems encountered in self-learning python_Summary of reasons for positioning failure

This is a bit funny, because it can be clicked during the first playback, but I don't know if it is the network or what. The loading time is longer than the previous debugging time, and then there is a problem that the element cannot be located. At that time There are screenshots in the system, but I didn't check the screenshots and I always thought that the menu was using the iframe frame, and then I used the iframe method to solve it (of course it can't be solved) It took me a long time to find the problem, and then I set After the system wait time, it can continue to run smoothly.

Therefore, the reasons for the lack of positioning are summarized as follows:

1. The positioning path is wrong

2. The loading timed out or the page has not been fully loaded

3. There is an iframe frame

So it is really important to be careful, and to grasp the implicit waiting time of the system

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325259620&siteId=291194637