question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[🐛 Bug]: MoveToElement - RemoteWebDriver threw an exception of type 'System.InvalidOperationException'

See original GitHub issue

What happened?

Hi, I’m using code below for move to element, but actionExecutor returns an exception. Chromedriver version: 98.0.4758.48 win32 Can you help me, please? actionExecutor_exception

How can we reproduce the issue?

IWebElement element = driver.FindElement(By.LinkText(link_text));
Actions ac = new Actions(driver);
ac.MoveToElement(element);
ac.Build().Perform();


### Relevant log output

```shell
ac > actionExecutor

ApplicationCache = '((OpenQA.Selenium.Remote.RemoteWebDriver)ac.actionExecutor).ApplicationCache' threw an exception of type 'System.InvalidOperationException'
LocationContext = '((OpenQA.Selenium.Remote.RemoteWebDriver)ac.actionExecutor).LocationContext' threw an exception of type 'System.InvalidOperationException'

Operating System

Windows 10

Selenium version

3.14

What are the browser(s) and version(s) where you see this issue?

Chrome 98.0.4758.82

What are the browser driver(s) and version(s) where you see this issue?

ChromeDriver 98.0.4758.48

Are you using Selenium Grid?

No

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
mariankralcommented, Feb 17, 2022

Works with version 4.1 Thank you for advice, Titus.

0reactions
github-actions[bot]commented, Apr 7, 2022

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

MoveToElement - RemoteWebDriver threw an exception of ...
I'm using code below for move to element, but actionExecutor returns an exception. IWebElement element = driver.FindElement(By.LinkText( ...
Read more >
[Code example]-MoveToElement - RemoteWebDriver threw an ...
Best coding solution for query MoveToElement - RemoteWebDriver threw an exception of type 'System.InvalidOperationException'
Read more >
How to fix common Selenium errors? - Ultimate QA
System.InvalidOperationException : unknown error: Element is not clickable at point (111, 700). Other element would receive the click: <div ...
Read more >
[specflow] Unable to perform the action.movetoElement ...
'action.MoveToElement(elementToHover).Build().Perform()' threw an exception of type 'System.InvalidOperationException' Data: {System.Collections.
Read more >
ChromeDriver 90 and newer throws JavaScript Error on ...
When you upgrade to ChromeDriver 90 and newer, you can no longer use Selenium's MoveToElement() method. An error is thrown: *JavascriptException: Message: ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found