Skip to content

Instantly share code, notes, and snippets.

View vicwomg's full-sized avatar

Vicwomg vicwomg

  • San Francisco
View GitHub Profile
@vicwomg
vicwomg / gist:6534319
Created September 12, 2013 08:12
appium socket hang up
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
@vicwomg
vicwomg / gist:6427896
Created September 3, 2013 18:42
Selendroid inspector hang
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,
@vicwomg
vicwomg / gist:6215197
Created August 12, 2013 21:01
Selendroid: out of memory error when selecting webview 2.3.3 Android emulator
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