Blank screenshots while using Codeception with Laravel module enabled - laravel

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.

Related

Use specific flash player version in browser in cypress CI E2E

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

After using Selenium on macOS, Chrome isn't the same

I installed selenium and used a python program to run chrome using selenium on my MacBook Air. Before there was an error on selenium, and after installing googlechrome drivers for selenium and creating a PATH using terminal, it opened a separate google chrome page that showed Chrome is being controlled by automated test software.
After around 30 minutes of running python and using selenium, I saved and closed out of everything.
In the next 2 minutes, I reopened Google Chrome to search something about web scraping, and the browser was the same one used by selenium. It still showed the Chrome is being controlled by automated test software notice, and there was a Chrome Automation Extension.
I tried:
logging in and syncing, but syncing was not available.
opening Google Chrome from application folder and dock, but nothing changed
deleting Google Chrome and reinstalling, but nothing changed
I don't know how to fix this. Can anyone help me?
Thanks in advance!
Ok, so I found out that the chromedriver was still running in the background. After I closed it using activity monitor, the problem was solved.

Bootstrap breakpoint not triggering on ONE machine

I have a Bootstrap navbar that has a breakpoint of 767px.
One particular tester, using Google Chrome does not get the navbar breaking when amending the screen width using Developer Tools. Same Chrome version as everyone else (54.xxxx) who gets the correct behaviour. Instead, it breaks at 691px
Obviously this is a machine setting rather than Google Chrome. What could the setting be (Windows 7)?
Many thanks
This behaviour was due to the zoom ratio on Chrome. The user had it set to 90%

Flash Debug not displaying properly in Firefox Linux

I installed the debug version of flash using the script given in this link. Alternatively, I also tried downloading the debug version of flash from here and moved libflashplayer.so to /usr/lib/mozilla/plugins but still it gives me problems viewing flash contained.
P.S. - In about:plugins page on firefox it says that Flash is installed and enabled.
While trying to view flash content, the following is being displayed:
(On Adobe's website)
(On this website.)
What am I doing wrong? How can I fix this?

Google chrome frame - how does it work?

I'm looking into chrome frame and I'm wondering how it works.... http://scriptsrc.net shows that it's a javascript that can be embedded on the page....
http://code.google.com/chrome/chromeframe/ shows it as an install file... does the JS prompt for an installation or something?
Google chrome frame is a plugin (think Adobe Flash) for Internet Explorer, that replaces core modules of IE (unlike Flash), like layout/rendering and javascript. But the UI remains. Then there is some javascript that can detect if this is real IE or IE+Chrome, and also offer an install option to the user. Also there is a HTTP-header and a meta-tag that are required to switch IE to chrome mode, when available.
The JavaScript is to detect it and enable it if it's there. (scriptsrc is just giving you the link to the file, which is on the Google CDN.) The end user does have to do a one-time install of it, it's a plug-in (like Flash or Java). Quoting from this page in the Google documentation:
In Internet Explorer, check() determines if Chrome Frame is installed. If not, the user is prompted to install it.

Resources