public function assertDeviceScreenResize($device) {
    $resolution = $this->getDeviceResolution($device);
    $this->getSession()->resizeWindow((int) $resolution->getWidth(), (int) $resolution->getHeight(), 'current');
  }