This file contains hidden or 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 hidden or 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
| # Install chromedriver from https://sites.google.com/a/chromium.org/chromedriver/downloads | |
| import os | |
| from optparse import OptionParser | |
| from selenium import webdriver | |
| from selenium.webdriver.chrome.options import Options | |
| CHROME_PATH = '/usr/bin/google-chrome' |
This file contains hidden or 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
| from selenium import webdriver | |
| from selenium.webdriver.common.keys import Keys | |
| import requests | |
| import time | |
| import re | |
| import json | |
| import time | |
| def login(): | |
| options = webdriver.ChromeOptions() |
This file contains hidden or 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 csv, time | |
| from selenium import webdriver | |
| from selenium.webdriver.support.ui import Select | |
| from selenium.webdriver.common.keys import Keys | |
| applicant_name = # your name | |
| applicant_email = # your email | |
| applicant_address = # your physical address | |
| occupation = # your occupation |
This file contains hidden or 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
| # EDIT: 2013/10/20 | |
| # google has updated its kwt UI, this script doesn't work any more! | |
| # may be I will update this script when I have time to investigate their new Interface. | |
| from selenium import webdriver | |
| from selenium.common.exceptions import TimeoutException | |
| import selenium.webdriver.support.wait | |
| selenium.webdriver.support.wait.POLL_FREQUENCY = 0.05 | |
| import re |
This file contains hidden or 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
| #!/usr/bin/env python3 | |
| __author__ = 'Sushain K. Cherivirala' | |
| import argparse | |
| import cmd | |
| import collections | |
| import contextlib | |
| import copy | |
| import datetime |
This file contains hidden or 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
| # selenium for web driving | |
| import selenium | |
| from selenium import webdriver | |
| # time for pausing between navigation | |
| import time | |
| # Datetime for recording time of submission | |
| import datetime |
This file contains hidden or 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
| from selenium import webdriver | |
| from selenium.webdriver.chrome.options import DesiredCapabilities | |
| from selenium.webdriver.common.proxy import Proxy, ProxyType | |
| import time | |
| co = webdriver.ChromeOptions() | |
| co.add_argument("log-level=3") | |
| co.add_argument("--headless") |
This file contains hidden or 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
| from selenium import webdriver | |
| from selenium.webdriver.chrome.options import Options | |
| from BeautifulSoup import BeautifulSoup | |
| import time | |
| NAME = "Mom" | |
| RELOAD_TIMEOUT = 1 | |
| ERROR_TIMEOUT = 5 | |
| NUM_CYCLES = 10 | |
| FIREFOX_PATH = "/Users/sgrover/Library/Application Support/Firefox/Profiles/9w4h7jdq.default" |
This file contains hidden or 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
| #@yasinkuyu 08/09/2017 | |
| # install luminati (https://luminati.io) proxy manager & run | |
| from selenium import webdriver | |
| from selenium.webdriver.common.proxy import Proxy, ProxyType | |
| from selenium.webdriver.chrome.options import Options | |
| from selenium.webdriver.common.proxy import * | |
| PROXY = '127.0.0.1:24000' |