Let's use 'Ask Question' button of http://www.stackoverflow.com for this question.
Suppose, I perform context click on 'Ask Question' button, it'll result into appearance of context menu.
btn_ask_question = driver.find_element(:css, '.nav.askquestion li')
driver.action.context_click(btn_ask_question).perform
Now, I want context menu to disappear. How can I achieve this using Selenium WebDriver with Ruby? release method doesn't work.
Following is context menu image: