Webdriver :: contextClick(webElement) not opening the context menu?

The Action class implements the builder pattern Thus you can chain several calls to create one sequence of actions. To execute them, you must invoke perform() in the end: actions. ContextClick(webElement).perform() Your code does not execute the action.

The Action class implements the builder pattern. Thus you can chain several calls to create one sequence of actions. To execute them, you must invoke perform() in the end: actions.

ContextClick(webElement).perform(); Your code does not execute the action.

I would like to thank you for your reply. I do get your point that I need to use perform(). But not sure why action is not being exceuted.

The steps I used are WebDriver driver = new FirefoxDriver(); driver.navigate(). To("...."); Actions actions = new Actions(driver); WebElement webElement = driver. FindElement(By.Id(location)); actions.

ContextClick(webElement).method(); Am I missing something. Thanks, – user978301 Oct 4 at 13:38 @user978301: Sorry, your comment does not make sense. There is no method Actions.method().

Also, please edit your question if you need to amend/correct it. That way everyone sees your correction. – sleske Oct 4 at 13:46.

I did not check WebDriverBackedSelenium but I am sure it works for Firefox and MSIE starting version 2.8, check your version. As for changes in past Seleinum 2 releases, you can get more information on Selenium blog. Or look at this "extract" : rostislav-matl.blogspot.com/2011/10/rema... - there are slo examples how to use it correctly, just in case.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions