21 lines
358 B
PHP
21 lines
358 B
PHP
|
<?php
|
||
|
|
||
|
namespace Tests\Browser\Pages;
|
||
|
|
||
|
use Laravel\Dusk\Page as BasePage;
|
||
|
|
||
|
abstract class Page extends BasePage
|
||
|
{
|
||
|
/**
|
||
|
* Get the global element shortcuts for the site.
|
||
|
*
|
||
|
* @return array<string, string>
|
||
|
*/
|
||
|
public static function siteElements(): array
|
||
|
{
|
||
|
return [
|
||
|
'@element' => '#selector',
|
||
|
];
|
||
|
}
|
||
|
}
|