public function VarbaseContext::iGoToWebsite in Varbase: The Ultimate Drupal CMS Starter Kit (Bootstrap Ready) 9.0.x
Same name and namespace in other branches
- 8.8 tests/features/bootstrap/VarbaseContext.php \VarbaseContext::iGoToWebsite()
- 8.4 tests/features/bootstrap/VarbaseContext.php \VarbaseContext::iGoToWebsite()
- 8.5 tests/features/bootstrap/VarbaseContext.php \VarbaseContext::iGoToWebsite()
- 8.6 tests/features/bootstrap/VarbaseContext.php \VarbaseContext::iGoToWebsite()
- 8.7 tests/features/bootstrap/VarbaseContext.php \VarbaseContext::iGoToWebsite()
Navigate directly to an external web site.
Varbase Context #varbase.
Example: When I go to "https://www.google.com" website.
@When /^I go to "(?P<domain>[^"]*)" website$/
File
- tests/
features/ bootstrap/ VarbaseContext.php, line 156
Class
- VarbaseContext
- Defines application features from the specific context.
Code
public function iGoToWebsite($domain) {
$this
->getSession()
->visit($domain);
}