• Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Major Major
    • selenium-plugin
    • None

      Selenium provides a mechanism which allows users to extend the Javascript used by the Selenium server. This is provided to the Selenium Server when it's started via the -userExtensions parameter.

      The Selenium plugin should be able to have user extensions defined in Hudson. When defined, the javascript will be installed to the appropriate nodes and the server started with the extensions.

          [JENKINS-7661] Add support for User Extensions to Selenium

          hildo added a comment -

          I've attached a patch that provides this functionality. The patch is against revision of 35503 of the trunk. This patch

          • adds a textarea field in the configuration page, allowing javascript to be defined against the plugin. It will be saved in selenium.xml
          • when extensions exist, it will be installed when the Selenium files are installed to a node in the file "user-extensions.js"
          • when extensions exist, the RC server will be started with the -userExtensions parameter, passing through the file "user-extensions.js"

          hildo added a comment - I've attached a patch that provides this functionality. The patch is against revision of 35503 of the trunk. This patch adds a textarea field in the configuration page, allowing javascript to be defined against the plugin. It will be saved in selenium.xml when extensions exist, it will be installed when the Selenium files are installed to a node in the file "user-extensions.js" when extensions exist, the RC server will be started with the -userExtensions parameter, passing through the file "user-extensions.js"

          Daniel Tkatch added a comment - - edited

          What about providing also the possibility to define the -firefoxProfileTemplate?

          Update: Oops, my wrong -firefoxProfileTemplate can already be set.

          Daniel Tkatch added a comment - - edited What about providing also the possibility to define the -firefoxProfileTemplate? Update: Oops, my wrong -firefoxProfileTemplate can already be set.

            darkrift Richard Lavoie
            hildo hildo
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: