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
%w{libjpeg-dev libfreetype6-dev}.each do |pkg| | |
package pkg do | |
action :install | |
end | |
end | |
bash "Install PIL from source" do | |
user vagrant | |
group vagrant | |
code <<-EOH |
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
from selenium.common.exceptions import NoSuchElementException, TimeoutException, WebDriverException | |
class SeleniumPage(object): | |
driver = None | |
waiter = None | |
def open_page(self, url): | |
self.driver.get(url) |