有些菜单是悬浮菜单,鼠标点上去下级元素才会显示.比如在第一个菜单中选择后会触发二级菜单的某事件,触发二级菜单又去点三级菜单.. 最开始就用click element去点击了,可是菜单会缩回去,就有时候点的到有时候点不到.. 后来使用Wait Until Element Is Enabled .mouseUp.mouseDown.mouseOver之类的也没有得到解决. 触发 mouseover 事件 语法 $(selector).mouseover() 我也想过用JS去定,但是不同系统不同菜
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Typ