#Getting Started
##Webpage:
<html>
<head>
<title>Testing with Ruby and Selenium WebDriver</title>
</head>
<body bgcolor="antiquewhite">
package Log::Minimal::Emotional; | |
use strict; | |
use warnings; | |
use parent qw(Log::Minimal); | |
our $EMOTION = { | |
DEBUG => '(☼ Д ☼)', | |
INFO => 'm9(^Д^)', |
# coding: utf-8 | |
require 'rubygems' | |
require 'bundler/setup' | |
require 'aws-sdk' | |
AWS.config(:access_key_id => '***', | |
:secret_access_key => '***', | |
:sns_endpoint => 'sns.ap-northeast-1.amazonaws.com') |
#Getting Started
##Webpage:
<html>
<head>
<title>Testing with Ruby and Selenium WebDriver</title>
</head>
<body bgcolor="antiquewhite">
(new-object System.Net.WebClient).DownloadFile('http://dl.google.com/chrome/install/375.126/chrome_installer.exe', 'c:/temp/chrome.exe');. c:/temp/chrome.exe /silent /install;rm c:/temp -rec |
This setup allows to trigger an IFTTT event whenever a web page changes. It uses the urlwatch utility and the IFTTT Maker Channel.
Instructions:
value1
, and my notification contains URL updated: {{Value1}}
, so that I know which of the web pages has been updated.urlwatch
and python2-requests
.~/.urlwatch/urls.txt
, one per line.hooks.py
to ~/.urlwatch/libs/hooks.py
adding the URLs to the ifttt_urls
tuple and substituting YOUR_TRIGGER_NAME
and YOUR_MAKER_KEY
.