Headless testing
- Phantomjs http://phantomjs.org/
- Casperjs http://casperjs.org/
- Zombie http://zombie.labnotes.org/
- Saucelabs https://saucelabs.com
- Browserling https://browserling.com/
Frameworks, Librerias y Herramientas
require 'formula' | |
class Vim < Formula | |
homepage 'http://www.vim.org/' | |
head 'https://vim.googlecode.com/hg/' | |
# This package tracks debian-unstable: http://packages.debian.org/unstable/vim | |
url 'http://ftp.debian.org/debian/pool/main/v/vim/vim_7.4.161.orig.tar.gz' | |
sha1 '111e9a237fa240895db013c1e546dd02580a2940' | |
# We only have special support for finding depends_on :python, but not yet for |
""" | |
Python Startup File (from https://gist.github.com/955154) | |
Add this file to ~/.pythonrc.py to add history between sessions and | |
auto-completion via the ESC key to the interactive Python interpreter. After | |
adding this file, put something like the following line in your .bash_profile: | |
export PYTHONSTARTUP=$HOME/.pythonrc.py | |
Requires a recent version of Python and the readline package, which you can |
Headless testing
Frameworks, Librerias y Herramientas
var parser = document.createElement('a'); | |
// var parser = document.querySelector('CSS_SELECTOR') | |
parser.href = "http://example.com:3000/pathname/?search=test#hash"; | |
parser.protocol; // => "http:" | |
parser.hostname; // => "example.com" | |
parser.port; // => "3000" | |
parser.pathname; // => "/pathname/" | |
parser.search; // => "?search=test" | |
parser.hash; // => "#hash" |
Here are a list of headless browsers that I know about:
# This script was created to convert a directory full | |
# of markdown files into rst equivalents. It uses | |
# pandoc to do the conversion. | |
# | |
# 1. Install pandoc from http://johnmacfarlane.net/pandoc/ | |
# 2. Copy this script into the directory containing the .md files | |
# 3. Ensure that the script has execute permissions | |
# 4. Run the script | |
# | |
# By default this will keep the original .md file |
#!/usr/bin/env python | |
"""Simple HTTP Server With Upload. | |
This module builds on BaseHTTPServer by implementing the standard GET | |
and HEAD requests in a fairly straightforward manner. | |
""" | |
class Node(object): | |
def __init__(self, name, lc=None, rc=None): | |
self.name = name | |
self.lc = lc | |
self.rc = rc | |
self.rn = None | |
# THE MEAT OF THE PROBLEM | |
@staticmethod | |
def link_rn(level_list): |