Commit Graph

11595 Commits

Author SHA1 Message Date
Jonathan Lipps d07c32cd48 make atoms elements work if selenium proxy is in front 2013-03-27 19:16:55 -07:00
Sebastian Tiedtke dda9877ecb Merge pull request #346 from jlipps/master
fireEvent() for web
2013-03-27 18:33:03 -07:00
Jonathan Lipps 029a3523c4 add fireEvent() function for mobile web 2013-03-27 18:25:19 -07:00
Dan Cuellar 68b4eb01b7 Merge pull request #345 from penguinho/master
Objective C is now a supported selenium language
2013-03-27 15:11:51 -07:00
Dan Cuellar ec4c16f43c Objective C is now a supported selenium language 2013-03-27 15:11:17 -07:00
Jonathan Lipps 4e57f01f9b make error message returned as part of value 2013-03-27 13:44:31 -07:00
Jonathan Lipps c169d9796f Merge pull request #340 from bootstraponline/fix_apk
APK fixes
2013-03-27 13:08:34 -07:00
Jonathan Lipps 29295e6ffb Merge pull request #341 from mutualmobile/device_ready_timeout
Added configurable timeout for device ready state
2013-03-27 13:07:55 -07:00
Eric Plaster dd62e81620 Updated per request
Added base 10 for parseInt, and generated docs for server arguments.
2013-03-27 15:07:04 -05:00
Jason Carr 131952eff0 Merge pull request #342 from jlipps/master
webview refresh()
2013-03-27 11:49:10 -07:00
Jonathan Lipps c482736b41 add refresh() and a weak test for it 2013-03-27 11:46:25 -07:00
Eric Plaster 86f3359c34 Added configurable timeout for device ready state
I found that 5 seconds was too short for our app, and so I made it
configurable with the option:  device-ready-timeout in seconds.
2013-03-27 13:31:14 -05:00
Jonathan Lipps 699a0bd828 Merge pull request #339 from bootstraponline/xuru
Squashed #335
2013-03-27 08:36:57 -07:00
bootstraponline 3e9a89dff1 Install clean.apk before fast reset
Quote apk path
2013-03-27 11:20:08 -04:00
Jonathan Lipps 831b529ed8 try both safari versions for mobile safari pre-launch 2013-03-27 08:13:46 -07:00
Eric Plaster fd2444b837 Changed the regular expression in ADB.prototype.waitForActivity to make
the period optional at the begining of the activity.  At least for API 17 I
don't see it.  Here is the line for mFocusedApp for my app:
mFocusedApp=AppWindowToken{b52c36d0 token=Token{b524e338 ActivityRecord{b528ae18 u0 com.xxxxx.android.root/com.xxxxx.android.activity.LoginScreenActivity}}}

Removed backup file and added ignore
2013-03-27 09:58:38 -04:00
Jonathan Lipps 6e04db73d7 allow back() and forward() through actually clicking on safari buttons 2013-03-26 17:22:05 -07:00
Jonathan Lipps edaa2372e0 make it 3 times instead of 10 2013-03-26 17:22:05 -07:00
Jonathan Lipps 8c7a161c3f limit number of times whackamole runs 2013-03-26 17:22:05 -07:00
Jonathan Lipps 6a51422b6c Merge pull request #336 from sourishkrout/master
Added elements equals elements support.
2013-03-26 17:20:47 -07:00
Sebastian Tiedtke eda4b9189f Removed lonely only. 2013-03-26 17:16:43 -07:00
Sebastian Tiedtke fc086ae8a6 Use should properly. 2013-03-26 17:11:49 -07:00
Sebastian Tiedtke 29c80f0666 Let the browser decide if object are equal if id's are different. 2013-03-26 17:11:23 -07:00
Sebastian Tiedtke 68fa0eb784 Added element equals element test to webview suite. 2013-03-26 15:09:43 -07:00
Sebastian Tiedtke 8decc8df39 Equals element is no longer a not implemented method. 2013-03-26 15:09:43 -07:00
Sebastian Tiedtke 2b258d8009 Added RemoteDebugger logic to compare element ids. 2013-03-26 15:09:43 -07:00
Sebastian Tiedtke 37510c13a1 New controller to handle equalsElement route. 2013-03-26 15:09:43 -07:00
Jonathan Lipps 4ab0113b53 Merge pull request #334 from bootstraponline/wait_for_act
Add wait for activity.
2013-03-26 14:34:04 -07:00
bootstraponline 34fabfaa72 Add wait for activity.
Fix #332
2013-03-26 17:31:10 -04:00
Adam Christian 30e655d571 Merge pull request #333 from jlipps/master
webview frame switching and better alert handling
2013-03-26 13:49:38 -07:00
Jonathan Lipps 91c4d61094 update example to use new hybrid exit strategy 2013-03-26 13:46:07 -07:00
Jonathan Lipps ccb530ee09 don't let whackamole start for a while 2013-03-26 13:44:15 -07:00
Jonathan Lipps 5f3628511d catch alerts that pop up before test commands and close them 2013-03-26 13:23:22 -07:00
Jonathan Lipps dbb9b44691 allow finding frames within frames 2013-03-26 12:51:22 -07:00
Jonathan Lipps 5abfaec2ec add ability to switch to frame by element 2013-03-26 11:50:30 -07:00
Jonathan Lipps 7b595f3975 better error handling and clear out webframe on new url 2013-03-26 11:34:36 -07:00
Jonathan Lipps 4027666305 add tests for iframe switching too 2013-03-26 11:06:43 -07:00
Jonathan Lipps c3be26d103 allow switching back to default frame 2013-03-26 11:01:24 -07:00
Jonathan Lipps 6f8d6d8975 basic web frame setting and tests 2013-03-26 10:37:17 -07:00
Jonathan Lipps 4d5c74f812 don't use frame(null) for clearing webview, use mobile: leaveWebView 2013-03-26 09:48:10 -07:00
Jonathan Lipps 583228959b scope all atom commands to some window object 2013-03-26 09:33:58 -07:00
Jonathan Lipps ef294e003d bump safari default version to 6.1 2013-03-26 09:33:58 -07:00
Jonathan Lipps f365e46277 make sure server quits if it's pre-launch and doesn't work 2013-03-26 09:33:58 -07:00
Jonathan Lipps 49c7297212 allow pre-launching local zips/apps/safari from command line 2013-03-26 09:33:58 -07:00
Jonathan Lipps bde3eabc7d add frame guineas and ability of executeAtom to run in frame context 2013-03-26 09:33:58 -07:00
Adam Christian 6f700b2875 Merge pull request #329 from jlipps/master
even moar alert awesomeness
2013-03-25 17:27:07 -07:00
Jonathan Lipps 7b6a9c5baf betterify alert closing wait logic 2013-03-25 17:25:00 -07:00
Jonathan Lipps 14f2960677 make sure you can't get text of a dismissed alert 2013-03-25 16:48:53 -07:00
Jonathan Lipps 8995c602d8 make sure setAlertText fails on non-prompts 2013-03-25 16:22:41 -07:00
Jonathan Lipps 7043e743a8 allow setting of alert text 2013-03-25 16:08:46 -07:00