chrome extension hangs in fedora - google-chrome

I have made a chrome extension. It is working well with other OS except fedora.
Extension have a popup window to select options , i observed that where ever i was using alert() to show some messages in popup.html file (the default_popup of extension); the browser as well as fedora hangs . Ultimately i have to restart the system .May be it is hanging due to some other reason but it is working fine in many other OS (I have tried in ubuntu , windows xp and 7) .Although in fedora 16 (with chrome 21) it stops hanging when i press esc yet why it is hanging ?Please suggest me any solution. Thanx in advance !

Related

Headless mode in chrome 97 is not working with windows auth

I use windows auth on build agent on teamcity
chromeOptions.AddArgument("--auth-server-whitelist=*");
chromeOptions.AddArgument("--auth-negotiate-delegate-whitelist=*");
And run autotests in headless mode.
chromeOptions.AddArgument("headless");
chromeOptions.AddArgument("window-size=1920x1200");
chromeOptions.AddArgument("--no-sandbox");
Everything has been working fine until Chrome was auto-updated to 97 version. After that my windows auth just stopped working(but it still works for runs without headless mode). I installed old Chrome version on my agents and it works again. But I want to continue both - get updates to Chrome and run my autotests in headless mode.
I tried to add some extra arguments but they didn't work.
options.addArguments("--window-size=1920,1080");
options.addArguments("--disable-gpu");
options.addArguments("--disable-extensions");
options.setExperimentalOption("useAutomationExtension", false);
options.addArguments("--proxy-server='direct://'");
options.addArguments("--proxy-bypass-list=*");
options.addArguments("--start-maximized");
options.addArguments("--headless");
Any idea how to fix this issue?
The Chrome command line arguments changed from whitelist to allowlist:
https://www.ibm.com/support/pages/change-kerberos-windows-authentication-registry-settings-chrome-and-edge-sso
Making that change seems to work for me.

VS2017 Chrome Browser Debugger "Object reference not set to the instance of an object"

I am having trouble debugging my web project using the Chrome Browser. I can only use IE to do my debugging. I did some "googling" to resolve this problem, and came across a few Microsoft threads that said to update to the latest version of VS2017, which I did. I use version 15.9.13 and Visual Studio 2017 tells me I am "up to date" when I check for further updates.
When I first updated VS 2017, it started working, and I could debug using Chrome (finally!). But now it has stopped working again.
I saw in other threads where people suggested deleting the .vs folder, which I did, but had no luck with that.
Google Chrome is up to date at Version 75.0.3770.100
I debug and run my application as "Administrator" so that shouldn't be the problem either. I also close all browsers before running the debugger, so Chrome isn't running elsewhere when I try to debug.
Is there any explanation why Chrome cannot launch when using debugger? I would really like to use Chrome because of it's superior "dev tools" and inspection tools. Any suggestions? Was sad to have it working only one day.
Having configured the same environment like yours(VS version and Chrome version) but can't reproduce the issue.I would think if something is broken in VS or maybe third-party extension is the causes this issue.
Please try:
VS repair and a reinstall of Chrome(don't forget to backup the bookmarks)
Uninstall or disable third-party vs extensions, this won't take effect until restart vs
Navigate to %LocalAppData%\Microsoft\VisualStudio\15.xxx directory, delete all ComponentModelCache folders in all 15.xxx folders.
Open your project in vs, changed the target browser from Chrome to IE. Then F5 and wait until it is finish. Stop it and change the browser back to Chrome. After that the error disappeared.
Also, create a new asp.net web app and debug it with Chrome browser to check if the issue persists. Hope it helps.

Chrome crashes all the time

I updated my windows 8.1 to windows 10 recently. Everything is fine except for Chrome. Chrome opens and crashes. How many times I reinstall, the problem remains the same. Do I need to wait for chrome update or is there a solution for this problem? Thanks.
run "cmd" as Administrator (search "cmd", right mouse-click, run as Administrator)
type "netsh.exe winsock reset", then reboot computer
After the reboot chrome started to work for me again. I found that in some forum and i just tried it out, since running in windows 8 compatibility modus did not work for me. Neither Chrome Canary (unstable chrome), which was constantly crashing.
Good luck.
I have been facing the same issue from past few days(almost a month). Following helped me to get my chrome work well...
Close chrome.
Open Windows Explorer and go to following folder path: %USERPROFILE%\AppData\Local\Google\Chrome\User Data
Delete the file named “Local State” in that path
Also rename a folder named "Default" to "Default.old"
Thats it your chrome works well.
Happy browsing.
List item
You can find more details in the follwing link. http://www.kitwall.com/wallalert/45d3hx4u6xwh22ckvxz35ayw5/=014ggvbnq6j5x

Intern keyboard tests have stopped working in Chrome

I have a test written with intern that worked fine on Firefox and Chrome until recently - possibly until a recent upgrade of intern. The following code correctly tabbed to an element on the screen that can be focussed, and when actioned with the [Space] key would cause a script event to trigger.
.keys(specialKeys.Tab)
.keys(specialKeys["Space"])
.end()
If I do this activity manually in either browser it works fine.
Now when I run this sequence of commands it works fine in Firefox, but not in Chrome. I have tried forcing an update of both Chrome and ChromeDriver and running again. This has not fixed the problem.
Does anybody have any ideas as to why this is occurring?
I'm using intern 1.7, Chrome 34.0.1847.137 and ChromeDriver 2.10.0. If there is a particular sequence of npm commands that gives a reliable and stable installation when one of the afore mentioned components upgrades that would be very useful.
This is a known issue with Chrome 34, caused by keyboard focus being stuck on the address bar. It is not a bug in Intern. More information can be found at https://code.google.com/p/chromedriver/issues/detail?id=762.

Running the iMacros Chrome plugin from Batch file

I have the iMacros plugin for Google Chrome installed and I want to be able to run a .iim file from a Batch file.
I have seen many options online but they all seem to work only if you have the actual iMacros program (not just the plugin).
For example, some solutions look like:
C:\Program Files\Mozilla Firefox\firefox.exe imacros://run/?m=test.iim
Also an option that seemed to originally have worked for pluggins was:
C:\Program Files\Mozilla Firefox\firefox.exe http://run.imacros.net/?m=test.iim
But this apparently has not been working for some years now.
Are there any options to opening a iMacro file from a Batch file, only having the plugin?
Thank you.
Well, it depends on the version and OS of your computer. If you are using Windows then you might want to check to see if that version is compatable with what you are trying to do. If you are using Mac then make sure your iOS is compatable as well. Different versions of OS do different thing. For example, Windows XP batch filing does things differently than from Windows 8.1 or Windows 7.
Another example:
:start
Color 0a
Echo hello world.
Pause
:end
Cls
Color 0b
Echo hello again.
Pause
This will work in Windows 8 because it allows for color changes when cls clears the screen. However, this will not work in Windows 7, or when I tried it didn't work.