Google Chrome shows no text/fonts when opened with selenium - python-3.x

So i was using some python scripts for automating some stuff in google chrome. Since yesterday i experience a really strange bug. When i use
the script to open Google Chrome via selenium, all Websites look like this:
Screenshot
I blurred out the faces, they get displayed perfectly. But there is absolutely no text getting displayed, not even in console. This worked for
weeks now and all of the sudden it looks like this.
Any Ideas how to fix it?
I tried reinstalling Chrome and chromedriver, without success.

Updating to Google Chrome Version 68.0.3440.25 (Build officiel) beta (64 bits) fixed my problem

Change your system language to English to solve this problem

have a look if the disable-gpu comand line flag for chrome helps you
https://github.com/karma-runner/karma-chrome-launcher/issues/183#issuecomment-401820926

Related

Network not showing up in the Chrome Extension Background Page on Manifest v3

I feel really stupid but for some reason I cannot find the Network tab in my DevTools anymore... It's been there on the new Manifest v3 before, just somehow disappeared today for me and I can't seem to get it back. This is how my DevTools look like, any idea how I can get the Network tab back?
It shows in the regular Chrome Inspector just fine and in my other chrome extensions I have installed as well, I just can't seem to find it on mine for whatever reason.
As mentioned in the post's comments, it was indeed just a Chrome bug...
https://groups.google.com/a/chromium.org/g/chromium-extensions/c/8XH_QsYK2nI

Python - Using a browser other than Chrome with webbot package

I am new to programming and my first task, which should be really simple, is to automate a proccess, where I log in in a website with my credentials, I click on some buttons and that is it. I am using Python 3.6 on windows 10.
I am trying to do it using the webbot module, which so far has come really handy but I have one big problem.
The standard browser for webbot is Google Chrome and thus the site always opens with Chrome. I need to open the site with Internet Explorer.
I have set IE as default browser, but nothing changed, Chrome would still open.
I deleted Chrome, but then when I would run the programm nothing would happen.
I checked the init.py file and the drivers folder of the module and I think that this module can only work with chrome.
Is it possible to use IE or does this mean that this package does not support this browser at all?
Which alternatives would you suggest?
Edit: If I am not mistaken Selenium does not support IE11 on windows 10, so that is not an option, unless I am mistaken.
Thanks in advance
There is no support for another browser other than Chrome (as far as the webbot module is concerned).

Instagram captcha error on new app creation

