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, setStarted
public void initializeTestSession(InvokedMethodInformation method)
WebTestSession
object from the TestNG IInvokedMethod
initializeTestSession
in class AbstractTestSession
method
- - the TestNG IInvokedMethod
public final String getBrowser()
public final int getBrowserHeight()
public final int getBrowserWidth()
public void startSession()
AbstractTestSession
startSession
in class AbstractTestSession
public WebDriverPlatform getPlatform()
getPlatform
in class AbstractTestSession
WebDriverPlatform
object that represents the current platform.Copyright © 2016 PayPal Open Source. All rights reserved.