Can not we use Browser trait in a REST app?


#1

The Brower trait :

trait('Test/Browser')

is useful only when we are not using AdonisJS in a RESTful manner.

Please let me know if I am right or not.
Thank you


#2

The Test/Browser trait opens a browser to run your tests, I am not sure why would you want to open a browser to test JSON responses.

So technically it’s possible, but of no use