DriverSession
clearListenersâ
This method will clear all the listeners for the session.
import static io.github.boykaframework.manager.ParallelSession.getSession;
. . .
getSession ().clearListeners ();
clearSharedDataâ
This method will clear all the shared data for the session.
import static io.github.boykaframework.manager.ParallelSession.getSession;
. . .
getSession ().clearSharedData ();
getApiSettingâ
This method gets the API settings for the current session.
import static io.github.boykaframework.manager.ParallelSession.getSession;
. . .
var apiSetting = getSession ().getApiSetting ();
getListener (listenerType)â
This method gets the Boyka listener for the given listener type.
Important!!
This method is for internal use only.
getDesktopSettingâ
This method gets the Desktop settings for the current session.
import static io.github.boykaframework.manager.ParallelSession.getSession;
. . .
var desktopSetting = getSession ().getDesktopSetting ();
getMobileSettingâ
This method gets the Mobile settings for the current session.
import static io.github.boykaframework.manager.ParallelSession.getSession;
. . .
var mobileSetting = getSession ().getMobileSetting ();
getSharedData (key)â
This method gets the shared data for the current session.
import static io.github.boykaframework.manager.ParallelSession.getSession;
. . .
var mobileSetting = getSession ().getSharedData ("sample.key");
getWebSettingâ
This method gets the Web settings for the current session.
import static io.github.boykaframework.manager.ParallelSession.getSession;
. . .
var webSetting = getSession ().getWebSetting ();
removeSharedData (key)â
This method removes the shared data for a particular key for the current session.
import static io.github.boykaframework.manager.ParallelSession.getSession;
. . .
var value = getSession ().removeSharedData ("some.key");
setSharedData (key, value)â
This method sets the shared data for a particular key for the current session.
import static io.github.boykaframework.manager.ParallelSession.getSession;
. . .
getSession ().setSharedData ("some.key", "some value");