I'm working with Cypress for E2E testing. I Wrote a test for a site that works with flash player 11.2 and above. My tests work fine and pass in my device browser but fail on CI because instead of expected page another page shows up that says you should use flash player 11.2 or above.
Can I set flash player version for chrome in cypress? If not can I install it? Or use Docker image?
Cypress: 5.0.0
Browser: Chrome 85
Related
Has anyone tried to automate Reddit website using Cypress 10? When I run my tests with "cy.visit('https://www.reddit.com')", my Test Runner just shows up for a moment with Reddit.com loading on the right hand side and immediately closes and then the Specs list is displayed. I can no longer see the Test Run results with Pass/Fail details nor the console. Any help?
I should add that when I use a lower resolution (that of a mobile device) with Reddit website, it works just fine and I can see my test passes. Does Reddit website when viewed on a web browser have elements that Cypress cannot read or access?
When I develop webVr content using A-frame , web vr work probably with oculus rift using nightly browser (powered by firefox)
Then after 1 day I restart my computer , Then non of web vr experience work (developed by me or by other ) in nightly browser .
when i test using
https://webvr.info/samples/test-vr-links.html
The message "WebVR supported, but no VRDisplays found."
so i have problem i don't know where it .
->then I install firefox developer edition (it support web vr)
and I try test , it work probably then crash message from browser appears
so what can I do with this problem ? any solution ?
Note :
-I use web vr and I try it many times this problem doesn't appear
- all oculus experiences from store work
-actually I uninstalled and installed Nightly ,this step doesn't solve the problem .
Have you ever tried installing WebVR Emulation plugin in your Chrome Browser?
With the Emulation plugin, you don't even need the VR device like Oculus Rift, which kind of handy for development directly on desktop non-nightly browser.
I'm running Selenium WebDriver 2.40 on my Mint 16 box. No remote, no VM, plain running. But then when I try capturing a screenshot of page for debug purposes via Codeception, I get white image, both with Firefox and Google Chrome driver.
How to fix it?
EDIT: Similar also occurs with PhantomJS driver, but it's transparent image instead of white image.
It was because I used Laravel4 module, which bypassed PhantomJS stuff.
I have chromium set as my default browser. Every time I run rspec and capybara my firefox browser opens. I prefer to use chrome/chromium for development and personal use, so how do I get chromium to start opening when I run tests?
You should use chrome driver for capybara. Please have a look at this answer:
https://stackoverflow.com/a/7512626/582792
I've created a test suite in selenium IDE using the example code from the website and when I right click and attempt to load the suite it tells me the test is empty. This is on latest stable ff for mac and selenium 1.07
It turns out that the open Test suite is under the menubar and the menubar title says firefox so I was confused. Had only used selenium on linux before. Found the openTestSuite and it worked like a charm now