我在我的网站上使用4链接(子菜单按钮)。每个链接打开一个DIV标签。 $('div[class*="my_"]').hide();$('a#submenu_1').click( function() {DIV if some of them opened before
$('div.my_submenu
,然后要触发单击事件的“子菜单1/2/3”。因为.hover()特性在柏树中不可用。我也尝试过以下命令,但也失败了。不会出现悬停或鼠标切换效果,当它试图单击“隐藏的Li (子菜单1/2/3)”时,会导致自动中断。cy.get("target the li/a").trigger("mouseover")
其中一个博客在搜索时发现,要与鼠标悬停在某个按钮或链接上可见的<