Dusk is throwing this error while using clickAtXPath
The error is telling you that the clickAtXPath method does not exist on whatever you're calling it from.
clickAtXPath
Looking at Laravel Dusk in 5.8, there is no clickAtXPath documented; https://laravel.com/docs/5.8/dusk#using-the-mouse
Looking through their docs, it looks like it was introduced in Laravel 7; https://laravel.com/docs/7.x/dusk#using-the-mouse
You will need to update your application if you'd like to use clickAtXPath.
Copyright © 2021 Jogjafile Inc.
The error is telling you that the
clickAtXPathmethod does not exist on whatever you're calling it from.Looking at Laravel Dusk in 5.8, there is no
clickAtXPathdocumented; https://laravel.com/docs/5.8/dusk#using-the-mouseLooking through their docs, it looks like it was introduced in Laravel 7; https://laravel.com/docs/7.x/dusk#using-the-mouse
You will need to update your application if you'd like to use
clickAtXPath.