79446142

Date: 2025-02-17 17:24:07
Score: 3.5
Natty:
Report link

I am using RemoteWebDriver with Chrome, Edge and Firefox with .net.

In past month newly updated chrome and edge 131 and newer - in diffrent areas sterted to throw stalereference errors, without changing code - only browser has been updated. Switching to frame sometimes had to be done more than once to workaround such issues.

Now Firefox has been updated to v 135 and I have 'OpenQA.Selenium.JavaScriptException: Cyclic object value' right after element has been waited and found properly and same - only change was Firefox update....

It fails only on OpenQA.Selenium.Interactions.Actions and only on Firefox.

This is not related to finding element but to Browser update....

Right now only workaround I have came up with (and very ugly) is to override .Perform() function and all methods which are using it to call our Perform() with try{} catch{} block on JavaScriptException exception. It seems to work well even this exception is throwwed.

How to fix it globally? Some Firefox options to change latest Firefox to act as before with Actions?

Reasons:
  • RegEx Blacklisted phrase (1.5): How to fix it globally?
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: B8U