Package com.applitools.eyes
Class TargetWebDriverApplication
- java.lang.Object
-
- com.applitools.eyes.TargetApplication
-
- com.applitools.eyes.TargetWebDriverApplication
-
public class TargetWebDriverApplication extends TargetApplication
-
-
Constructor Summary
Constructors Constructor Description TargetWebDriverApplication(URL webDriverUrl, String sessionId, String userAgent)Creates a new TargetWebDriverApplication instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetSessionId()Gets the ID of the web-driver session ornullif unknown.StringgetUrl()Gets the URL of the remote web-driver controlling the browser that hosts the application under test ornullif unknown.StringgetUserAgent()Gets the user-agent string of the browser that hosts the application under test ornullif unknown.
-
-
-
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 ornullif unknown.sessionId- The id of the web-driver session ornullif unknown.userAgent- The user agent string of the browser hosting the application under test ornullif unknown.
-
-
Method Detail
-
getUrl
public String getUrl()
Gets the URL of the remote web-driver controlling the browser that hosts the application under test ornullif unknown.
-
getSessionId
public String getSessionId()
Gets the ID of the web-driver session ornullif unknown.
-
getUserAgent
public String getUserAgent()
Gets the user-agent string of the browser that hosts the application under test ornullif unknown.
-
-