https://cypress.io logo
Cypress can't open Chromium79 browser
# i-need-help
w
I downloaded Chromium 79 browser and trying to run it through cypress. Cypress just opening a blank page, without cypress automation tooling above it. Looks like cypress can't inject itself to this browser. I have like the same issue as here https://github.com/cypress-io/cypress/issues/24422 - but it closed without answer
w
The issue that was closed looks different, it’s in chrome 107 and has different errors in the console. It looks like we might be using some unsupported newer JS in the UI side. For Chrome 79, what is your experience using
cypress run —headed
? Also curious about the use case for testing older versions of chrome like this since most users will be on an evergreen version. Any info on the use case would be appreciated.
w
I'm trying to write tests for App that opens on SmartTV (LG/Samsung). These devices using Chromium 53/68/79 version. Some behaviour is different, some tags/css are not supported. --headed opens something like that (screenshot), and console like that(screenshot)
w
Thank you for the context!
I just checked our docs and we have documented that Cypress only supports Chrome 80 and above, so you will be unable to test earlier versions of Chrome with Cypress 10+ for the time being. I do think reintroducing support for older versions is on the cards, but I would guess not in the next few months. Use cases like yours are the perfect example of why this would be valuable though. In the meantime you do have access to older versions of Cypress - for example v9 supports Chrome 64 and higher, and earlier versions might have support for Chrome 53. I am not sure if there's a version that supports both 64 and 53 though. 64 changed things. You will have a more limited version of Cypress in terms of features, but it still may suit your needs. I have a feeling that writing and testing code for SmartTVs has many challenges, and I'm curious about what you will end up doing, so any updates you have are always welcome.
w
Thank you so much for clarifying. Does the docs on docs.cypress.io have version selector? Like pytest for example https://docs.pytest.org/en/latest/explanation/fixtures.html. Or maybe an archive.docs.cypress.io domain or something that i can use for guide myself while working with Cypress 9.*?
Here one more point. I can't find that Cypress is able to scroll down/up just once(or repeat some certain times). Not to a position or element. Just one mouse scroll up or down. LG TV have "Magic Remote" with pointer on TV, and this Remote have a scroll button. We are overriding that scroll in App to do some specific behaviour.
3 Views