Class TargetWebDriverApplication

    • Constructor Detail

      • TargetWebDriverApplication

        public TargetWebDriverApplication​(URL webDriverUrl,
                                          String sessionId,
                                          String userAgent)
        Creates a new TargetWebDriverApplication instance.
        Parameters:
        webDriverUrl - The URL of the remote web-driver or null if unknown.
        sessionId - The id of the web-driver session or null if unknown.
        userAgent - The user agent string of the browser hosting the application under test or null if unknown.
    • Method Detail

      • getUrl

        public String getUrl()
        Gets the URL of the remote web-driver controlling the browser that hosts the application under test or null if unknown.
      • getSessionId

        public String getSessionId()
        Gets the ID of the web-driver session or null if unknown.
      • getUserAgent

        public String getUserAgent()
        Gets the user-agent string of the browser that hosts the application under test or null if unknown.