shouldNotHaveElement method
Laravel Dusk-style alias for assertNotPresent.
Asserts that no element matching the selector is present in the DOM.
Example:
await browser.shouldNotHaveElement('.error-message');
Implementation
FutureOr<Browser> shouldNotHaveElement(String selector) =>
assertNotPresent(selector);