How to use Google Chrome with Developer Tools with Selenium RC - google-chrome

I can open a google chrome browser like this:
selenium = new DefaultSelenium(Server, ServerPort,
"*googlechrome", DomainURL);
but it would be really useful to have it opened with the Chrome Developer Tools enabled, to be able to debug problems when developing the tests.
I can't manage to enable them, anybody knows about this?
Thanks in advance

You need to use a custom profile that have developer tools enabled. Selenium is starting Chrome with a new clean profile each and every time you use it. Selenium 1 does not offer a mechanism for overriding this. Selenium 2's ChromeDriver, however, can use an example profile.
You can try using Firefox with Firebug

Related

Automated browser based testing on ChromeOS

Is there a way to automate testing on ChromeOS? like selenium based test scripts for chrome browser running on a Chrome OS device ?
There are some google chrome extensions that provide similar capabilities. The first one that popped up in a Google search was this one: https://chrome.google.com/webstore/detail/ghost-inspector-web-test/aicdiabnghjnejfempeinmnphllefehc?hl=en-US

Unable to obtain chrome runtime in Puppeteer

I am trying to test an extension using Puppeteer. While Puppeteer shouldn't have chrome.runtime, on evaluating the automated browser runtime is also not available on Chromium as well.
The reason I ask this is because I can't use chrome because it doesn't allow loading of extensions using --disable-extensions-except. Any workaround this?
Again this question goes back to extension invocation using puppeteer. I was wondering if there is a way around this?

Facing issue while trying to run Robot framework script in google chrome browser

I am facing a Chrome popup while trying to run Robot Frame work script:
Microsoft Security Essentials wants to restore your Chrome settings to their
original defaults.
This will reset your homepage, new tab page and
search engine, disable your extensions, and unpin all tabs. It will
also clear other temporary and cached data, such as cookies, content
and site data.
In chrome extension, my developer mode is unchecked, whereas it should be checked.
The Robot Framework automation script is just to open the google Chrome browser and load google search page.
I am using Win 7 Home Basic OS.
I have attached screenshots.
It appears that most Chrome support specialists will ask you to run an anti-malware tool to verify that your system is running normally. These can be found by searching on the popup message.
One Reddit user commented that in his case the problem was resolved by altering the Windows registry:
I finally found a fix for this. There is a setting in the registry
that's causing it.
In the registry it's under
HKEY_CKU\CURRENT_USER\Software\Google\Chrome\TriggeredReset
Delete the TriggeredReset key and then close regedit. Fixed.
This is an API for 3rd party programmers who want to create cleaning
tools. But if the tool isn't written properly, the triggered reset
never gets deleted and we have it always asking.

How to attach debugger in chrome extension along with selenium?

Goal: I want to run an experiment in which I will open a list of websites and want to collect the scripts that are parsed on those websites. The way I plan to do is as follows:
using selenium webdriver I will open each website in chrome.
using chrome.debugger api I will attach a debugger and listen to Debugger.Scriptparsed event.
Problem: When I open a website in a chrome (loaded with my extension ) with selenium, it throws an error that another debugger is also attached to tab. I read here, it states that selenium webdriver is using debugger also. In that case is there a way to use these functions with selenium webdriver for chrome only?
Yes, the webdriver itself is working through the debugging protocol and you cannot use the chrome.debugger API or open the developer tools in the browser that is automated with selenium.

Interacting with firefox using an external program

I am looking for a way to interact with a web page and enter data to certain fields in it using an external program that interact with Firefox (or Chromium) web browser. The best I could find is the console commands for the browser, but they only let you go to a certain URL and not interact with the pages' content. I have also tried looking for some extension to do the job but I could not find any. Any suggestions?
You could create Chrome extension that communicates with your application via Chrome Native Messaging API: https://developer.chrome.com/extensions/messaging.html#native-messaging
Take a look at Selenium and the tools mentioned at Selenium alternatives?.