-
-
Save qls0ulp/d98e5cbd89ef52ad05148fba64b7289c to your computer and use it in GitHub Desktop.
Revisions
-
qls0ulp revised this gist
Sep 13, 2019 . No changes.There are no files selected for viewing
-
AaronMT revised this gist
Nov 1, 2013 . 2 changed files with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes.File renamed without changes. -
AaronMT renamed this gist
Nov 1, 2013 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
AaronMT created this gist
Nov 1, 2013 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,20 @@ from com.android.monkeyrunner import MonkeyRunner, MonkeyDevice import sys, csv browsers = ['org.mozilla.fennec_rnewman/.App'] def main(): # Connects to the current device, returning a MonkeyDevice object device = MonkeyRunner.waitForConnection() #Start each browser activity with the provided URI for run, browser in enumerate(browsers): # Visit each site for visit, site in enumerate(csv.reader(open(sys.argv[1]).readlines())): # Start the activity with the provided site device.startActivity(component=browser, uri=site[0]) if __name__ == "__main__": main() 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,25 @@ "http://google.com" "http://facebook.com" "http://youtube.com" "http://yahoo.com" "http://baidu.com" "http://wikipedia.org" "http://live.com" "http://qq.com" "http://amazon.com" "http://twitter.com" "http://taobao.com" "http://blogspot.com" "http://linkedin.com" "http://google.co.in" "http://yahoo.co.jp" "http://sina.com.cn" "http://ebay.com" "http://msn.com" "http://google.co.jp" "http://bing.com" "http://yandex.ru" "http://wordpress.com" "http://google.de" "http://google.com.hk" "http://vk.com"