Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
class LmsLrsTestCaseSelenium extends \PHPUnit_Extensions_Selenium2TestCase {
* Standard phpunit setup method.
public function setUp() {
global $bootstrap;
if (!empty($bootstrap)) {
$this->bootstrap = $bootstrap;
// Setup the browser.
$capabilities = array(
'chromeOptions' => array('args' => array("disable-bundled-ppapi-flash"))
if (!empty($bootstrap['headless'])) {
$capabilities['chromeOptions']['args'][] = 'headless';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.