How to stop chromedriver from opening settings tab automatically? - ruby

When I run ruby watir script for opening chrome browser, it also opens up another chrome tab with address "chrome://settings/help" and sets focus on that. How can I disable such additional tabs getting created?

Update: I updated the chromedriver to 2.33 that the selenium-standalone package uses and the config of the selenium server. The tab is not appearing anymore. You can try to update the chromedriver that your ruby script uses to 2.33.
If you need my Chrome version, it is currently 62.0.3202.89 (64 bit) for Mac OS.
I ran into this issue when I tried to used our selenium automation in nodejs. I tried the new chromedriver 2.33 but the issue persisted. I just downgraded my Chrome to version 59 at the moment until it can be fixed.

This has been fixed using the latest release: ChromeDriver 2.33. You can pick it from https://sites.google.com/a/chromium.org/chromedriver/downloads
We hit the same after last update of chrome: 62.0.3202.89

Related

Downloading Selenium Chrome Webdriver not working macos

I'm using selenium with python. I'm pretty sure my browser updated when I restarted my computer. When I ran my code it gave me an error saying the driver was not up to date with the browser. I went here to download the most recent version. I am using MacOS BTW. When I launched the executable it just gets stuck on "ChromeDriver was started successfully."
I would launch the executable and leave it there for 10 minutes and it would just get stuck on this. How can I fix this?
You'll have to download the same version of the driver as your chrome version.
To check your chrome version:
Click on the 3 dots in the top right corner.
Hover over the help tab and click on About Google Chrome.
You will be able to see your chrome version. Since my chrome version is 88, I would have to download driver version 88.
If you just updated chrome, your version might be 89.
I used to just run the executable but I guess that doesn't work? So according to this post you have to move it manually to the usr/local/bin folder. Going there I deleted the old chromedriver and replaced it with the new one.

Chrome dev tools completely blank & unresponsive High Sierra

For about a week, Chrome dev tools has been completely blank every time I try to use it on my Mac (screenshot). I have reinstalled it but to no avail. Once I open dev tools, the specific tab seems to break - I have to open a new tab to be able to navigate, and none of the dev tools tabs & buttons work, so I cannot use any of the suggestions included here:
Chrome dev tools console completely blank
I am using High Sierra 10.13.2 & chrome Version 63.0.3239.132 (64-bit)
Any tips would be greatly appreciated
Download Chrome Canary and see if the problem is fixed when you run the latest Chrome code. If it's fixed, then there was just some temporary regression that's causing Chrome to break.
If the issue is still there when you run Canary, file a bug!

Chrome not working after installation of JDK

I installed jdk-8u101-windows-x64 on my Windows 10 x64 in order to proceed with installing a Netbeans 8.1 all in one package, and after JDK was installed the system immediately restarted.
When the system rebooted, Chrome stopped working. Loading any page or even settings page now displays "Aw, Snap! Something went wrong while displaying this web page. Learn more - Reload".
Clicking Learn more or reloading does nothing. I tried disabling Defender and enabling again, didn't work.
Reinstalling, or restarting the PC multiple times didn't work.
Has anyone come across this?
Thanks.
I also have a Windows 10 x64 OS and just tried installing the JDK. It was JDK 8 Update 101 and my Google Chrome version is 53.0.2785.143. It did not force me to restart but I went ahead and restarted and when I booted back up I did not see the same issues that you were referring to.
This leads me to believe that it's something specific with your machine and nothing with the JDK or Chrome itself. It's possible that you have some chrome extension that is causing problems.
To fix the issue you're having first I would download and install the Chrome Cleanup Tool. If that doesn't fix the issue, you can try launching Chrome in 'safe-mode' like so:
Right Click, create shortcut, rename, right click go to properties and add - -incognito- with out the - in the target field on shortcut tab. Then apply and ok
Once you are able to launch Chrome in incognito mode, then you should be able to delete the extensions via the settings.
If that still doesn't work, then you will likely have to delete the user data for Chrome in your AppData and registry manually. To delete your AppData go to:
C:\Users\yourname\AppData\Local\Google\Chrome\User Data and delete the Default folder then relaunch Chrome.
To remove the extensions from the registry, Open regedit and go to HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Google\Chrome\Extensions and delete the keys there.
Sounds like broken Java libraries...
Try uninstalling Netbeans, JDK, Chrome, in that order.
Then installing Chrome again, try it out, then JDK, try Chrome, then Netbeans, try Chrome.
Also check that you have 32bit JDK and that your preferred Java is set to 32bit since Chrome is 32bit.

