Yesterday everything was working fine for me. It broke just by itself. When I try to run an automated test with protractor, it runs Google Chrome, but over it appear a blank console. and nothing behind it loads. The URL behind it stays "data;". If I close that blank console, it opens by itself again. If I set the browser at the config file to be Firefox, it runs without any problem.
This bug appeared after the chrome update for many people, the solution that worked for me and other people in SO is reinstall protractor.
Did you try running webdriver-manager update to update the selenium and chrome drivers?
Related
I am encountering a strange issue in Chrome after receiving the latest update. Wherever I enter any URL such as youtube.com nothing happens no error nothing, just the page does not load.
Here is what I already tried
Uninstalled Chrome
Run a repair from control panel
delete the file local state under users/user/appdata/local/google/chrome/user data
Signed out of the browser
delete the file name master_preferences under c/program files/google/chrome/application
Installed an older version
But unfortunately unable to load any URL, also I did check the console logs and there are no data at all, neither 200 or 204
The funny fact is that it works if I do the following
Open in Incognito or lunch Chrome in compatibility mode and select Windows 8
The version I am running is 106.0.5249.91
Any ideas/suggestions?
Thank you in advance!
Manage to get it sorted by deleting the following folder: "C:\Users\useraccount\AppData\Local\Google\Chrome\User Data\Default"
I have been trying to get Cypress to run tests for about a week now, but I simply can't get past this chrome error talking about an extension blocking the cypress runner (if I run it in other browsers it also fails, although the other browsers simply time out and don't mention an extension - even so I'm not convinced it's a chrome issue). It loads the page fine but breaks on the first action, in this case clicking a login button from a portal.
I have tried restarting computer, reinstalling chrome, reinstalling cypress, reinstalling dotnet, re-cloning my entire repo containing cypress (3 times at least), and clearing web data (10 times at least). Other articles online have mentioned setting chromeWebSecurity = false in cypress.json but that has been the default for me since the beginning and this issue persists.
Thanks in advance for any help with this!
I use selenium to drive chrome to get some url, but it hangs for about 15 more seconds.
I found that chrome will try to connect www.googleapis.com, clients2.google.com or www.google.com:443. in my environment, google server is not accessible, so it hangs until the connects to google server all failed. this is disgusting. how can i fix it?
UPDATE:
I finally found a perfect solution, you can write a chrome extension and override newtab with:
"chrome_url_overrides":
{
"newtab": "newtab.html"
}
then set chrome start up page to newtab.
Becasue chrome will automatically disable extentions that is not uploaded to chrome extension store. You'd better use chromium instead.
Why not put www.googleapis.com in /etc/hoses (C:\Windows\System32\Drivers\etc\hosts on windows) and point to 127.0.0.1 so that it fails immediately?
I think this will fix the problem.
I try everything to disable chrome from connecting its servers but failed.
But I found a small trick to solve this problem:go to setting page and you can set a url when chrome starts. I set it to http://127.0.0.1:62333. Just a invalid url that failed immediately. this cannot disable chrome from connection its servers but the selenium does not hang anymore.
Strange problem happening with me for the third time this month, when i restart my pc it's being solved:
Google Chrome throws -Invalid Server Certificate- for any secured website like Facebook or live or even for Gmail.
I'm using the latest version of chrome.
Does anyone have the same problem!
I've found a solution, it's a bug in Chrome happens after the system's hibernate, i solve it without restart by killing the chrome process 'End Process Tree for chrome.exe'
I'm using Windows 7 Home premium, Chrome v18.
Its in news.. Google chrome hit by ssl bug.
http://www.slashgear.com/google-chrome-hit-by-ssl-bug-restricting-google-services-06221921/
We need to wait for security update.
Update:
after checking this bug report. I finally solved it:
You need to follow 2 steps only:
Delete all cache from chrome .
Close the chrome by pressing ctrl +w.
Looks like Chrome did have a bug at one point -
Close the site with cert issue.
Click on 3 dots at the top right to get to settings --> About --> update Chrome - It will ask you to relaunch for the update to take effect.. Accept.
Browse to the site again - if you still have an issue - Verify your certificate using sslshopper or Digicert SSL checkers free tools to make sure your cert is properly installed.
I'm working on a Chrome/Firefox extension which will be using the file API to store files locally. I'm trying to get an example up and running but I'm running into issues which seem to center around Chrome. Can anyone explain why this jsFiddle works fine, but the exact same code, when run from a local file, doesn't work. Please note that it works fine in Firefox, just not in Chrome. Any ideas?
Chrome has unusually restrictive web security; many things, like Ajax, won't work when run locally. This is one of them. You can get around this problem by either using a local websever, like #ephemient suggests, or you can run Chrome in unsafe mode for testing:
chrome.exe --disable-web-security
Yep. Chrome's SOP prevents just about everything in file:// from working[1]. Use a local webserver instead.
If you are using chrome. Start the chrome from command line with the flag
--allow-file-access-from-files
chrome doesn't support for accessing local file without this flag.