Is it possible to use Laravel Dusk to test a non Laravel site?
I have some legacy projects that I want to first upgrade to PHP 7 and then much later convert one or two of them to Laravel. Most of them are not using OOP code so browser based testing seems like a faster and easier way to test them and Laravel Dusk seems like the fastest and easiest way to do browser based testing.
Yeah you can use Laravel Dusk on other websites, however you have to run Laravel Dusk as a separate project. You can't run it inside another application, because it depends on the core of Laravel.
However you can simply just fetch another url on the internet and do your tests. Laravel Dusk will just fetch the url and it's content and handle that.