You are here

public function VarbaseContext::iGoToWebsite in Varbase: The Ultimate Drupal CMS Starter Kit (Bootstrap Ready) 8.8

Same name and namespace in other branches
  1. 8.4 tests/features/bootstrap/VarbaseContext.php \VarbaseContext::iGoToWebsite()
  2. 8.5 tests/features/bootstrap/VarbaseContext.php \VarbaseContext::iGoToWebsite()
  3. 8.6 tests/features/bootstrap/VarbaseContext.php \VarbaseContext::iGoToWebsite()
  4. 8.7 tests/features/bootstrap/VarbaseContext.php \VarbaseContext::iGoToWebsite()
  5. 9.0.x 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 148

Class

VarbaseContext
Defines application features from the specific context.

Code

public function iGoToWebsite($domain) {
  $this
    ->getSession()
    ->visit($domain);
}