not able to run in chrome - selenium-rc

iam not able to run selenium rc with chrome.it runs fine in
firefox.Any one sucessful in running in chrome browser?

These links will help:
Sauce Labs: Available browsers
Google Groups: Selenium Users > Browser Strings
These are Browser Strings are available:
*firefox
*mock
*firefoxproxy
*pifirefox
*chrome
*iexploreproxy
*iexplore
*firefox3
*safariproxy
*googlechrome
*konqueror
*firefox2
*safari
*piiexplore
*firefoxchrome
*opera
*iehta
*custom
*googlechrome
This is Google Chrome and not to be confused with *chrome which is
actually Firefox.
*chrome
This one is a little confusing. The 'chrome' of a web browser is the
usable space for the web page. That is, if the display is 1024x768,
the chrome will be smaller. The title, menu, toolbars, status bar,
etc. will reduce the usable space, i.e. the chrome. Google Chrome was
called Chrome because one of the main goals was to maximize the
chrome. Selenium was using the keyword *chrome before Google Chrome
and it was using it for Firefox.

Are you using *googlechrome as the browser string? If so, you need to be using 2.0a6. Chrome is utterly broken in 1.0.3 and 2.0a7.

Related

error parallax effect in firefox but works on google chrome

I need your help my website is not functioning properly on firefox browser but in edge, chrome and opera and safari it works only firefox is not functioning properly
Firefox Browser
Google Chrome Browser
I would recommend setting up all your projects in Xampp or something similar first before testing it. If you are going to upload to a server you need to replicate the environment locally before you decide whether it is going to work or not. It seems complicated but it is quite simple, you can find out more here. https://www.apachefriends.org/
That said, check your urls, they are not the same for your two different screens, the one is referencing an anchor tag.

What is the alternative for window.performance.getEntries(); in FireFox and Safari?

IE and Chrome offer window.performance.getEntries(); to get information about performance of entities in a webpage.
In both FireFox and Safari, this command is undefined when I try to use it from the console.
So, my question is: what is the alternative in FireFox and Safari for this functionality?
EDIT:
I'm using this command via Javascript. Hence I need an alternative also for other browsers.
CanIUse says something for resource timing (which is part of what youre asking): http://caniuse.com/#search=resource timing
Also it says
This feature can be enabled in about:config, search for dom.enable_resource_timing flag
By default it is turned off, you'll have to ask your users to switch it on manually, or to write a plugin for this purpose
Now window.performance.getEntries(); works fine in Firefox, but the problem remains for Safari.

How to open browsers in private/incognito mode with selenium?

I'm writing Selenium tests in Ruby to test my website in multiple browsers.
However, the tests won't fire correctly unless the cookies are clear(there are triggers I'm testing that only happen X number of times and is stored in a cookie).
Does anyone know how to have selenium open a browser in its private browsing or incognito mode with Selenium or have another idea on how I might solve the issue?
You can get Chrome to start in incognito by default.
There's a solution for Windows at the bottom of the link below... If you're not using Windows, you can Google how to achieve this for you OS =)
https://productforums.google.com/forum/#!topic/chrome/sYaZkNW8II4

Google chrome frame - how does it work?

I'm looking into chrome frame and I'm wondering how it works.... http://scriptsrc.net shows that it's a javascript that can be embedded on the page....
http://code.google.com/chrome/chromeframe/ shows it as an install file... does the JS prompt for an installation or something?
Google chrome frame is a plugin (think Adobe Flash) for Internet Explorer, that replaces core modules of IE (unlike Flash), like layout/rendering and javascript. But the UI remains. Then there is some javascript that can detect if this is real IE or IE+Chrome, and also offer an install option to the user. Also there is a HTTP-header and a meta-tag that are required to switch IE to chrome mode, when available.
The JavaScript is to detect it and enable it if it's there. (scriptsrc is just giving you the link to the file, which is on the Google CDN.) The end user does have to do a one-time install of it, it's a plug-in (like Flash or Java). Quoting from this page in the Google documentation:
In Internet Explorer, check() determines if Chrome Frame is installed. If not, the user is prompted to install it.

Ways to get list of extensions in Firefox, Safari, Google Chrome or Opera?

I have small idea to add social to extensions galleries (show suggest via Facebook friends), but I never develop any extensions, so I want to ask professionals.
Do your know ways to get list of extensions in Firefox, Safari, Google Chrome or Opera?
Opera has no such feature. We are concerned that the list of extensions is private information the user may not want exposed, and we are unsure if it might have security implications to share this information, so it's not likely to happen.
Firefox:
https://addons.mozilla.org/en-US/firefox/addon/extension-list-dumper/
Safari: ~/Library/Safari/Extensions/Extensions.plist
Chrome: chrome://extensions/
Opera: Ctrl+Shift+E
Chrome: Use chrome management APIs Chrome Management
chrome.management.getAll(function callback)
Firefox: Use AddonManager APIs AddonManager
AddonManager.getAllAddons(function(addons)
In Firefox, you can use MR Tech Toolkit to do that.

Resources