From Documentation

Jump to: navigation, search



For client-side debugging, developers must generate a predictable component id allowing client-side unit testing libraries access to the UI components. Simply define the following configuration in your zk.xml, ZK will generate UUIDs (Universal Unique Identifiers) by using the component id rather than a randomly generated UUID.


Then, the following component's UUID will be z_foo.

<textbox id="foo"/>


  1. unzip to your drive, and the location is SELENIUM_HOME.
  2. Go to the SELENIUM_HOME/selenium-server-1.0/ directory and launch
java -jar selenium-server.jar


The Selenium Remote Control act as a proxy, so, to have all the test run,you have to set up the browser proxy configuration. Create a proxy.pac as the one reported below. Go to Preferences > Advanced > Network > Settings and set automatic proxy configuration url to file:///path/to/your/proxy.pac

For windows users:In Internet Explorer you must specify the pac file with a slash less: file://path/to/your/proxy.pac


function FindProxyForURL(url, host) {
  if ( shExpMatch(url,"*selenium-server*") ) {
    return "PROXY localhost:4444; DIRECT"; //The Selenium Remote Control
  } else {
    if ( shExpMatch(host,"localhost") ) {
      return "DIRECT";
    } else {
      return "PROXY; DIRECT"; // or DIRECT like localhost if you have no proxy

Check that everything is working smoothly visiting for example,, and If everything is ok you must see the following error message for the second link.


/selenium-server/ Not Found


Powered by Jetty://

You have also to go in about:config and set to false the browser.sessionstore.resume_from_crash property.

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.