Skip to content

Instantly share code, notes, and snippets.

@FrankyBoy
Created April 7, 2014 15:02
Show Gist options
  • Save FrankyBoy/10022019 to your computer and use it in GitHub Desktop.
Save FrankyBoy/10022019 to your computer and use it in GitHub Desktop.
1) BonusLogin user with waiting bonus does not have a reminder
Message:
StaleElementReferenceError: Element with id ':wdc:1396877266512' was not found.
io.selendroid.exceptions.SelendroidException: Element with id ':wdc:1396877266512' was not found.
at io.selendroid.server.handler.SendKeys.handle(SendKeys.java:41)
at io.selendroid.server.AndroidServlet.handleRequest(AndroidServlet.java:286)
at io.selendroid.server.BaseServlet.handleHttpRequest(BaseServlet.java:70)
at org.webbitserver.netty.NettyHttpControl.nextHandler(NettyHttpControl.java:78)
at org.webbitserver.netty.NettyHttpControl.nextHandler(NettyHttpControl.java:62)
at io.selendroid.server.inspector.InspectorServlet.handleHttpRequest(InspectorServlet.java:78)
at org.webbitserver.netty.NettyHttpControl.nextHandler(NettyHttpControl.java:78)
at org.webbitserver.netty.NettyHttpControl.nextHandler(NettyHttpControl.java:62)
at org.webbitserver.handler.PathMatchHandler.handleHttpRequest(PathMatchHandler.java:33)
at org.webbitserver.netty.NettyHttpControl.nextHandler(NettyHttpControl.java:78)
at org.webbitserver.netty.NettyHttpControl.nextHandler(NettyHttpControl.java:62)
at org.webbitserver.handler.DateHeaderHandler.handleHttpRequest(DateHeaderHandler.java:21)
at org.webbitserver.netty.NettyHttpControl.nextHandler(NettyHttpControl.java:78)
at org.webbitserver.netty.NettyHttpControl.nextHandler(NettyHttpControl.java:62)
at org.webbitserver.handler.ServerHeaderHandler.handleHttpRequest(ServerHeaderHandler.java:25)
at org.webbitserver.netty.NettyHttpControl.nextHandler(NettyHttpControl.java:78)
at org.webbitserver.netty.NettyHttpControl.nextHandler(NettyHttpControl.java:67)
at org.webbitserver.netty.NettyHttpChannelHandler$2.run(NettyHttpChannelHandler.java:72)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at java.lang.Thread.run(Thread.java:841)
Stacktrace:
StaleElementReferenceError: Element with id ':wdc:1396877266512' was not found.
io.selendroid.exceptions.SelendroidException: Element with id ':wdc:1396877266512' was not found.
at io.selendroid.server.handler.SendKeys.handle(SendKeys.java:41)
at io.selendroid.server.AndroidServlet.handleRequest(AndroidServlet.java:286)
at io.selendroid.server.BaseServlet.handleHttpRequest(BaseServlet.java:70)
at org.webbitserver.netty.NettyHttpControl.nextHandler(NettyHttpControl.java:78)
at org.webbitserver.netty.NettyHttpControl.nextHandler(NettyHttpControl.java:62)
at io.selendroid.server.inspector.InspectorServlet.handleHttpRequest(InspectorServlet.java:78)
at org.webbitserver.netty.NettyHttpControl.nextHandler(NettyHttpControl.java:78)
at org.webbitserver.netty.NettyHttpControl.nextHandler(NettyHttpControl.java:62)
at org.webbitserver.handler.PathMatchHandler.handleHttpRequest(PathMatchHandler.java:33)
at org.webbitserver.netty.NettyHttpControl.nextHandler(NettyHttpControl.java:78)
at org.webbitserver.netty.NettyHttpControl.nextHandler(NettyHttpControl.java:62)
at org.webbitserver.handler.DateHeaderHandler.handleHttpRequest(DateHeaderHandler.java:21)
at org.webbitserver.netty.NettyHttpControl.nextHandler(NettyHttpControl.java:78)
at org.webbitserver.netty.NettyHttpControl.nextHandler(NettyHttpControl.java:62)
at org.webbitserver.handler.ServerHeaderHandler.handleHttpRequest(ServerHeaderHandler.java:25)
at org.webbitserver.netty.NettyHttpControl.nextHandler(NettyHttpControl.java:78)
at org.webbitserver.netty.NettyHttpControl.nextHandler(NettyHttpControl.java:67)
at org.webbitserver.netty.NettyHttpChannelHandler$2.run(NettyHttpChannelHandler.java:72)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at java.lang.Thread.run(Thread.java:841)
at new bot.Error (C:\Users\ihayden\AppData\Roaming\npm\node_modules\protractor\node_modules\selenium-webdriver\lib\atoms\error.js:109:18)
at Object.bot.response.checkResponse (C:\Users\ihayden\AppData\Roaming\npm\node_modules\protractor\node_modules\selenium-webdriver\lib\atoms\respo
nse.js:106:9)
at C:\Users\ihayden\AppData\Roaming\npm\node_modules\protractor\node_modules\selenium-webdriver\lib\webdriver\webdriver.js:276:20
at C:\Users\ihayden\AppData\Roaming\npm\node_modules\protractor\node_modules\selenium-webdriver\lib\goog\base.js:1178:15
at webdriver.promise.ControlFlow.runInNewFrame_ (C:\Users\ihayden\AppData\Roaming\npm\node_modules\protractor\node_modules\selenium-webdriver\lib\
webdriver\promise.js:1598:20)
at notify (C:\Users\ihayden\AppData\Roaming\npm\node_modules\protractor\node_modules\selenium-webdriver\lib\webdriver\promise.js:428:12)
at notifyAll (C:\Users\ihayden\AppData\Roaming\npm\node_modules\protractor\node_modules\selenium-webdriver\lib\webdriver\promise.js:397:7)
at resolve (C:\Users\ihayden\AppData\Roaming\npm\node_modules\protractor\node_modules\selenium-webdriver\lib\webdriver\promise.js:375:7)
at fulfill (C:\Users\ihayden\AppData\Roaming\npm\node_modules\protractor\node_modules\selenium-webdriver\lib\webdriver\promise.js:493:5)
at C:\Users\ihayden\AppData\Roaming\npm\node_modules\protractor\node_modules\selenium-webdriver\lib\webdriver\promise.js:1465:10
==== async task ====
WebElement.sendKeys([object Object])
at webdriver.WebDriver.schedule (C:\Users\ihayden\AppData\Roaming\npm\node_modules\protractor\node_modules\selenium-webdriver\lib\webdriver\webdri
ver.js:267:15)
at webdriver.WebElement.schedule_ (C:\Users\ihayden\AppData\Roaming\npm\node_modules\protractor\node_modules\selenium-webdriver\lib\webdriver\webd
river.js:1609:23)
at webdriver.WebElement.sendKeys (C:\Users\ihayden\AppData\Roaming\npm\node_modules\protractor\node_modules\selenium-webdriver\lib\webdriver\webdr
iver.js:1770:15)
at element.(anonymous function) [as sendKeys] (C:\Users\ihayden\AppData\Roaming\npm\node_modules\protractor\lib\protractor.js:612:32)
at C:\Users\ihayden\AppData\Roaming\npm\node_modules\protractor\lib\protractor.js:116:34
at C:\Users\ihayden\AppData\Roaming\npm\node_modules\protractor\node_modules\selenium-webdriver\lib\goog\base.js:1178:15
at webdriver.promise.ControlFlow.runInNewFrame_ (C:\Users\ihayden\AppData\Roaming\npm\node_modules\protractor\node_modules\selenium-webdriver\lib\
webdriver\promise.js:1598:20)
at notify (C:\Users\ihayden\AppData\Roaming\npm\node_modules\protractor\node_modules\selenium-webdriver\lib\webdriver\promise.js:428:12)
at notifyAll (C:\Users\ihayden\AppData\Roaming\npm\node_modules\protractor\node_modules\selenium-webdriver\lib\webdriver\promise.js:397:7)
==== async task ====
Asynchronous test function: beforeEach()
at null.<anonymous> (C:\Users\ihayden\AppData\Roaming\npm\node_modules\protractor\jasminewd\index.js:42:14)
at null.<anonymous> (C:\Users\ihayden\AppData\Roaming\npm\node_modules\protractor\node_modules\minijasminenode\lib\async-callback.js:45:37)
at jasmine.Block.execute (C:\Users\ihayden\AppData\Roaming\npm\node_modules\protractor\node_modules\minijasminenode\lib\jasmine-1.3.1.js:1168:17)
at jasmine.Queue.next_ (C:\Users\ihayden\AppData\Roaming\npm\node_modules\protractor\node_modules\minijasminenode\lib\jasmine-1.3.1.js:2200:31)
at onComplete (C:\Users\ihayden\AppData\Roaming\npm\node_modules\protractor\node_modules\minijasminenode\lib\jasmine-1.3.1.js:2196:18)
at jasmine.WaitsForBlock.execute (C:\Users\ihayden\AppData\Roaming\npm\node_modules\protractor\node_modules\minijasminenode\lib\jasmine-1.3.1.js:2
682:5)
at null._onTimeout (C:\Users\ihayden\AppData\Roaming\npm\node_modules\protractor\node_modules\minijasminenode\lib\jasmine-1.3.1.js:2696:12)
Error
at Object.elementFinder.(anonymous function) [as sendKeys] (C:\Users\ihayden\AppData\Roaming\npm\node_modules\protractor\lib\protractor.js:112:27)
at Object.loginFlow.login (D:\svn\M2\Protractor\Modules\loginFlow.js:10:24)
at null.<anonymous> (D:\svn\M2\Protractor\Testcases\Login\BonusLogin.js:102:18)
at flow.execute.then.e.stack (C:\Users\ihayden\AppData\Roaming\npm\node_modules\protractor\jasminewd\index.js:43:14)
at webdriver.promise.ControlFlow.runInNewFrame_ (C:\Users\ihayden\AppData\Roaming\npm\node_modules\protractor\node_modules\selenium-webdriver\lib\
webdriver\promise.js:1598:20)
at webdriver.promise.ControlFlow.runEventLoop_ (C:\Users\ihayden\AppData\Roaming\npm\node_modules\protractor\node_modules\selenium-webdriver\lib\w
ebdriver\promise.js:1463:8)
Error
at null.<anonymous> (D:\svn\M2\Protractor\Testcases\Login\BonusLogin.js:100:9)
at jasmine.Env.describe_ (C:\Users\ihayden\AppData\Roaming\npm\node_modules\protractor\node_modules\minijasminenode\lib\jasmine-1.3.1.js:907:21)
at jasmine.Env.ddescribe (C:\Users\ihayden\AppData\Roaming\npm\node_modules\protractor\node_modules\minijasminenode\lib\jasmine-1.3.1.js:928:15)
at ddescribe (C:\Users\ihayden\AppData\Roaming\npm\node_modules\protractor\node_modules\minijasminenode\lib\jasmine-1.3.1.js:683:27)
at null.<anonymous> (D:\svn\M2\Protractor\Testcases\Login\BonusLogin.js:99:5)
at jasmine.Env.describe_ (C:\Users\ihayden\AppData\Roaming\npm\node_modules\protractor\node_modules\minijasminenode\lib\jasmine-1.3.1.js:907:21)
at jasmine.Env.describe (C:\Users\ihayden\AppData\Roaming\npm\node_modules\protractor\node_modules\minijasminenode\lib\jasmine-1.3.1.js:892:15)
at describe (C:\Users\ihayden\AppData\Roaming\npm\node_modules\protractor\node_modules\minijasminenode\lib\jasmine-1.3.1.js:652:27)
at Object.<anonymous> (D:\svn\M2\Protractor\Testcases\Login\BonusLogin.js:6:1)
(look for whats going on with "wdc:1396877266512")
D:\dev\selendroid>java -jar selendroid-standalone-0.9.0-with-dependencies.jar
Apr 07, 2014 3:27:31 PM io.selendroid.SelendroidLauncher main
INFO: ################# Selendroid #################
Apr 07, 2014 3:27:31 PM io.selendroid.SelendroidLauncher lauchServer
INFO: Starting selendroid-server port 4444
Apr 07, 2014 3:27:31 PM io.selendroid.io.ShellCommand exec
INFO: executing command: D:\dev\adt-bundle-windows-x86_64-20131030\sdk\build-tools\android-4.4\aapt.exe remove C:\Users\ihayden\AppData\Local\Temp\and
roid-driver6801307157608217547.apk META-INF/MANIFEST.MF
Apr 07, 2014 3:27:31 PM io.selendroid.io.ShellCommand exec
INFO: executing command: D:\dev\adt-bundle-windows-x86_64-20131030\sdk\build-tools\android-4.4\aapt.exe remove C:\Users\ihayden\AppData\Local\Temp\and
roid-driver6801307157608217547.apk META-INF/CERT.RSA
Apr 07, 2014 3:27:31 PM io.selendroid.io.ShellCommand exec
INFO: executing command: D:\dev\adt-bundle-windows-x86_64-20131030\sdk\build-tools\android-4.4\aapt.exe remove C:\Users\ihayden\AppData\Local\Temp\and
roid-driver6801307157608217547.apk META-INF/CERT.SF
Apr 07, 2014 3:27:31 PM io.selendroid.io.ShellCommand exec
INFO: executing command: D:\dev\adt-bundle-windows-x86_64-20131030\sdk\build-tools\android-4.4\aapt.exe remove C:\Users\ihayden\AppData\Local\Temp\and
roid-driver6801307157608217547.apk META-INF/ANDROIDD.SF
Apr 07, 2014 3:27:31 PM io.selendroid.io.ShellCommand exec
INFO: executing command: D:\dev\adt-bundle-windows-x86_64-20131030\sdk\build-tools\android-4.4\aapt.exe remove C:\Users\ihayden\AppData\Local\Temp\and
roid-driver6801307157608217547.apk META-INF/ANDROIDD.RSA
Apr 07, 2014 3:27:31 PM io.selendroid.io.ShellCommand exec
INFO: executing command: C:\Program Files\Java\jdk1.7.0_25\bin\jarsigner.exe -sigalg MD5withRSA -digestalg SHA1 -signedjar C:\Users\ihayden\AppData\Lo
cal\Temp\resigned-android-driver6801307157608217547.apk -storepass android -keystore C:\Users\ihayden\.android\debug.keystore C:\Users\ihayden\AppData
\Local\Temp\android-driver6801307157608217547.apk androiddebugkey
Apr 07, 2014 3:27:32 PM io.selendroid.builder.SelendroidServerBuilder signTestServer
INFO: App signing output:
Apr 07, 2014 3:27:32 PM io.selendroid.builder.SelendroidServerBuilder signTestServer
INFO: The app has been signed: C:\Users\ihayden\AppData\Local\Temp\resigned-android-driver6801307157608217547.apk
Apr 07, 2014 3:27:32 PM io.selendroid.android.impl.DefaultDeviceManager initializeAdbConnection
INFO: my devices: Nexus4
Apr 07, 2014 3:27:32 PM io.selendroid.io.ShellCommand exec
INFO: executing command: D:\dev\adt-bundle-windows-x86_64-20131030\sdk\tools\android.bat list avds
Apr 07, 2014 3:27:33 PM io.selendroid.io.ShellCommand exec
INFO: executing command: D:\dev\adt-bundle-windows-x86_64-20131030\sdk\platform-tools\adb.exe devices
Apr 07, 2014 3:27:33 PM io.selendroid.server.model.DeviceStore addEmulators
INFO: Adding: AndroidEmulator [screenSize=768x1280, targetPlatform=ANDROID19, serial=emulator-5554, avdName=Nexus4]
Apr 07, 2014 3:27:33 PM io.selendroid.server.SelendroidStandaloneServer start
INFO: selendroid-standalone server has been started on port: 4444
Apr 07, 2014 3:27:39 PM io.selendroid.server.handler.CreateSessionHandler handle
INFO: new session command with capabilities: {"desiredCapabilities": {
"browserName": "android",
"emulator": true,
"locale": "en_US"
}}
Apr 07, 2014 3:27:39 PM io.selendroid.io.ShellCommand exec
INFO: executing command: D:\dev\adt-bundle-windows-x86_64-20131030\sdk\platform-tools\adb.exe -s emulator-5554 shell input keyevent 82
Apr 07, 2014 3:27:39 PM io.selendroid.io.ShellCommand exec
INFO: executing command: D:\dev\adt-bundle-windows-x86_64-20131030\sdk\platform-tools\adb.exe -s emulator-5554 shell input keyevent 4
Apr 07, 2014 3:27:39 PM io.selendroid.io.ShellCommand exec
INFO: executing command: D:\dev\adt-bundle-windows-x86_64-20131030\sdk\build-tools\android-4.4\aapt.exe dump badging C:\Users\ihayden\AppData\Local\Te
mp\resigned-android-driver6801307157608217547.apk
Apr 07, 2014 3:27:39 PM io.selendroid.io.ShellCommand exec
INFO: executing command: D:\dev\adt-bundle-windows-x86_64-20131030\sdk\platform-tools\adb.exe -s emulator-5554 shell pm list packages io.selendroid.an
droiddriver
Apr 07, 2014 3:27:40 PM io.selendroid.server.model.SelendroidStandaloneDriver createNewTestSession
INFO: the app under test is already installed.
Apr 07, 2014 3:27:40 PM io.selendroid.io.ShellCommand exec
INFO: executing command: D:\dev\adt-bundle-windows-x86_64-20131030\sdk\platform-tools\adb.exe -s emulator-5554 shell pm list packages io.selendroid.io
.selendroid.androiddriver
Apr 07, 2014 3:27:40 PM io.selendroid.server.model.SelendroidStandaloneDriver createNewTestSession
INFO: selendroid-server will not be created and installed because it already exists for the app under test.
Apr 07, 2014 3:27:40 PM io.selendroid.io.ShellCommand exec
INFO: executing command: D:\dev\adt-bundle-windows-x86_64-20131030\sdk\build-tools\android-4.4\aapt.exe dump badging C:\Users\ihayden\AppData\Local\Te
mp\resigned-android-driver6801307157608217547.apk
Apr 07, 2014 3:27:40 PM io.selendroid.io.ShellCommand exec
INFO: executing command: D:\dev\adt-bundle-windows-x86_64-20131030\sdk\platform-tools\adb.exe -s emulator-5554 shell am instrument -e main_activity io
.selendroid.androiddriver.WebViewActivity -e server_port 8080 io.selendroid.io.selendroid.androiddriver/io.selendroid.ServerInstrumentation
Apr 07, 2014 3:27:40 PM io.selendroid.io.ShellCommand exec
INFO: executing command: D:\dev\adt-bundle-windows-x86_64-20131030\sdk\platform-tools\adb.exe -s emulator-5554 forward tcp:8080 tcp:8080
Apr 07, 2014 3:27:40 PM io.selendroid.android.impl.AbstractDevice startLogging
INFO: starting logcat:
Apr 07, 2014 3:27:40 PM io.selendroid.android.impl.AbstractDevice isSelendroidRunning
INFO: using url: http://localhost:8080/wd/hub/status
Apr 07, 2014 3:27:41 PM org.apache.http.impl.client.DefaultRequestDirector tryExecute
INFO: I/O exception (java.net.SocketException) caught when processing request: Software caused connection abort: recv failed
Apr 07, 2014 3:27:41 PM org.apache.http.impl.client.DefaultRequestDirector tryExecute
INFO: Retrying request
Apr 07, 2014 3:27:41 PM org.apache.http.impl.client.DefaultRequestDirector tryExecute
INFO: I/O exception (java.net.SocketException) caught when processing request: Connection reset
Apr 07, 2014 3:27:41 PM org.apache.http.impl.client.DefaultRequestDirector tryExecute
INFO: Retrying request
Apr 07, 2014 3:27:41 PM org.apache.http.impl.client.DefaultRequestDirector tryExecute
INFO: I/O exception (java.net.SocketException) caught when processing request: Connection reset
Apr 07, 2014 3:27:41 PM org.apache.http.impl.client.DefaultRequestDirector tryExecute
INFO: Retrying request
Apr 07, 2014 3:27:41 PM io.selendroid.android.impl.AbstractDevice isSelendroidRunning
SEVERE: Error getting status: java.net.SocketException: Connection reset
Apr 07, 2014 3:27:43 PM io.selendroid.android.impl.AbstractDevice isSelendroidRunning
INFO: using url: http://localhost:8080/wd/hub/status
Apr 07, 2014 3:27:43 PM io.selendroid.android.impl.AbstractDevice isSelendroidRunning
INFO: got response status code: 200
Apr 07, 2014 3:27:43 PM io.selendroid.android.impl.AbstractDevice isSelendroidRunning
INFO: got response value: {"value":{"supportedApps":[],"build":{"browserName":"selendroid","version":"0.9.0"},"os":{"arch":"x86","version":"19","name"
:"Android"},"supportedDevices":[]},"status":0}
new Session URL: http://localhost:4444/wd/hub/session/dced9b79-b2e9-57ab-501d-5d1750a2e42b
Apr 07, 2014 3:27:44 PM io.selendroid.server.handler.RequestRedirectHandler handle
INFO: forward request command: for session dced9b79-b2e9-57ab-501d-5d1750a2e42b
Apr 07, 2014 3:27:44 PM io.selendroid.server.handler.RequestRedirectHandler redirectRequest
INFO: POST redirect to: http://localhost:8080/wd/hub/session/dced9b79-b2e9-57ab-501d-5d1750a2e42b/timeouts/async_script
Apr 07, 2014 3:27:44 PM io.selendroid.server.handler.RequestRedirectHandler redirectRequest
INFO: Payload? {"ms":11000}
Apr 07, 2014 3:27:44 PM io.selendroid.server.handler.RequestRedirectHandler handle
INFO: forward request command: for session dced9b79-b2e9-57ab-501d-5d1750a2e42b
Apr 07, 2014 3:27:44 PM io.selendroid.server.handler.RequestRedirectHandler redirectRequest
INFO: POST redirect to: http://localhost:8080/wd/hub/session/dced9b79-b2e9-57ab-501d-5d1750a2e42b/url
Apr 07, 2014 3:27:44 PM io.selendroid.server.handler.RequestRedirectHandler redirectRequest
INFO: Payload? {"url":"about:blank"}
Apr 07, 2014 3:27:44 PM io.selendroid.server.handler.RequestRedirectHandler handle
INFO: return value from selendroid android server:
Apr 07, 2014 3:27:44 PM io.selendroid.server.handler.RequestRedirectHandler handle
INFO: forward request command: for session dced9b79-b2e9-57ab-501d-5d1750a2e42b
Apr 07, 2014 3:27:44 PM io.selendroid.server.handler.RequestRedirectHandler redirectRequest
INFO: POST redirect to: http://localhost:8080/wd/hub/session/dced9b79-b2e9-57ab-501d-5d1750a2e42b/execute
Apr 07, 2014 3:27:44 PM io.selendroid.server.handler.RequestRedirectHandler redirectRequest
INFO: Payload? {"args":[],"script":"window.name = \"NG_DEFER_BOOTSTRAP!\" + window.name;window.location.assign(\"http://test.m.bwin.es/en/mobilelogin/
login\");"}
Apr 07, 2014 3:27:45 PM io.selendroid.server.handler.RequestRedirectHandler handle
INFO: forward request command: for session dced9b79-b2e9-57ab-501d-5d1750a2e42b
Apr 07, 2014 3:27:45 PM io.selendroid.server.handler.RequestRedirectHandler redirectRequest
INFO: POST redirect to: http://localhost:8080/wd/hub/session/dced9b79-b2e9-57ab-501d-5d1750a2e42b/execute
Apr 07, 2014 3:27:45 PM io.selendroid.server.handler.RequestRedirectHandler redirectRequest
INFO: Payload? {"args":[],"script":"return window.location.href;"}
Apr 07, 2014 3:27:45 PM io.selendroid.server.handler.RequestRedirectHandler handle
INFO: return value from selendroid android server: about:blank
Apr 07, 2014 3:27:45 PM io.selendroid.server.handler.RequestRedirectHandler handle
INFO: forward request command: for session dced9b79-b2e9-57ab-501d-5d1750a2e42b
Apr 07, 2014 3:27:45 PM io.selendroid.server.handler.RequestRedirectHandler redirectRequest
INFO: POST redirect to: http://localhost:8080/wd/hub/session/dced9b79-b2e9-57ab-501d-5d1750a2e42b/execute
Apr 07, 2014 3:27:45 PM io.selendroid.server.handler.RequestRedirectHandler redirectRequest
INFO: Payload? {"args":[],"script":"return window.location.href;"}
Apr 07, 2014 3:27:45 PM io.selendroid.server.handler.RequestRedirectHandler handle
INFO: return value from selendroid android server: about:blank
Apr 07, 2014 3:27:45 PM io.selendroid.server.handler.RequestRedirectHandler handle
INFO: forward request command: for session dced9b79-b2e9-57ab-501d-5d1750a2e42b
Apr 07, 2014 3:27:45 PM io.selendroid.server.handler.RequestRedirectHandler redirectRequest
INFO: POST redirect to: http://localhost:8080/wd/hub/session/dced9b79-b2e9-57ab-501d-5d1750a2e42b/execute
Apr 07, 2014 3:27:45 PM io.selendroid.server.handler.RequestRedirectHandler redirectRequest
INFO: Payload? {"args":[],"script":"return window.location.href;"}
Apr 07, 2014 3:27:45 PM io.selendroid.server.handler.RequestRedirectHandler handle
INFO: return value from selendroid android server: about:blank
Apr 07, 2014 3:27:45 PM io.selendroid.server.handler.RequestRedirectHandler handle
INFO: forward request command: for session dced9b79-b2e9-57ab-501d-5d1750a2e42b
Apr 07, 2014 3:27:45 PM io.selendroid.server.handler.RequestRedirectHandler redirectRequest
INFO: POST redirect to: http://localhost:8080/wd/hub/session/dced9b79-b2e9-57ab-501d-5d1750a2e42b/execute
Apr 07, 2014 3:27:45 PM io.selendroid.server.handler.RequestRedirectHandler redirectRequest
INFO: Payload? {"args":[],"script":"return window.location.href;"}
Apr 07, 2014 3:27:45 PM io.selendroid.server.handler.RequestRedirectHandler handle
INFO: return value from selendroid android server: about:blank
Apr 07, 2014 3:27:45 PM io.selendroid.server.handler.RequestRedirectHandler handle
INFO: forward request command: for session dced9b79-b2e9-57ab-501d-5d1750a2e42b
Apr 07, 2014 3:27:45 PM io.selendroid.server.handler.RequestRedirectHandler redirectRequest
INFO: POST redirect to: http://localhost:8080/wd/hub/session/dced9b79-b2e9-57ab-501d-5d1750a2e42b/execute
Apr 07, 2014 3:27:45 PM io.selendroid.server.handler.RequestRedirectHandler redirectRequest
INFO: Payload? {"args":[],"script":"return window.location.href;"}
Apr 07, 2014 3:27:45 PM io.selendroid.server.handler.RequestRedirectHandler handle
INFO: return value from selendroid android server: http://test.m.bwin.es/en/mobilelogin/login
Apr 07, 2014 3:27:45 PM io.selendroid.server.handler.RequestRedirectHandler handle
INFO: forward request command: for session dced9b79-b2e9-57ab-501d-5d1750a2e42b
Apr 07, 2014 3:27:45 PM io.selendroid.server.handler.RequestRedirectHandler redirectRequest
INFO: POST redirect to: http://localhost:8080/wd/hub/session/dced9b79-b2e9-57ab-501d-5d1750a2e42b/execute_async
Apr 07, 2014 3:27:45 PM io.selendroid.server.handler.RequestRedirectHandler redirectRequest
INFO: Payload? {"args":[10],"script":"return (function (attempts, asyncCallback) {\n var callback = function(args) {\n setTimeout(function() {\n
asyncCallback(args);\n }, 0);\n };\n var check = function(n) {\n try {\n if (window.angular && window.angular.resumeBootstrap) {\n
callback([true, null]);\n } else if (n < 1) {\n if (window.angular) {\n callback([false, 'angular never provided resumeBoots
trap']);\n } else {\n callback([false, 'retries looking for angular exceeded']);\n }\n } else {\n window.setTimeout
(function() {check(n - 1)}, 1000);\n }\n } catch (e) {\n callback([false, e]);\n }\n };\n check(attempts);\n}).apply(null, arguments
);"}
Apr 07, 2014 3:27:47 PM io.selendroid.server.handler.RequestRedirectHandler handle
INFO: return value from selendroid android server: [true,null]
Apr 07, 2014 3:27:47 PM io.selendroid.server.handler.RequestRedirectHandler handle
INFO: forward request command: for session dced9b79-b2e9-57ab-501d-5d1750a2e42b
Apr 07, 2014 3:27:47 PM io.selendroid.server.handler.RequestRedirectHandler redirectRequest
INFO: POST redirect to: http://localhost:8080/wd/hub/session/dced9b79-b2e9-57ab-501d-5d1750a2e42b/execute
Apr 07, 2014 3:27:47 PM io.selendroid.server.handler.RequestRedirectHandler redirectRequest
INFO: Payload? {"args":[[]],"script":"return (function () {\n angular.resumeBootstrap(arguments[0]);\n }).apply(null, arguments);"}
Apr 07, 2014 3:27:48 PM io.selendroid.server.handler.RequestRedirectHandler handle
INFO: forward request command: for session dced9b79-b2e9-57ab-501d-5d1750a2e42b
Apr 07, 2014 3:27:48 PM io.selendroid.server.handler.RequestRedirectHandler redirectRequest
INFO: POST redirect to: http://localhost:8080/wd/hub/session/dced9b79-b2e9-57ab-501d-5d1750a2e42b/execute_async
Apr 07, 2014 3:27:48 PM io.selendroid.server.handler.RequestRedirectHandler redirectRequest
INFO: Payload? {"args":["body"],"script":"return (function (selector, callback) {\n var el = document.querySelector(selector);\n try {\n angular.
element(el).injector().get('$browser').\n notifyWhenNoOutstandingRequests(callback);\n } catch (e) {\n callback(e);\n }\n}).apply(null, ar
guments);"}
Apr 07, 2014 3:27:48 PM io.selendroid.server.handler.RequestRedirectHandler handle
INFO: forward request command: for session dced9b79-b2e9-57ab-501d-5d1750a2e42b
Apr 07, 2014 3:27:48 PM io.selendroid.server.handler.RequestRedirectHandler redirectRequest
INFO: POST redirect to: http://localhost:8080/wd/hub/session/dced9b79-b2e9-57ab-501d-5d1750a2e42b/execute
Apr 07, 2014 3:27:48 PM io.selendroid.server.handler.RequestRedirectHandler redirectRequest
INFO: Payload? {"args":["username",null],"script":"return (function (model, using) {\n using = using || document;\n var prefixes = ['ng-', 'ng_', 'd
ata-ng-', 'x-ng-', 'ng\\\\:'];\n for (var p = 0; p < prefixes.length; ++p) {\n var selector = '[' + prefixes[p] + 'model=\"' + model + '\"]';\n
var elements = using.querySelectorAll(selector);\n if (elements.length) {\n return elements;\n }\n }\n}).apply(null, arguments);"}
Apr 07, 2014 3:27:48 PM io.selendroid.server.handler.RequestRedirectHandler handle
INFO: return value from selendroid android server: [{"ELEMENT":":wdc:1396877266512"}]
Apr 07, 2014 3:27:48 PM io.selendroid.server.handler.RequestRedirectHandler handle
INFO: forward request command: for session dced9b79-b2e9-57ab-501d-5d1750a2e42b
Apr 07, 2014 3:27:48 PM io.selendroid.server.handler.RequestRedirectHandler redirectRequest
INFO: POST redirect to: http://localhost:8080/wd/hub/session/dced9b79-b2e9-57ab-501d-5d1750a2e42b/execute_async
Apr 07, 2014 3:27:48 PM io.selendroid.server.handler.RequestRedirectHandler redirectRequest
INFO: Payload? {"args":["body"],"script":"return (function (selector, callback) {\n var el = document.querySelector(selector);\n try {\n angular.
element(el).injector().get('$browser').\n notifyWhenNoOutstandingRequests(callback);\n } catch (e) {\n callback(e);\n }\n}).apply(null, ar
guments);"}
Apr 07, 2014 3:27:49 PM io.selendroid.server.handler.RequestRedirectHandler handle
INFO: forward request command: for session dced9b79-b2e9-57ab-501d-5d1750a2e42b
Apr 07, 2014 3:27:49 PM io.selendroid.server.handler.RequestRedirectHandler redirectRequest
INFO: POST redirect to: http://localhost:8080/wd/hub/session/dced9b79-b2e9-57ab-501d-5d1750a2e42b/element/:wdc:1396877266512/value
Apr 07, 2014 3:27:49 PM io.selendroid.server.handler.RequestRedirectHandler redirectRequest
INFO: Payload? {"value":["FVTESPspjzpeec"]}
Apr 07, 2014 3:27:49 PM io.selendroid.server.handler.RequestRedirectHandler handle
INFO: return value from selendroid android server: {"message":"Element with id ':wdc:1396877266512' was not found.\nio.selendroid.exceptions.Selendroi
dException: Element with id ':wdc:1396877266512' was not f...
Apr 07, 2014 3:27:49 PM io.selendroid.server.handler.RequestRedirectHandler handle
INFO: forward request command: for session dced9b79-b2e9-57ab-501d-5d1750a2e42b
Apr 07, 2014 3:27:49 PM io.selendroid.server.handler.RequestRedirectHandler redirectRequest
INFO: POST redirect to: http://localhost:8080/wd/hub/session/dced9b79-b2e9-57ab-501d-5d1750a2e42b/execute_async
Apr 07, 2014 3:27:49 PM io.selendroid.server.handler.RequestRedirectHandler redirectRequest
INFO: Payload? {"args":["body"],"script":"return (function (selector, callback) {\n var el = document.querySelector(selector);\n try {\n angular.
element(el).injector().get('$browser').\n notifyWhenNoOutstandingRequests(callback);\n } catch (e) {\n callback(e);\n }\n}).apply(null, ar
guments);"}
Apr 07, 2014 3:27:49 PM io.selendroid.server.handler.RequestRedirectHandler handle
INFO: forward request command: for session dced9b79-b2e9-57ab-501d-5d1750a2e42b
Apr 07, 2014 3:27:49 PM io.selendroid.server.handler.RequestRedirectHandler redirectRequest
INFO: POST redirect to: http://localhost:8080/wd/hub/session/dced9b79-b2e9-57ab-501d-5d1750a2e42b/element
Apr 07, 2014 3:27:49 PM io.selendroid.server.handler.RequestRedirectHandler redirectRequest
INFO: Payload? {"using":"id","value":"welcome"}
Apr 07, 2014 3:27:54 PM io.selendroid.server.handler.RequestRedirectHandler handle
INFO: return value from selendroid android server: {"message":"Element was not found.\nio.selendroid.exceptions.NoSuchElementException: Element was no
t found.\n\tat io.selendroid.server.handler.FindElement.ha...
Apr 07, 2014 3:27:54 PM io.selendroid.server.handler.RequestRedirectHandler handle
INFO: forward request command: for session dced9b79-b2e9-57ab-501d-5d1750a2e42b
Apr 07, 2014 3:27:54 PM io.selendroid.server.handler.RequestRedirectHandler redirectRequest
INFO: POST redirect to: http://localhost:8080/wd/hub/session/dced9b79-b2e9-57ab-501d-5d1750a2e42b/execute
Apr 07, 2014 3:27:54 PM io.selendroid.server.handler.RequestRedirectHandler redirectRequest
INFO: Payload? {"args":[],"script":"window.sessionStorage.clear();"}
Apr 07, 2014 3:27:54 PM io.selendroid.server.handler.RequestRedirectHandler handle
INFO: forward request command: for session dced9b79-b2e9-57ab-501d-5d1750a2e42b
Apr 07, 2014 3:27:54 PM io.selendroid.server.handler.RequestRedirectHandler redirectRequest
INFO: POST redirect to: http://localhost:8080/wd/hub/session/dced9b79-b2e9-57ab-501d-5d1750a2e42b/execute
Apr 07, 2014 3:27:54 PM io.selendroid.server.handler.RequestRedirectHandler redirectRequest
INFO: Payload? {"args":[],"script":"window.localStorage.clear();"}
Apr 07, 2014 3:27:54 PM io.selendroid.server.handler.RequestRedirectHandler handle
INFO: forward request command: for session dced9b79-b2e9-57ab-501d-5d1750a2e42b
Apr 07, 2014 3:27:54 PM io.selendroid.server.handler.RequestRedirectHandler redirectRequest
INFO: DELETE redirect to: http://localhost:8080/wd/hub/session/dced9b79-b2e9-57ab-501d-5d1750a2e42b/cookie
Apr 07, 2014 3:27:54 PM io.selendroid.server.handler.RequestRedirectHandler handle
INFO: return value from selendroid android server:
Apr 07, 2014 3:27:55 PM io.selendroid.server.handler.CaptureScreenshot handle
INFO: take screenshot command
Apr 07, 2014 3:27:57 PM io.selendroid.server.handler.DeleteSessionHandler handle
INFO: delete session command
Apr 07, 2014 3:27:57 PM io.selendroid.io.ShellCommand exec
INFO: executing command: D:\dev\adt-bundle-windows-x86_64-20131030\sdk\platform-tools\adb.exe -s emulator-5554 shell am force-stop io.selendroid.andro
iddriver
Apr 07, 2014 3:27:58 PM io.selendroid.io.ShellCommand exec
INFO: executing command: D:\dev\adt-bundle-windows-x86_64-20131030\sdk\platform-tools\adb.exe -s emulator-5554 shell pm clear io.selendroid.androiddri
ver
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment