I am using Selenium webdriver. I am not able to select (say 2nd) option from the Options opened on right click.
In my current code I am able to right click on webElement but could not select an Option from the list that is opened after right click, as it disappears automatically.
Actions action= new Actions(driver);
action.contextClick(productLink).build().perform();
So with this code I am able to right click but the right click menu automatically disappears. I want to select say 2nd Option from Right click menu.
Please Help!!!
Question&Answers:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…