You are here

public function PhantomJSDriver::setBasicAuth in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/jcalderonzumba/mink-phantomjs-driver/src/PhantomJSDriver.php \Zumba\Mink\Driver\PhantomJSDriver::setBasicAuth()

Sets the basic auth user and password

Parameters

string $user:

string $password:

Overrides CoreDriver::setBasicAuth

File

vendor/jcalderonzumba/mink-phantomjs-driver/src/PhantomJSDriver.php, line 30

Class

PhantomJSDriver
Class PhantomJSDriver @package Behat\Mink\Driver

Namespace

Zumba\Mink\Driver

Code

public function setBasicAuth($user, $password) {
  $this->browser
    ->setHttpAuth($user, $password);
}