You are here

public function BrowserCookieTrait::cookiesEnabled in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/jcalderonzumba/gastonjs/src/Browser/BrowserCookieTrait.php \Zumba\GastonJS\Browser\BrowserCookieTrait::cookiesEnabled()

Enables or disables the cookies con phantomjs

Parameters

bool $enabled:

Return value

bool

File

vendor/jcalderonzumba/gastonjs/src/Browser/BrowserCookieTrait.php, line 62

Class

BrowserCookieTrait
Trait BrowserCookieTrait @package Zumba\GastonJS\Browser

Namespace

Zumba\GastonJS\Browser

Code

public function cookiesEnabled($enabled = true) {
  return $this
    ->command('cookies_enabled', $enabled);
}