Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-7661

Add support for User Extensions to Selenium

    Details

    • Similar Issues:

      Description

      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.

        Attachments

          Activity

          Hide
          hildo 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"
          Show
          hildo 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"
          Hide
          dtka 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.

          Show
          dtka 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.

            People

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

              Dates

              • Created:
                Updated: