Skip to content

Commit

Permalink
Update DuskTestCase.php
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalbaljet committed Nov 12, 2024
1 parent 66ab6fc commit 6aa5114
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions app/tests/DuskTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,24 +111,4 @@ protected function driver()
)
);
}

/**
* Determine whether the Dusk command has disabled headless mode.
*
* @return bool
*/
protected function hasHeadlessDisabled()
{
return isset($_SERVER['DUSK_HEADLESS_DISABLED']) || isset($_ENV['DUSK_HEADLESS_DISABLED']);
}

/**
* Determine if the browser window should start maximized.
*
* @return bool
*/
protected function shouldStartMaximized()
{
return isset($_SERVER['DUSK_START_MAXIMIZED']) || isset($_ENV['DUSK_START_MAXIMIZED']);
}
}

0 comments on commit 6aa5114

Please sign in to comment.