Imagine that you have created a number of User Extensions and you would now like to use them in Selenium Remote Control tests that you have created by exporting your tests. The following steps will allow you to do this
Open a Command Prompt or console window.
Run the following command:
java –jar selenium-server-standalone.jar –userExtensions \\path\to\extensions.js -htmlsuite *firefox http://book.theautomatedtester.co.uk c:\path\to\testsuite.html c:\path\to\results.html
We have just seen how we can use User Extensions with Selenium Remote Control. This means that our applications can not only be used on different browsers and platforms, but also use the new commands that we create in order to help us with our testing. This is one of the most popular arguments that people use.