public class TestSessionContext extends Object
Constructor and Description |
---|
TestSessionContext() |
Modifier and Type | Method and Description |
---|---|
void |
addStepBusEvent(StepEventBusEvent event) |
String |
getCurrentTestName() |
String |
getDriverUsedInThisTest() |
String |
getSessionId() |
AtomicBoolean |
getSessionStarted() |
StepEventBus |
getStepEventBus() |
List<StepEventBusEvent> |
getStepEventBusEvents() |
org.openqa.selenium.WebDriver |
getWebDriver() |
org.openqa.selenium.remote.SessionId |
getWebSessionId() |
void |
setCurrentTestName(String currentTestName) |
void |
setDriverUsedInThisTest(String driverUsedInThisTest) |
void |
setSessionId(String sessionId) |
void |
setStepEventBus(StepEventBus stepEventBus) |
void |
setWebDriver(org.openqa.selenium.WebDriver webDriver) |
void |
setWebSessionId(org.openqa.selenium.remote.SessionId webSessionId) |
public AtomicBoolean getSessionStarted()
public List<StepEventBusEvent> getStepEventBusEvents()
public void addStepBusEvent(StepEventBusEvent event)
public void setSessionId(String sessionId)
public String getSessionId()
public StepEventBus getStepEventBus()
public void setStepEventBus(StepEventBus stepEventBus)
public String getCurrentTestName()
public void setCurrentTestName(String currentTestName)
public org.openqa.selenium.remote.SessionId getWebSessionId()
public void setWebSessionId(org.openqa.selenium.remote.SessionId webSessionId)
public String getDriverUsedInThisTest()
public void setDriverUsedInThisTest(String driverUsedInThisTest)
public org.openqa.selenium.WebDriver getWebDriver()
public void setWebDriver(org.openqa.selenium.WebDriver webDriver)
Copyright © 2023. All rights reserved.