clearAllSessions
import static io.github.boykaframework.manager.ParallelSession.clearAllSessions; . . . clearAllSessions ();
clearSession
import static io.github.boykaframework.manager.ParallelSession.clearSession; . . . clearSession ();
createSession (platformType, configKey)
import static io.github.boykaframework.manager.ParallelSession.createSession; . . . createSession (PlatformType.WEB, "test_chrome");
createSession (persona, platformType, configKey)
import static io.github.boykaframework.manager.ParallelSession.createSession; . . . createSession ("User 1", PlatformType.WEB, "test_chrome");
getCurrentPersona
import static io.github.boykaframework.manager.ParallelSession.getCurrentPersona; . . . var sessionPersona = getCurrentPersona ();
getSession
import static io.github.boykaframework.manager.ParallelSession.getSession; . . . var session = getSession ();
switchPersona (persona)
import static io.github.boykaframework.manager.ParallelSession.switchPersona; . . . switchPersona ("User 2");
Was this page helpful?