public class WebTestSession extends AbstractTestSession
WebTest annotation parameters. Also performs sanity checks.isSharedSession| Modifier and Type | Method and Description |
|---|---|
String |
getBrowser() |
int |
getBrowserHeight() |
int |
getBrowserWidth() |
WebDriverPlatform |
getPlatform() |
void |
initializeTestSession(InvokedMethodInformation method)
Call this to initialize the
WebTestSession object from the TestNG IInvokedMethod |
void |
startSession()
A Method to start a new session.
|
closeSession, getAdditionalCapabilities, getDeclaringClassName, getDependsOnMethods, getElementEventListeners, getMethodName, getParamsInfo, getTestName, getXmlTestName, hasDependentMethods, initializeAdditionalCapabilities, initializeAdditionalCapabilities, initializeAdditionalCapabilities, initTestSession, isStarted, setStartedpublic void initializeTestSession(InvokedMethodInformation method)
WebTestSession object from the TestNG IInvokedMethodinitializeTestSession in class AbstractTestSessionmethod - - the TestNG IInvokedMethodpublic final String getBrowser()
public final int getBrowserHeight()
public final int getBrowserWidth()
public void startSession()
AbstractTestSessionstartSession in class AbstractTestSessionpublic WebDriverPlatform getPlatform()
getPlatform in class AbstractTestSessionWebDriverPlatform object that represents the current platform.Copyright © 2016 PayPal Open Source. All rights reserved.