Let's run tests with Selenium through the following steps:
1. To install the plugin, open Tools | Plugins, and install Selenium Module for PHP.
2. In the Projects window, right-click on the project node for your Calculator project. Select New | Other. The New File wizard is opened. Select Selenium and click on Next.
The first time you create a Selenium test, a dialog box opens, asking you to set a directory for the Selenium test files. This should be a separate directory from the PHPUnit test files; otherwise, the Selenium tests will run every time you run unit tests. Running functional tests, such as Selenium, usually takes more time than running unit tests. Therefore, you will probably not want to run these tests every time you run unit tests.
3. Accept the defaults in the Name and Location pages, and click on Finish. The new Selenium test file is opened in the editor and also appears in the Projects window.
4. The Run Selenium Tests item is...