Firefox 59 - Failed: TypeError: cyclic object value
See original GitHub issueBug report
- Protractor Version:
5.3.1
- Angular Version:
1.6.10
- Browser(s):
Firefox 59
- Selenium:
3.11.0
When performing functions on a protractor element
object I get the following error.
Failed: TypeError: cyclic object value
Build info: version: '3.11.0', revision: 'e59cfb3', time: '2018-03-11T20:33:15.31Z'
System info: host: '3930699ecd58', ip: '172.17.0.9', os.name: 'Linux', os.arch: 'amd64', os.version: '4.9.87-linuxkit-aufs', java.version: '1.8.0_162'
Driver info: driver.version: unknown
So for example if I get an element objet with the following code and perform a click()
it throws the error
it('cyclic object value example', function() {
var obj = element(by.cssContainingText('.some-class button', 'Click me'));
obj.click();
});
Have been researching on the internet and it seems to be an issue is when JSON.stringify
is executed on object with a circular reference. It has been introduced since Firefox 59.
Issue Analytics
- State:
- Created 5 years ago
- Comments:9
Top Results From Across the Web
TypeError: cyclic object value - JavaScript - MDN Web Docs
The JavaScript exception "cyclic object value" occurs when object references were found in JSON. JSON.
Read more >Protractor Firefox 59 - Failed: TypeError: cyclic object value
We have multiple Protractor tests for our Angular JS app. We wanted to upgrade the Firefox version to 59 using Selenium 3.11.0. ......
Read more >TypeError: cyclic object value - JavaScript
The JavaScript exception "cyclic object value" occurs when object references were found in JSON. JSON.stringify() doesn't try to solve them and fails ......
Read more >TypeError: cyclic object value - JavaScript - W3cubDocs
The JavaScript exception "cyclic object value" occurs when object references were found in JSON. JSON.stringify() doesn't try to solve them and ...
Read more >TypeError: cyclic object value
TypeError : cyclic object value (Firefox) TypeError: Converting circular ... JSON.stringify() doesn't try to solve them and fail accordingly.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It has been fixed in FF 62
Hi, I am facing the same issue:
element(By.$(selector))
is throwing meFailed: TypeError: cyclic object value
.Any updates on this issue?