selenium capybara, hover menu skip animate show

I have a website need test e2e, in each case, I must hover the main menu for sub-menu showing, then click goto next step.

Because only click sub-menu success after menu is hovered in 1.5 seconds, So every time I want to goto next page, I must pay 2 seconds for waiting sub-menu showing and click it.

Is there others ways to work around it? My test case running really slow now

Thanks 🙂


Source: ruby

Leave a Reply