Blurred screenshots in chrome browser - google-chrome

Please refer to the link to see what kind of screenshots I get - http://goo.gl/uDIyf3 instead of http://goo.gl/BQy1hI .
Not sure what could be wrong here as the same code has been working for me on other machines. The only possibility that I see is an issue with the configuration on the machine but can't find what that issue is.
The same scripts when ran in IE, it renders the correct screenshot, so it could be a chrome specific issue. Have uninstalled & reinstalled chrome but still the same.
I am using Selenium 2.28.0 version.
Please let me know if anyone needs more inputs my issue. Any hint to resolve this would be really helpful.
Have posted the same question on sqa as well - https://sqa.stackexchange.com/questions/9535/blurred-screenshots-with-selenium-webdriver
Thanks

I'm seeing this problem too. Here's the method that takes the snapshot. The same code works on IE9 but produces the mirrored screenshot on Chrome.
def screenSnapshot(self):
try:
if self.__snapshot_dir:
self.__WD.get_screenshot_as_file(os.path.join(
self.__snapshot_dir,
"screenshot-{}.png".format(time.strftime("%Y%m%d-%H%M%S"))))
return(True)
except Exception as e:
print("Exception: {}".format(str(e)))
return(False)
I'm using a remote webdriver. The node is running Windows 7 Enterprise with Service Pack 1 installed.
Any other suggestions I could try? I have the latest Chrome driver too.

Related

Copy as curl is not working anymore in chrome

For some time now, I'm not able to use the "copy as curl command" anymore. It's just an empty context menu, please see attached screenshot. Anyone else experienced the same issue?
I'm running chrome 90.0.4430.30 on a mac
Seems to be working fine for me on version 89.0.4389.90. I'm guessing that since version 90 is relatively new it has some bugs. Perhaps try downgrading back to the previous version or try reaching out to Google Support.

What does it mean "WebSockets (test): Failed by timeout"?

I use Chromium on Ubuntu and I see an error "The server encountered an error. Please try to reload the page" in loop when I try to access websites like grammarly.com, slack.com. I have also tried to access it on Chrome, Firefox but results were same.
I have also done numerous self-diagnostic tests which was recommended by Grammarly-Support, but nothing seems worth doing. Here is the test result:
Here is the console result:
It's been a year, and since then I've been facing this problem. Please help me to understand what is wrong. Any suggestion on this would be highly appreciated.
I've just observed a strange behaviour of app.grammarly.com.
In Firefox, when I'd disabled the following in proxy-setting:
FTP Proxy : Null
SOCKS Host : Null
I am able to access the app.grammarly.com successfully.
I get the same problem with Windows 10 and Chrome. I also contacted Grammerly and they said it was a connection issue at my end, second time they said it was my internet provider.
I find that it happens when I have multiple tabs open in Chrome. Closing most of the tabs and refreshing the page with Grammerly fixes the issue for me.
Hope this helps to find your solution.
-Tina

This webpage has a redirect loop (ERR_TOO_MANY_REDIRECTS)

We have a site that is not working in Google Chrome V44. It works well in IE and Firefox. All of sudden after updating chrome browser to V44, we unable to login to the system and just receiving this problem.
We're trying to figure out as why this is happening. We have 2 instances of our system in our server. Our live site is the one that is not working in Chrome V44 while the other - our demo site is fine. The only difference of the these sites is that our live has SSL. So our first impression is that there's a problem with Chrome V44 with our site with certificate.
I think Chrome can't establish secure connection with the site.
Has anyone experienced this issue?
Please help. Thanks.
This is due to a SSL in Chrome V44 where it incorrectly sends a HTTP_HTTPS header to be set, however the HTTPS header is still set correctly. It has been quite widely reported: http://www.zdnet.com/article/brand-new-chrome-44-release-added-a-bug/
https://ma.ttias.be/chrome-44-sending-https-header-by-mistake-breaking-web-applications-everywhere/
In order to stop this, in PHP, I added the following to the very top of my index.php file:
<?php
if (!isset($_SERVER['HTTPS'])) {
$_SERVER['HTTP_HTTPS'] = 0;
}
?>
Ensuring there is no space between the ?> and the next
I've recently had the chrome redirect loop on gmail.
Possibly significantly, I was doing some work involving changing my system time and it hasn't worked since. This guide helped to do that.
There is an available work-around, which is to use gmail in incognito mode, which does still work, although requires you to log in each time
In that case I would say this is an internal problem with you organization's setup. I would speak with your SysAdmin or IT staff. But just to be sure, use your phone carrier's internet, or a cafe nearby, basically something off your network to check if you can reproduce the error.
The issue with my MVC solution was, i had recently updated complete Nuget packages in my solution. After the update i forgot to update
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
section with new dll bindings which installed while update. So in my hosting server due to connectionstring issue, i was not overwriting the current .config file. So once i did the update in assemblyBinding section in .config file the issue gone.
There might be many reasons for the redirect loop. If you are confident your setup is done properly without any errors, then it might be the issue with your browser. You can try the following
Deleting cache and cookies
Correcting your system time (if it is not set to automatic)
Resetting the browser
Source
You should be able to fix this problem, you can try to clear your cookies in your browser
Open your Chrome browser.
Type "chrome://settings/clearBrowserData" in the address bar and press Enter.
Make sure you are clearing items from the Beginning of time. Then select Cookies and other site data. Click the Clear browsing data button.
If find from google search, this tutorial could helps you https://windows10freeapps.com/fix-err_too_many_redirects-error-google-chrome-browser

