I hereby claim:
- I am bbbco on github.
- I am bdgoad (https://keybase.io/bdgoad) on keybase.
- I have a public key ASCDJf4_be7ZK_S7SBNP0UvXUUDL8ag2p82iJJ9dM8ZB5wo
To claim this, I am signing this object:
# Converts PDF file passed into script into PNG files. Requires Ghostscript to be installed. | |
# Based on https://github.com/DeadExecutive/pdf_to_png/blob/main/PDF_To_PNG.ps1 | |
# | |
# To enable drag and drop files, create a desktop shortcut with this command: | |
# powershell.exe -noprofile -noexit -File "C:\Path\To\ConvertPDFToPNGs.ps1" | |
# Input PDF path as an argument | |
param ( | |
[Parameter(ValueFromRemainingArguments=$true)] | |
$pdfPath |
# List of five letter words that were pulled from the *nix wordlist /usr/share/dict/words |
042f5716442f8724a5ce9c5785a93e0bf66eef2137b1d1bdd098a43f89dfe83a9f6e71aa4b3919a4ef8d59ecc8cbce0c2629b36b6ad71e1834a506d8f4547f7120 |
I hereby claim:
To claim this, I am signing this object:
class TablesPage < Selenium::Pages::Page | |
// Define url to visit and matchers | |
url "/tables" | |
url_matcher /tables/ | |
// Creates a new Element object that is required (i.e. expects to be visible at page load) | |
required_element :header, :css => "h3" | |
// Can also define multiple elements. Not specifying requirement only means it is expected to be present |
# $> URL=theinternet BROWSER=firefox rspec spec/ | |
URL_CONFIG = { | |
"theinternet" => { | |
:url => "http://the-internet.herokuapp.com", | |
:type => "staging" | |
}, | |
"elemental-selenium" => { | |
:url => "http://elemental-selenium.com", | |
:type => "production" |
require 'rubygems' | |
require 'selenium-webdriver' | |
require 'benchmark' | |
require 'benchmark/ips' | |
require 'pry' | |
LOCATORS = { | |
:dues_header_id_and_class => { | |
:css => "#table2 thead .dues", | |
:xpath => "//table[@id='table2']//thead//*[@class='dues']" |
import pdb | |
import sys | |
IO = lambda s: (s.__stdin__, s.__stdout__) | |
def rpdb(F): | |
""" | |
Robot Framework Python Debugger based on Daniel Cohn's recipe at | |
http://code.activestate.com/recipes/578073-rpdb-robotpythondebugger-a-smarter-way-to-debug-ro/ |
Finished in 2200.68985s | |
30 tests, 884 assertions, 0 failures, 1 errors, 1 skips | |
Writing XML reports to /cruisedata/jenkins-slave/workspace/SeleniumNewTests/selenium/rb/test/reports | |
I, [2013-09-05T14:50:08.677708 #1486] INFO : Killing browser | |
-> DELETE session/77fdaaf0-0631-4f10-851e-cbaed1098867 | |
Exception `Errno::EAGAIN' at /home/site/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/1.9.1/net/protocol.rb:141 - Resource temporarily unavailable - read would block | |
Exception `Errno::EAGAIN' at /home/site/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/1.9.1/net/protocol.rb:141 - Resource temporarily unavailable - read would block | |
<- {"name":"quit","sessionId":"77fdaaf0-0631-4f10-851e-cbaed1098867","status":0,"value":""} | |
#<ChildProcess::Unix::ForkExecProcess:0x0000000430e518 @args=["/usr/bin/firefox", "-no-remote", "-foreground"], @started=true, @exit_code=nil, @io=#<ChildProcess::Unix::IO:0x0000000430e4a0 @stdout=#<IO:<STDOUT>>, @stderr=#<IO:<STDERR>>>, @cwd=nil, @detach=false, @duplex=false, @environment={}, @pid=2844> : ["polling 5 |
driver.executeScript("arguments[0].setAttribute(arguments[1], arguments[2])", element, "style", "border: 2px solid yellow; color: yellow; font-weight: bold;") |