The assertAttribute() Dusk method is defined in the DuskProvider to provide a covenient way to check elements' attributes.
However, after upgrading Laravel, Dusk now provides the assertAttribute(), assertDataAttribute() and assertAriaAttribute() which should be used instead.
The
assertAttribute()
Dusk method is defined in theDuskProvider
to provide a covenient way to check elements' attributes.However, after upgrading Laravel, Dusk now provides the
assertAttribute()
,assertDataAttribute()
andassertAriaAttribute()
which should be used instead.