INSERT GRAPHIC HERE (include hyperlink in image)
Subtitle or Short Description Goes Here
ideally one sentence >
NOTE
You may not need local branches for all pull requests in a repo.
To fetch only the ref of a single pull request that you need, use this:
git fetch origin pull/7324/head:pr-7324
git checkout pr-7324
# ...
TODO: short summary
#!/usr/bin/python | |
from selenium import webdriver | |
from PIL import Image | |
from cStringIO import StringIO | |
verbose = 1 | |
browser = webdriver.Firefox() | |
browser.get('http://stackoverflow.com/questions/37906704/taking-a-whole-page-screenshot-with-selenium-marionette-in-python') |
# Starting with a generic "Open Browser to Page" keyword, following that are examples for: | |
# Google Chrome | |
# PhantomJS | |
# | |
# Assumed global or suite variables: | |
# ${browser} - the browser you want to use in testing | |
# ${delay} - the "speed" that Selenium verbs execute at | |
# ${user_agent} - User Agent string like: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36 | |
# | |
# Note: The documentation is written with the libdoc utility in mind. See: |
To build the extension, update the username/password and zip `background.js` and `manifest.json` in a single archive. | |
tests["Status code is 200"] = responseCode.code === 200; | |
tests["Response time is acceptable"] = responseTime < 200; // milliseconds | |
tests["Content-Type header is set"] = postman.getResponseHeader("Content-Type"); |
import numpy as np | |
import cv2 | |
# for windows, mac users | |
# from PIL import ImageGrab | |
# for linux users | |
import pyscreenshot as ImageGrab | |
# four character code object for video writer | |
fourcc = cv2.VideoWriter_fourcc(*'XVID') | |
# video writer object |
*** Keywords *** | |
Open Chrome | |
[Arguments] ${url} | |
${chrome_options}= Evaluate sys.modules['selenium.webdriver'].ChromeOptions() sys, selenium.webdriver | |
Call Method ${chrome_options} add_argument --disable-extensions | |
Call Method ${chrome_options} add_argument --headless | |
Call Method ${chrome_options} add_argument --disable-gpu | |
Call Method ${chrome_options} add_argument --no-sandbox | |
Create Webdriver Chrome chrome_options=${chrome_options} |
<!-- Robot Framework Results Email-ext jenkins plugin template --> | |
<!-- copy to Jenkins master server inside JENKINS_HOME/email-templates --> | |
<% | |
import groovy.util.XmlSlurper | |
import jenkins.util.VirtualFile | |
%> | |
<STYLE> | |
BODY, TABLE, TD, TH, P { | |
font-family:Verdana,Helvetica,sans serif; |