How to add proxy setting to webdriver

I had to run the Webdriver scripts on a Firefox and I had to use a particular proxy to get access to the QA/Dev environment. Here is the code that you can use to change the proxy settings.

FirefoxProfile firefoxProfile = new FirefoxProfile();
firefoxProfile.setPreference("network.proxy.type", 1);
firefoxProfile.setPreference("network.proxy.http", "");
firefoxProfile.setPreference("network.proxy.http_port", 80);
firefoxProfile.setPreference("network.proxy.ssl", "");
firefoxProfile.setPreference("network.proxy.ssl_port", 80);
firefoxProfile.setPreference("network.proxy.no_proxies_on", "");
driver = new FirefoxDriver(firefoxProfile);

Make changes to the PROXY_HOST – “” and the PROXY_PORT – 80. The PROXY_PORT is an Integer and PROXY_HOST is a String.

IE 7 Shortcut or Hot keys

Hot Key for View Source in IE


IE 7 Shortcut or Hot keys for Open links in a new tab in the background,Open links in a new tab in the foreground,Open a new tab in the foreground,Open a new tab from the Address bar,Open a new tab from the search box,Open Quick Tabs (thumbnail view),Switch between tabs,Switch to a specific tab number,Switch to the last tab,Close current tab,Close all tabs,Close other tabs

Keyboard shortcuts

Open links in a new tab in the background


Open links in a new tab in the foreground


Open a new tab in the foreground


Open a new tab from the Address bar


Open a new tab from the search box


Open Quick Tabs (thumbnail view)


Switch between tabs


Switch to a specific tab number

CTRL+n (n can be 1-8)

Switch to the last tab


Close current tab


Close all tabs


Close other tabs


Mouse shortcuts

Open a link in a background tab

Click the middle mouse button on a link

Open a new tab

Double-click the empty space to the right of the last tab

Close a tab

Click the middle mouse button on the tab

Internet Explorer market share falls below 60 percent for first time, according to NetApplications

NetApplications has just released its browser market share stats for the month of April, and there is something notable here: Internet Explorer has fallen to a “historic low” of 59.95 percent market share, losing about 0.69 points since last month. Google’s Chrome continues its assault on Safari, reaching a 6.73 percent share (while Safari nabbed 4.72). Of course, Internet Explorer is still so far ahead of the rest of the pack it’s hard to make these losses — however significiant — into a tragedy of epic proportions story for Microsoft, so we’re not going to do that. Keep in mind, as well, that NetApplications is not the only measurement of market share — and StatCounter, by comparison, currently estimates IE’s share at about 51.42 percent. Hit up the source link for the full battery of data.

Ranorex Recorder

The Ranorex Recorder is much more than the capture/replay application that you may already be familiar with. Its actions table editor allows not
only object-based capturing of user actions but also provides the
ability to extend and maintain existing recordings easily via the
integrated Ranorex repository. In addition to its excellent GUI object recognition, RanoreXPath ensures small and easily
maintainable recordings.

The main features include:

  • Capture and replay of any kind of user action
  • Integration of Ranorex repositories for object-based automation
  • Maintainable recordings via the actions table editor
  • Validation mode for use during recording sessions
  • Host and web applications support
  • Generation of C#, VB.NET and Python source code
  • Support for embedded and external/linked repositories
  • Generation of Ranorex report files for every replay
  • Support for execution via command line

iMacros for Firefox

Automate Firefox. Record and replay repetitious work. If you love the Firefox web browser, but are tired of repetitive tasks like visiting the same sites every days, filling out forms, and remembering passwords, then iMacros for Firefox is the solution you’ve been dreaming of!

This is quite similar to selenium ide.