Selenium IDE - Extension using .js file - Error
<p>This is my first post as I am a newbie to Selenium. Currently I am going through book called Selenium tool : beginners guide. In the book it tells how to use Selenium IDE Extension using .js file to store your JS functions etc. </p>

<p>Following example was given and and saved as user-extension.js file. I have defined file in Selenium > Option > Selenium IDE extension field. </p>

<p>But when I re-start selenium I am getting following error: </p>

<pre><code>"error loading Selenium IDE extensions: ReferenceError: Selenium is not defined" 
</code></pre>

<p>Example I am using is: </p>

<pre><code>Selenium.prototype.doTypeTodaysDate = function(locator){
    var dates = new Date();
    var day = dates.getDate();
    if (day &lt; 10){
        day = '0' + day;
    }
    month = dates.getMonth() + 1;
    if (month &lt; 10){
        month = '0' + month;
    }
    var year = dates.getFullYear();
    var prettyDay = day + '/' + month + '/' + year;
    this.doType(locator, prettyDay);
}
</code></pre>

<p>any help will much appreciated. </p>

<p>Thanks in advance. </p>

<p>Rohit </p>
