I am trying to run a selenium test case using PHPUnit. And the first thing I do is trying the login function, this works perfect but then I want to run a function to check i
An elegant way to set the session shared is to use PHPUnit's setUpBeforeClass() method:
setUpBeforeClass()
public static function setUpBeforeClass() { self::shareSession(true); }