|
@@ -77,20 +77,20 @@ abstract class DuskTestCase extends BaseTestCase
|
|
|
*
|
|
|
* @return \Facebook\WebDriver\Remote\RemoteWebDriver
|
|
|
*/
|
|
|
- protected function driver()
|
|
|
- {
|
|
|
- $options = (new ChromeOptions)->addArguments([
|
|
|
- '--disable-gpu',
|
|
|
- '--headless',
|
|
|
- '--window-size=1920,1080',
|
|
|
- ]);
|
|
|
-
|
|
|
- return RemoteWebDriver::create(
|
|
|
- 'http://localhost:9515', DesiredCapabilities::chrome()->setCapability(
|
|
|
- ChromeOptions::CAPABILITY_W3C, $options
|
|
|
- )
|
|
|
- );
|
|
|
- }
|
|
|
+ //protected function driver()
|
|
|
+ //{
|
|
|
+ // $options = (new ChromeOptions)->addArguments([
|
|
|
+ // '--disable-gpu',
|
|
|
+ // '--headless',
|
|
|
+ // '--window-size=1920,1080',
|
|
|
+ // ]);
|
|
|
+ //
|
|
|
+ // return RemoteWebDriver::create(
|
|
|
+ // 'http://localhost:9515', DesiredCapabilities::chrome()->setCapability(
|
|
|
+ // ChromeOptions::CAPABILITY_W3C, $options
|
|
|
+ // )
|
|
|
+ // );
|
|
|
+ //}
|
|
|
|
|
|
/**
|
|
|
* Build the process to run the Chromedriver.
|