Skip to content
This repository has been archived by the owner on Nov 18, 2019. It is now read-only.

staleElementReference error on action class #207

Closed
ishah09 opened this issue Nov 28, 2018 · 1 comment
Closed

staleElementReference error on action class #207

ishah09 opened this issue Nov 28, 2018 · 1 comment

Comments

@ishah09
Copy link

ishah09 commented Nov 28, 2018

As we use action class for usually Click event. Somehow I am getting exception on each action class usage. It throws StaleElementReference exception on every action method, Not working for single instance.

Element does not able to click while Debugging also. When I replaced it by simple Click() method, It worked fine. But, I can't use click method based on some other exception dependency.

What could went wrong,

using OpenQA.Selenium.Interactions;

Actions action = new Actions(driver);
action.MoveToElement(WebElement).Click().Perform();

Selenium version : 3.14
Selenium Chrome WebDriver : 2.43

@lmtierney
Copy link
Member

This is a question rather than an issue. Please send questions to the selenium user group.

For issues please provide a concise reproducible test case and describe what results you are seeing and what results you expect. See CONTRIBUTING.md

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants