public function amOnRoute($route, $params = [])
    {
        $domain = $this->app['routes']->getByName($route)->domain();
        $absolute = ! is_null($domain);

        $url = $this->app['url']->route($route, $params, $absolute);
        $this->amOnPage($url);
    }
public function amOnRoute($route, $params = [])
    {
        $domain = $this->app['routes']->getByName($route)->domain();
        $absolute = ! is_null($domain);

        $url = $this->app['url']->route($route, $params, $absolute);
        $this->amOnPage($url);
    }
public function amOnRoute ( $ route , $ params = [ ] ) { $ domain = $ this -> app [ 'routes' ] -> getByName ( $ route ) -> domain ( ) ; $ absolute = ! is_null ( $ domain ) ; $ url = $ this -> app [ 'url' ] -> route ( $ route , $ params , $ absolute ) ; $ this -> amOnPage ( $ url ) ; }
Opens web page using route name and parameters.

```php
<?php
$I->amOnRoute('posts.create');
?>
```

@param $route
@param array $params
Opens web page using route name and parameters .