Yes, you write your own methods and running with php-unit for example, but I think that use a driver like goutte is fast and better...