Our team are working on a automation project with Chrome and we are facing a problem regarding to Chrome.
We have like 1000 scripts with so many test suite, each test suite setup is opening Chrome Webdriver process and at the end - Suite teardown will close and end the Chrome Webdriver.
But sometime, Chrome (or Chrome driver) crashes with 2 common reasons (I didnt captured the correct issue but when I face it again, I will report here).
This make the other suites fail, because they cannot open Chrome again.
About this issue, have anyone dealed with it before? Could you please give me a suggestion to resolve it?
Related
I'm new to Cypress and recently started implementing e2e tests for our system. A peculiarity of this system is that the authentication happens on a popup window.
I've already successfully created a simple test that loads the site, waits for the authentication to complete and then asserts that the page title is shown. This test runs without errors using the cypress client (cypress open), but when I run it in headless mode (cypress run --headless) the test fails.
When I see the video from the headless run, I don't see the popup window appear like it does when I run it with the GUI. Has anyone else had an issue like this where popup windows don't show on headless mode?
I also found this bug on the Chromium site related to issues displaying popup windows in headless mode, so it might be related to that, but the bug appears as closed.
I'm using Cypress 6.1.0 and Chrome 87
Thanks in advance for any help.
This was being caused by an issue with the integration of my website with another service that for some reason only occurred on headless mode. After fixing that, it works ok.
I'm running Google Chrome on Windows 10, latest editions. Chrome refuses to open any pages, returning "Aw snap" error messages. To resolve this I've:
Removed all extensions.
Uninstalled and reinstalled Chrome.
Tried Chrome on a different user.
Ran Chrome Cleanup Tool.
Deleted my Google folder in Appdata.
Incognito pages don't work either.
None of these worked. Firefox at all times is working perfectly so its not an internet problem.
Anyone have any ideas on how to fix this?
Please follow below steps, to resolve "Aw snap" error messages with Chrome browser.
Steps To Resolve:
Go to Chrome shortcut in the Desktop (If not exists create one)
Right click -> Properties
In the target field, At the end add a space followed by the below -no-sandbox
Apply-Ok
Launch chrome using the shortcut
Follow the below steps
Go to windows task manager
go to details tab
kill all the chrome process
run the chrome it will open
It is likely that malware is trying (and failing) to modify the page that is loading. I've also seen this as a symptom of machines that had nasty redirect malware removed, as the redirects that the malware creates no longer have anywhere to resolve.
I highly recommend a fresh Windows 10 install, only way to be sure you're fully free of whatever may have infected your current Windows installation.
I am trying to run UI tests on Selenium. The website runs on SSL. When using Chromedriver, after login, the page keeps on loading and shows "Establishing secure connection" and then eventually times out. Chrome also shows the yellow triangle before the URL in the browser. However, I don't see the yellow triangle when I log into the website using Chrome outside of this. I further noticed that the standard settings in Chrome are not the same as the Chrome instance that opens up when Chromedriver fires it, not sure why.
Can someone tell me what might be going on here and how I can fix the issue?
It may be chromedriver issue. Try to downgrade it. Version 2.12 helped us with similar problem.
https://sites.google.com/a/chromium.org/chromedriver/downloads
I have been having an issue lately with Google Chrome. Some sites, seems to be completely random, are returning a 503 Service Unavailable error message. The last one I received was from my hosting provider when trying to access my CPanel. I can access the same URL completely fine in Firefox or IE. It seems to be isolated to Chrome.
I have tried the following:
Disabled all extensions
Logged in/out of my Google account
Cleared all cache and history
So far, nothing seems to correct the issue. It's becoming more and more aggravating from what was once a pretty reliable browser.
I am running:
Windows 7
Chrome Version 36.0.1985.143 m
I was hitting the same issue. Mostly, it would occur on intranet sites at work, but it happened with a few exterior sites. Loading in IE Tab would work fine.
I was able to solve the issue by upgrading to 64-bit Chrome. I'm not sure why that fixed it, but I think it had something to do with a conflict between Java and Chrome (It looks like I have both 64bit and 32bit Java installed side-by-side).
My solution:
Uninstall Chrome with clear personal data option selected
Install Chrome again but without admin right (install for your personal
user)
Use Chrome as normal
Running selenium tests using chrome driver, everytime the browser starts up I'm getting a notification balloon about added persistent background apps and then the test hangs it doesn't even appear to time out.
Anyone else seeing similar issues?