![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/old/vendor/codeception/lib-web/src/Lib/Interfaces/ |
<?php namespace Codeception\Lib\Interfaces; interface Remote { /** * Changes the subdomain for the 'url' configuration parameter. * Does not open a page; use `amOnPage` for that. * * ``` php * <?php * // If config is: 'https://mysite.com' * // or config is: 'https://www.mysite.com' * // or config is: 'https://company.mysite.com' * * $I->amOnSubdomain('user'); * $I->amOnPage('/'); * // moves to https://user.mysite.com/ * ``` * */ public function amOnSubdomain(string $subdomain): void; /** * Open web page at the given absolute URL and sets its hostname as the base host. * * ``` php * <?php * $I->amOnUrl('https://codeception.com'); * $I->amOnPage('/quickstart'); // moves to https://codeception.com/quickstart * ``` */ public function amOnUrl(string $url): void; public function _getUrl(); }