Installing vlc web plugin for chrome on mac

I want to install the vlc web plugin for chrome on my mac (Mountain Lion) . I could succesfully do it on Windows by just selecting web plugin at the time of vlc installation. However, on a mac I think the plugin comes as a seperate package. Can someone please tell me how to do it as I have failed after several tries
Until the stable version is released, you can install a recent nightly webplugin from http://nightlies.videolan.org/build/macosx-intel/?C=N;O=A.
It may have bugs, but it works for the few instances I've used it.
There is no compatible VLC browser plugin available on the Mac at this point. We re-wrote it over the cause of the last year and will re-release an entirely new version this spring along with VLC 2.2 for desktop platforms.
This currently works. Here is a step by step guide:
In your browser go to http://nightlies.videolan.org/build/macosx-intel/
and download the latest VLC-webplugin-*.dmg.
Today the latest file appears to be this VLC-webplugin-20150922-0538.dmg
Open the .dmg file (double click, and a popup window will appear), drag the VLC Plugin.plugin to the Internet Plugins shortcut; This location is really /Library/Internet\ Plug-Ins/
In the Chrome address bar type chrome://flags/#enable-npapi and press Enter/Return.
You will see a list of settings, with a blue link to disable or enable.
Click 'Enable', under 'Enable NPAPI Mac, Windows', (this Enables NPAPI Mac, Windows. It enables the use of NPAPI plugins.)
Restart Chrome
In the Chrome address bar type chrome://plugins/ and press Enter/Return
You should now see 'VLC Web Plugin - Version: 2.2.2'

selenium ide menu bar missing in linux OS

I am a selenium newbie trying to install selenium ide on my Ubuntu.
This is how i installed -
1. Open Firefox Browser
2. Goto http://seleniumhq.org/download/
3. Click on Download Version 1.9.0
4. Install and Restart Firefox
5. Click on Tools, find Selenium IDE and click to start.
Issue with Selenium IDE -
Selenium IDE is not installed properly, because I see no Menu Bar(File, Edit, Options, Help) when I open the selenium ide. So there is no way I can save, rename etc or access other functions.
Versions that I am using - Ubuntu 12.0.4, Firefox 14.0.1, Selenium ide 1.9.0.
Please let me know if I am not installing ide properly.
I appreciate all tips and pointers on how to fix this or any work around. Also please let me know if you find any information vague or need any more specific details about this issue.
Thanks for your time
Puvi
P.S - I tried uploading a screenshot of Selenium ide with missing menu bar, however, stakoverflow does not let new members upload images till they earn 10 reputations points!!
You can find the menu options on the browser menu itself. Just roll your mouse point over the menu bar of the browser while Selenium IDE's window is opened.
Instead of Firefox's menu options it will show Selenium IDE's Menu options...
The menu options for the Selenium Firefox plugin version 1.7.3 and 1.9.0 appeared for me.
I used Firefox 14.0.1 to test.
Download Selenium IDE 1.7.3 from https://addons.mozilla.org/en-US/firefox/addon/selenium-ide/
Install and Restart
Click Tool (at the top) then click Selenium IDE
Version 1.9.0 is available here.
http://release.seleniumhq.org/selenium-ide/1.9.0/selenium-ide-1.9.0.xpi
If you're still having the issues, then consider creating a new firefox profile and then reinstalling Selenium.
Or you could just install using a portable version of Firefox located here.
http://portableapps.com/apps/internet/firefox_portable/

Resources