This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* page full capture for https://github.com/facebook/php-webdriver | |
* | |
* @param RemoteWebDriver $driver | |
* @param string $screenshot_name capture save path | |
* @throws Exception | |
*/ | |
public function takeFullScreenshot($driver, $screenshot_name) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
$is_windows = RbConfig::CONFIG['host_os'] =~ /mswin|msys|mingw|cygwin|bccwin/i | |
$is_osx = RbConfig::CONFIG['host_os'] =~ /darwin/i | |
Vagrant.configure("2") do |config| | |
config.vm.box = "bento/ubuntu-16.04" | |
config.vm.box_check_update = false |