PHP code example of chinleung / laravel-browserstack
1. Go to this page and download the library: Download chinleung/laravel-browserstack library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
chinleung / laravel-browserstack example snippets
abstract class DuskTestCase extends BaseTestCase
{
use CreatesApplication, RunsOnBrowserStack;
}
bash
php artisan vendor:publish --provider="ChinLeung\BrowserStack\BrowserStackServiceProvider" --tag="config"
bash
BROWSERSTACK_BROWSER=WINDOWS_10_CHROME php artisan dusk