In one of my Selenium test cases, I have the problem that there are MouseOver effects that I don't want to have. This is what I do:
- Click on the "login" button (top-right of the page)
- Wait for page to load
- Click on the "buy" button in the search results (middle-right of the page).
The problem is, that there is a "shopping basket" link with a MouseOver effect right in the middle between "login" and "buy". So when I call Click() on the "login" button and afterwards on the "buy" button, I trigger the MouseOver, which opens a small preview of the shopping cart, which hides the "buy" button behind itself.
This goes for Firefox and MSIE. In Chrome, I don't have this kind of effect.
Any idea anyone?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…