When I try to create an instagram client (developer side), I'm always getting the same error:
Captcha invalid, please try again
Submission error: please fill out all required fields.
All fields are correctly set and captcha is good. (I tried many times, but always same error)
Someone have a solution for me?
If you look at the console, we can see there is an error related to "Content Security Policy" which avoid loading google captcha script :
Based on this answer there is no easy way to disable "Content Security Policy" in Chrome except by using an extension.
Such an extension is available here : Disable Content Security Policy [Google Chrome extension]
Once the extension is active, the instagram form loads without errors and should look like this :
For security reason I highly recommend to uninstall the extension once the app is created.
I am getting the same errors, tried different browsers and even computers, no luck. I think its broken for everyone...
Edit: To clarify this is the form with the broken Captcha https://www.instagram.com/developer/clients/register/ and seems to prevent any new clients from being created.
Edit2: Tried the following devices
Win10 w/ Chrome v61.0.3163.100
Android 7.12 w/ Chrome v61.0.3163.98
SUCCESS: Worked only on a MacOS(Sierra 10.12.5) with Safari. Tried with Chrome v60.x and still did not work on the Mac. Only Safari seems to work.
Just go to your Google Chrome in your mobile phone (mine is Android) and it should work.
It worked for me ;)
Well. I found a solution.
I had the same problem. Simply do that from your cellphone and it works.
Update: The Android Chrome version that I used is: 61.0
https://www.instagram.com/developer/clients/register/
This form is broken, throws below error:
The captcha solution was not correct. Please try again.
Submission error: please fill out all required fields.
For those who just want the access the api and dont need a client id this is a workarround.
I mangaged to get an access_token through http://instagram.pixelunion.net/
So i can still load images from my profile on my site
https://api.instagram.com/v1/users/{userid}/media/recent/?access_token={generated_accesscode}
It worked for me in a Incognito window in Google Chrome
The captcha doesn't event show up for me on any browser on OS. Mobile or desktop. In the end I just didn't use a client ID and the user Id and access token seem to be enough for me to access my feed.
https://codeofaninja.com/tools/find-instagram-user-id
http://instagram.pixelunion.net/
You have to press enter after typing your redirect_url.
Don't just click or tab to the next field.
I solved this issue by inserting a longer value in the description form input and by using the Firefox browser... What a joke !
I don't understand the matter but it's the only way I found.
I hope it will help someone here.
I tried Android app, Android Chrome, Android Firefox, and Laptop's Chrome. None of them worked... Finally I tried Laptop's Firefox and it worked like a charm... I happened to get a captcha with 3 words. Actually it was 2 signs but the second one has a road name and a number.
It works on latest version of firefox (v 55.0.3 32-bit) for me on windows 8.1.
Tried on android chrome, but that would not even let me open instagram.
I just finished creating couple of applications.
It worked for me using Chrome on macOS High Sierra. Chrome version is 61.0.3163.100 (Official Build) (64-bit).
Worked immediately on Firefox without a hiccup.
Firefox:55.0.3 (64-bit)
OSX Sierra: 10.12.6 (16G29)
Didn't work on Safari or Chrome.
Hope it works for you.
I tried different OS (Windows/Linux/Mac OS/iOS/Android) and browser (Chrome/Safari/Firefox/IE) combinations with absolutely no luck. I contacted instagram and reported this issue and I recommend you do the same.
In the meantime, I found this temporary workaround. I went ahead a generated an access token using this link: Instagram Pixel Union
Now I can continue doing the development work while waiting for the response from instagram. I also sent the request to them for information
I got the form to successfully submit the first time round using Mac OS Sierra 10.12.6 in Firefox 54.0.1.
No version of Safari or Chrome would work for me.
Had the very same error:
The captcha solution was not correct. Please try again.
Submission error: please fill out all required fields.
Hope Firefox solves the issue for all.

Google Chrome DevTools elements search not working

Since about a week ago, I haven't been able to search for elements or the contents of an element in Google Chrome DevTools. Did the latest Chrome update break this functionality or has something else changed that I should be aware of?
I first thought I had accidentally changed some of the DevTools settings, but now the same thing started happening on my other dev machine as well, so I think it must be a bug in the latest update?
Is it just me? :)
EDIT: After a few days of wondering what could be possible causing this.. it just started working again after I restarted my Win 7 machine. The simplest fix the best fix, huh?
On another note, if the error starts happening again, I'll need to dig deeper as what might cause it and file a bug if necessary.
For now, it works and I'm happy :)
No results in DevTools element search. Here is a screenshot:
I solved that by disabling "Adblock Plus", it worked in 3 browsers I tried.
This is a legit bug. Thanks for reporting it. It's being tracked here: https://code.google.com/p/chromium/issues/detail?id=426815
As of November, it's been fixed in tip of tree (Canary) and has been merged to the beta branch (39).
(Originally answered by vsevik, an engineer who develops the DevTools, however the post was deleted by moderators.) :/
I had the same issue, search wasn't working, because I couldn't see the page. When I clicked on the page, under the Sources tab, I got a blank page. What worked for me was refreshing the page in Chrome. After that, the code showed up in Developer Tools, and I was able to search the code. This seems to be a Chrome bug.

Aptana is opening multiple browser previews

I installed Aptana on my work computer today, but when I open the preview it seems to open two browsers. One of which showing the page I requested, while the one on the left is just an empty browser window. I've google'd my face off but can't seem to find anyone with the same issue. I know this is probably just a simple setting but it's eluding me. Here's a screencap of the issue.
http://imgur.com/b0rbvKQ
Thanks in advance!

Resources