HCE Project Python language Distributed Tasks Manager Application, Distributed Crawler Application and client API bindings.  2.0.0-chaika
Hierarchical Cluster Engine Python language binding
ftest_selenium_chrome.py File Reference

Go to the source code of this file.

Namespaces

 ftests.ftest_selenium_chrome
 

Variables

int ftests.ftest_selenium_chrome.timeout = 10
 
string ftests.ftest_selenium_chrome.out_dir = "/tmp/00/"
 
bool ftests.ftest_selenium_chrome.macro_execute = True
 
string ftests.ftest_selenium_chrome.u = "http://www.nytimes.com/2015/06/18/us/politics/gop-is-wary-that-health-care-win-could-have-its-own-risks.html?hp&action=click&pgtype=Homepage&module=first-column-region&region=top-news&WT.nav=top-news&_r=0"
 
string ftests.ftest_selenium_chrome.out_file = "www.nytimes.com.html"
 
string ftests.ftest_selenium_chrome.exec_path = "../../bin/"
 
string ftests.ftest_selenium_chrome.driver_name = "chromedriver"
 
string ftests.ftest_selenium_chrome.driver_release = "_chrome50"
 
string ftests.ftest_selenium_chrome.error_msg = ""
 
 ftests.ftest_selenium_chrome.driver = None
 
string ftests.ftest_selenium_chrome.disable_setuid_sandbox = "--disable-setuid-sandbox"
 
 ftests.ftest_selenium_chrome.chrome_option = webdriver.ChromeOptions()
 
int ftests.ftest_selenium_chrome.error_code = 1
 
 ftests.ftest_selenium_chrome.log_types = driver.log_types
 
 ftests.ftest_selenium_chrome.log_list = driver.get_log('browser')
 
list ftests.ftest_selenium_chrome.entrances
 
 ftests.ftest_selenium_chrome.regex = re.compile(item[0])
 
 ftests.ftest_selenium_chrome.r = regex.search(error_msg)
 
 ftests.ftest_selenium_chrome.content_type = None
 
 ftests.ftest_selenium_chrome.charset = None
 
 ftests.ftest_selenium_chrome.attr = None
 
 ftests.ftest_selenium_chrome.items = regex.search(attr)
 
 ftests.ftest_selenium_chrome.html = driver.page_source
 
 ftests.ftest_selenium_chrome.cookies = driver.get_cookies()
 
string ftests.ftest_selenium_chrome.m = "function aaa(){location.replace('https://www.congress.gov/bill/114th-congress/senate-bill/1016/text');} return aaa();"
 
string ftests.ftest_selenium_chrome.m1 = "function bbb(){return 1;} return bbb();"
 
 ftests.ftest_selenium_chrome.r1 = driver.execute_script(m1)
 
 ftests.ftest_selenium_chrome.html_macro = driver.page_source
 
 ftests.ftest_selenium_chrome.f = open(out_dir + out_file + "_macro", "w")