Class WebTesterFactory


  • @Deprecated
    public class WebTesterFactory
    extends Object
    Deprecated.
    Please use confluence-test-utils module instead. See {com.atlassian.confluence.test.jwebunit.WebTesterFactory} alternative
    Creates and returns new JWebUnit WebTester objects with the correct parameters set.

    Use this class rather than calling WebTester();

    See Also:
    ConfluenceHtmlUnitTestingEngine
    • Constructor Detail

      • WebTesterFactory

        public WebTesterFactory()
        Deprecated.
    • Method Detail

      • getInstance

        public static net.sourceforge.jwebunit.junit.WebTester getInstance​(String baseUrl)
        Deprecated.
        Returns a web tester with scripting disabled.
      • getInstance

        public static net.sourceforge.jwebunit.junit.WebTester getInstance​(String baseUrl,
                                                                           boolean enableJavascript)
        Deprecated.
      • configureWebTester

        public static void configureWebTester​(net.sourceforge.jwebunit.junit.WebTester webTester,
                                              String baseUrl,
                                              boolean enableJavascript)
        Deprecated.
        This should only be used in JWebUnit WebTestCases, where the WebTester has already been created.
        See Also:
        getInstance(String, boolean)