如何在selenium中单击右键不使用javascript和fireevent?
我有一个上下文菜单,我想在selenium测试中单击右键。我试着用 但是我失败了。我不知道java脚本。那么如何在硒中制作clikright呢如何在selenium中单击右键不使用javascript和fireevent?,javascript,selenium,contextmenu,seam,right-click,Javascript,Selenium,Contextmenu,Seam,Right Click,我有一个上下文菜单,我想在selenium测试中单击右键。我试着用 但是我失败了。我不知道java脚本。那么如何在硒中制作clikright呢 谢谢您尝试过ide的录制功能吗?它产生什么代码 搜索论坛,您会发现: 使用selenium.contextMenu(locator)我想像使用selenium一样使用。单击(“elementXpath”);或selenium。右键单击(“”);但我不能这样做。
谢谢您尝试过ide的录制功能吗?它产生什么代码 搜索论坛,您会发现:
使用selenium.contextMenu(locator)我想像使用selenium一样使用。单击(“elementXpath”);或selenium。右键单击(“”);但我不能这样做。