Пример #1
0
 /**
  * Override method.
  *
  * Set browser as mobile, and not use curl as library request.
  */
 protected function browserInit()
 {
     parent::browserInit();
 }
Пример #2
0
 /**
  * Override method.
  *
  * Set browser as mobile, and not use curl as library request.
  */
 protected function browserInit()
 {
     parent::browserInit();
     $this->browser->curl(false);
 }
Пример #3
0
 /**
  * Override method.
  *
  * Set browser as mobile, and not use curl as library request.
  */
 protected function browserInit()
 {
     parent::browserInit();
     $user_agent_mobile = $this->configuration('user_agent_mobile');
     if (!$user_agent_mobile) {
         $user_agent = $this->browser->getUserAgent('Mobile Browser');
         $this->configuration('user_agent', $user_agent);
         $this->configuration('user_agent_mobile', true);
         $this->browser->options('user_agent', $user_agent);
     }
     $this->browser->curl(false);
 }