Modelizer / Laravel-Selenium

Selenium Testing for Laravel 5
MIT License
108 stars 33 forks source link

Use in console command ? #49

Closed ftrudeau closed 6 years ago

ftrudeau commented 6 years ago

Hello !

Thanks for this package. I'd like to use it in the scope of an artisan console command, and not in a test class. Is this at all possible, and how could this be achieved ?

Thanks.

Modelizer commented 6 years ago

You need to import all the things from this class https://github.com/Modelizer/Laravel-Selenium/blob/master/src/SeleniumTestCase.php

but why you want to do it?

ftrudeau commented 6 years ago

Because I want to use Selenium to automate some tasks unrelated to testing. I figured it out. Thanks for the reply ; )