Remote
in
Table of Contents
Methods
- _getUrl() : mixed
- amOnSubdomain() : mixed
- Changes the subdomain for the 'url' configuration parameter.
- amOnUrl() : mixed
- Open web page at the given absolute URL and sets its hostname as the base host.
Methods
_getUrl()
public
_getUrl() : mixed
amOnSubdomain()
Changes the subdomain for the 'url' configuration parameter.
public
amOnSubdomain(mixed $subdomain) : mixed
Does not open a page; use amOnPage
for that.
<?php
// If config is: 'http://mysite.com'
// or config is: 'http://www.mysite.com'
// or config is: 'http://company.mysite.com'
$I->amOnSubdomain('user');
$I->amOnPage('/');
// moves to http://user.mysite.com/
?>
Parameters
- $subdomain : mixed
amOnUrl()
Open web page at the given absolute URL and sets its hostname as the base host.
public
amOnUrl(mixed $url) : mixed
<?php
$I->amOnUrl('https://codeception.com');
$I->amOnPage('/quickstart'); // moves to https://codeception.com/quickstart
?>
Parameters
- $url : mixed