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
# Import unittest module for creating unit tests | |
import unittest | |
# Import time module to implement | |
import time | |
# Import the Selenium 2 module (aka "webdriver") | |
from selenium import webdriver | |
# For automating data input |
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
javascript:(function(e,a,g,h,f,c,b,d){ | |
if(!(f=e.jQuery)||g>f.fn.jquery||h(f)){ | |
c=a.createElement("script"); | |
c.type="text/javascript"; | |
c.src="http://ajax.googleapis.com/ajax/libs/jquery/"+g+"/jquery.min.js"; | |
c.onload=c.onreadystatechange=function(){ | |
if(!b&&(!(d=this.readyState)||d=="loaded"||d=="complete")){ | |
h((f=e.jQuery).noConflict(1),b=1); | |
f(c).remove()}}; |
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
javascript:(function(e,a,g,h,f,c,b,d){if(!(f=e.jQuery)||g>f.fn.jquery||h(f)){c=a.createElement("script");c.type="text/javascript";c.src="http://ajax.googleapis.com/ajax/libs/jquery/"+g+"/jquery.min.js";c.onload=c.onreadystatechange=function(){if(!b&&(!(d=this.readyState)||d=="loaded"||d=="complete")){h((f=e.jQuery).noConflict(1),b=1);f(c).remove()}};a.documentElement.childNodes[0].appendChild(c)}})(window,document,"1.3.2",function($,L){var caretPos = document.getElementById("description").selectionStart;var textAreaTxt = $("#description").val();var txtToAdd = "\\\\\r\n\\\\\r\n*Testing status*\r\n|| OS X || || || WIN || || || || IPAD || || ANDROID || || || \r\n|| SAFARI || CHROME || FF || IE11 || IE10 || FF || CHROME || SAFARI || CHROME || INTERNET || CHROME || FF ||\r\n| (-) | (-) | (-) | (-) | (-) | (-) | (-) | (-) | (-) | (-) | (-) | (-) |\r\n\\\\\r\n\\\\\r\n";$("#description").val(textAreaTxt.substring(0, caretPos) + txtToAdd + textAreaTxt.substring(caretPos));}); |
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
javascript:(function(e,a,g,h,f,c,b,d){ | |
if(!(f=e.jQuery)||g>f.fn.jquery||h(f)){ | |
c=a.createElement("script"); | |
c.type="text/javascript"; | |
c.src="http://ajax.googleapis.com/ajax/libs/jquery/"+g+"/jquery.min.js"; | |
c.onload=c.onreadystatechange=function(){ | |
if(!b&&(!(d=this.readyState)||d=="loaded"||d=="complete")){ | |
h((f=e.jQuery).noConflict(1),b=1); | |
f(c).remove()}}; |
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
javascript:(function(e,a,g,h,f,c,b,d){ | |
if(!(f=e.jQuery)||g>f.fn.jquery||h(f)){ | |
c=a.createElement("script"); | |
c.type="text/javascript"; | |
c.src="http://ajax.googleapis.com/ajax/libs/jquery/"+g+"/jquery.min.js"; | |
c.onload=c.onreadystatechange=function(){ | |
if(!b&&(!(d=this.readyState)||d=="loaded"||d=="complete")){ | |
h((f=e.jQuery).noConflict(1),b=1); | |
f(c).remove()}}; |
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
Verifying my Blockstack ID is secured with the address 14jaQq4nVjnNKjtJnFpx4PsqrFg1kUhbqX https://explorer.blockstack.org/address/14jaQq4nVjnNKjtJnFpx4PsqrFg1kUhbqX |
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
import time | |
from selenium import webdriver | |
from selenium.webdriver.common.keys import Keys | |
from selenium.webdriver.chrome.options import Options | |
chrome_options = webdriver.ChromeOptions() | |
chrome_options.add_argument("-incognito") | |
driver = webdriver.Chrome(executable_path='/Library/Python/2.7/site-packages/selenium/webdriver/chrome/chromedriver', chrome_options=chrome_options) | |
driver.get('https://www.surveymonkey.com/s/<surveyid>') | |
time.sleep(2) | |
nxt_btn = driver.find_element_by_name('NextButton') |
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
# Import unittest module for creating unit tests | |
import unittest | |
# Import time module to implement | |
import time | |
# Import the Selenium 2 module (aka "webdriver") | |
from selenium import webdriver | |
# For automating data input |
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
# Import unittest module for creating unit tests | |
import unittest | |
# Import time module to implement | |
import time | |
# Import the Selenium 2 module (aka "webdriver") | |
from selenium import webdriver | |
# For automating data input |
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
The MIT License (MIT) | |
Copyright (c) 2014 Devin Mancuso <devin@radelaide.net> | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is | |
furnished to do so, subject to the following conditions: |
OlderNewer