Chrome - ERR_CACHE_MISS

Does anybody know what the following Chrome error is?
Failed to load resource: net::ERR_CACHE_MISS
I have had a look online, but have not found a good answer yet. Somebody said it might be related to the latest Chrome update?
What is it and how can I resolve the issue?
Cheers
If you are using WebView in Android developing the problem is that you didn't add uses permission
<uses-permission android:name="android.permission.INTERNET" />
Yes, this is a current issue in Chrome. There is an issue report here.
The fix will appear in 40.x.y.z versions.
Until then? I don't think you can resolve the issue yourself. But you can ignore it. The shown error is only related to the dev tools and does not influence the behavior of your website. If you have any other problems they are not related to this error.
This is an issue distinct to Chrome, but there are two paths you can take to fix it.
I noticed the error once I added this specific header to my PHP script.
header('Content-Type: application/json');
The error appears to be related to PHP sessions when sending response headers. So according to chromium bug report 424599, this was fixed and you can just update to a newer version of Chrome. But if for some reason you can't or don't want to update, the workaround would be to remove these response headers from your PHP script if possible (that's what I did because it wasn't required).
This is a known issue in Chrome and resolved in latest versions. Please refer https://bugs.chromium.org/p/chromium/issues/detail?id=942440 for more details.

Chrome DevTools [chrome://inspect] : 404 Not Found The resource could not be found

I used "chrome://inspect" for a few days. Everything was fine. Today, for some reason, when I click "inspect" the result is "404 Not Found The resource could not be found."
What could be the reason for this ?
I was able to find only this topic: https://code.google.com/p/chromium/issues/detail?id=329979
I guess the drivers are OK if the device appears ? I`m able to transfer files, to "focus tab" or "close tab" and "reload" but i can't "inspect".
Chrome Version: 37.0.2062.124 m
DevTools URL : chrome-devtools://devtools/remote/serve_rev/#180870/devtools.html?&remoteFrontend=true&dockSide=undocked&toolbarColor=rgba(230,230,230,1)&textColor=rgba(0,0,0,1)
Edit:
I tink this comment is important so...
A bug was opened in the Google tracker: Link Please star it! Remember that you don't have to add a comment to it if you don't have new information :)
by MM
Edit 2:
DevTools are actually broken for ANY kind of Android devices, regardless device's version, Chrome version or OS. URLs of such kinds - http://chrome-devtools-frontend.appspot.com/serve_rev/#180870/devtools.html - that must return DevTools code - now returns 404. That could be fixed by Google without any change in the Chrome code, it's completely server-side problem.
by vrid...#gmail.com at bug tracker
Edit 3: At this time http://chrome-devtools-frontend.appspot.com/serve_rev/#180870/devtools.html is OK but slow. I realy cant get why I need usb driver to send data over the internet... to this page just to debug.
I had the same problem, but it was caused by chosen AOSP WebView instead of Chrome Stable at Developer Options > WebView Implementation. If you do not have Chrome Stable option available, then try to install Chrome and check again.
Just had the same issue. VPN was on, turnning it off fixed it.
That was a cloud storage glitch. Things have reverted to normal since then.
After updating chrome version on Android device worked for me.
This still occurs and workaround is to open chrome://inspect and click on inspect link under Remote target assuming the command node --inspect server.js is already hit.
Workaround:
disable chrome updates. Instructions: https://www.makeuseof.com/tag/stop-automatic-chrome-updates-windows/
uninstall latest Chrome on desktop.
install previous version: (I used slimjet: https://www.slimjet.com/chrome/google-chrome-old-version.php)
Open chrome://inspect/#devices url and choose inspect-fallback instead of inspect.