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 hashlib | |
import urllib | |
import urllib2 | |
import sys | |
ROUTER_IP = "192.168.1.1" | |
USERNAME = "admin" | |
PASSWORD = "YOUR_ROUTER_PASSWORD_HERE" | |
class TPLink_Archer_C7_Router_Web_Interface: |
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
#!/usr/bin/python | |
import os | |
import sys | |
def moveWindowToZero(windowName): | |
print "Moving window '%s' to (0,0)" % windowName | |
cmd=""" | |
osascript<<END | |
tell application "System Events" |
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
[HTTP] --> GET /wd/hub/session/e47fef22-f2db-47af-97fa-c7884266e251/contexts {} | |
[MJSONWP] Calling AppiumDriver.getContexts() with args: ["e47fef22-f2db-47af-97fa-c... | |
[debug] [iOS] Executing iOS command 'getContexts' | |
[debug] [iOS] Getting list of available contexts | |
[debug] [iOS] Retrieving contexts and views | |
[debug] [iOS] Selecting by url: false | |
[debug] [RemoteDebugger] useNewSafari --> false | |
[debug] [RemoteDebugger] Debugger socket connected to ::1:27753 |
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
[HTTP] --> GET /wd/hub/session/bb790c32-b6e3-4db1-91c9-2565304035c2/contexts {} | |
[MJSONWP] Calling AppiumDriver.getContexts() with args: ["bb790c32-b6e3-4db1-91c9-2... | |
[debug] [iOS] Executing iOS command 'getContexts' | |
[debug] [iOS] Getting list of available contexts | |
[debug] [iOS] Retrieving contexts and views | |
[debug] [iOS] Selecting by url: false | |
[debug] [RemoteDebugger] useNewSafari --> false | |
[debug] [RemoteDebugger] Debugger socket connected to ::1:27753 |
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
I/PANDORA (16686): >>> [22.090] ACTIVITY [WelcomeActivity] [-1253330984] onCreate | |
D/dalvikvm(16686): GC_CONCURRENT freed 1567K, 59% free 10356K/24744K, paused 12ms+0ms, total 25ms | |
D/dalvikvm(16686): GC_FOR_ALLOC freed 72K, 56% free 10901K/24744K, paused 12ms, total 12ms | |
I/dalvikvm-heap(16686): Forcing collection of SoftReferences for 14745612-byte allocation | |
D/dalvikvm(16686): GC_BEFORE_OOM freed 1K, 56% free 10900K/24744K, paused 18ms, total 18ms | |
E/dalvikvm-heap(16686): Out of memory on a 14745612-byte allocation. | |
I/dalvikvm(16686): "main" prio=5 tid=1 RUNNABLE | |
I/dalvikvm(16686): | group="main" sCount=0 dsCount=0 obj=0xb4e0c938 self=0xb9dd0e80 | |
I/dalvikvm(16686): | sysTid=16686 nice=0 sched=0/0 cgrp=[fopen-error:2] handle=-1207238496 | |
I/dalvikvm(16686): | state=R schedstat=( 0 0 0 ) utm=88 stm=83 core=0 |
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
POST /wd/hub/session/75bf5855-77df-4898-9265-34ad0b23668b/element/14f51212-29ef-4bd8-83cf-76dad1ced09b/click 200 644ms - 87 | |
debug: Appium request initiated at /wd/hub/session/75bf5855-77df-4898-9265-34ad0b23668b/element | |
info: Making http request with opts: {"url":"http://localhost:8080/wd/hub/session/75bf5855-77df-4898-9265-34ad0b23668b/element","method":"POST","json":{"using":"id","value":"email"}} | |
debug: Request received with params: {"using":"id","value":"email"} | |
debug: Proxying command to localhost:8080 | |
POST /wd/hub/session/75bf5855-77df-4898-9265-34ad0b23668b/element 500 239ms - 77 |
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
I/System.out( 2188): alert message: selendroidSource:<head> | |
I/System.out( 2188): <title>Edit Station</title> | |
I/System.out( 2188): <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
I/System.out( 2188): <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> | |
I/System.out( 2188): <script> | |
I/System.out( 2188): //sets the viewport based on user agent and screen pixel density | |
I/System.out( 2188): var ua = navigator.userAgent.toLowerCase(), | |
I/System.out( 2188): isIpad = ua.indexOf("ipad") > -1, | |
I/System.out( 2188): isAndroid = ua.indexOf("android") > -1, | |
I/System.out( 2188): isIphoneRetina = !isAndroid && (window.devicePixelRatio == 2) && !isIpad, |
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
I/System.out( 2408): find element command using 'id' with selector 'webview'. | |
W/ResourceType( 2408): No known package when getting name for resource number 0xffffffff | |
W/ResourceType( 2408): No known package when getting name for resource number 0xffffffff | |
W/ResourceType( 2408): No known package when getting name for resource number 0xffffffff | |
I/System.out( 2408): inspector uri: /wd/hub/session/58458f14-fd8a-4cfc-ad11-9ff07a103315/element/7a0a61f7-3050-4917-be95-1695cf617c65/displayed | |
I/System.out( 2408): is element displayed command | |
I/System.out( 2408): inspector uri: /wd/hub/session/58458f14-fd8a-4cfc-ad11-9ff07a103315/window | |
I/System.out( 2408): Switch Window command | |
I/System.out( 2408): Selendroid webdriver init | |
D/dalvikvm( 2408): GC_EXPLICIT freed 159K, 49% free 4729K/9223K, external 6513K/7413K, paused 6ms |
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
#!/usr/bin/env ruby | |
device_types_output = `xcrun simctl list devicetypes` | |
device_types = device_types_output.scan /(.*) \((.*)\)/ | |
runtimes_output = `xcrun simctl list runtimes` | |
runtimes = runtimes_output.scan /(.*) \(.*\) \((com.apple[^)]+)\)$/ | |
devices_output = `xcrun simctl list devices` | |
devices = devices_output.scan /\s\s\s\s(.*) \(([^)]+)\) (.*)/ |
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
info: --> GET /wd/hub/status {} | |
info: [debug] Responding to client with success: {"status":0,"value":{"build":{"version":"1.4.1","revision":"ce6220829063679bcccf5724515c29569c4a16d9"}}} | |
info: <-- GET /wd/hub/status 200 0.584 ms - 104 {"status":0,"value":{"build":{"version":"1.4.1","revision":"ce6220829063679bcccf5724515c29569c4a16d9"}}} | |
info: --> POST /wd/hub/session {"desiredCapabilities":{"automationName":"Selendroid","app":"http://central.maven.org/maven2/io/selendroid/selendroid-test-app/0.15.0/selendroid-test-app-0.15.0.apk","platformVersion":"4.4","deviceName":"Emulator","platformName":"Android","appActivity":".HomeScreenActivity","appWaitActivity":".HomeScreenActivity","appPackage":"io.selendroid.testapp"}} | |
NewerOlder