Commit Graph

12164 Commits

Author SHA1 Message Date
Jonathan Lipps 93d3be539a playing with timeouts again 2013-03-29 12:48:39 -07:00
Jonathan Lipps 2d033862c0 no need to reset timeout if prelaunched 2013-03-29 12:21:52 -07:00
Jonathan Lipps dbf0795a6c make default timeout 1 hour to handle long web-only tests 2013-03-29 12:08:25 -07:00
Jonathan Lipps 61e37c2732 new error message reporting structure 2013-03-29 09:28:16 -07:00
Jonathan Lipps 9d286e1ebf don't try to stop remote unless it exists 2013-03-29 09:16:37 -07:00
Jonathan Lipps d8fb34b2c2 clear out safariness in between sessions 2013-03-29 09:16:37 -07:00
Jonathan Lipps d409a20844 better failure behavior 2013-03-29 09:16:37 -07:00
Jonathan Lipps 074b584b41 allow alert handling to happen even in midst of remote command 2013-03-29 09:16:37 -07:00
Jonathan Lipps 4a6ce10a14 allow .only() for safari's describe() 2013-03-29 09:16:37 -07:00
Jonathan Lipps f32b44d759 mute some of this log spew 2013-03-29 09:16:37 -07:00
Jonathan Lipps de3daa0660 don't allow processing of native commands if remote commands in progress 2013-03-29 09:16:37 -07:00
Ross Rowe 07a7a70c2f Updated Java Appium examples and documentation 2013-03-29 16:17:51 +11:00
Jonathan Lipps b4a7ddd022 add --orientation cli param 2013-03-28 16:28:31 -07:00
Jonathan Lipps 764525baa6 allow overloading of this selenium desired cap 2013-03-28 16:10:12 -07:00
Jonathan Lipps bc8ccaf8f7 enable setting device orientation in desired caps 2013-03-28 15:45:08 -07:00
Jonathan Lipps 91ebe5f229 don't set type of real device, and add instruments launch logging 2013-03-28 15:30:27 -07:00
Jonathan Lipps eba4230f9e Merge pull request #350 from bootstraponline/source_xml
Add mobile 'source' getPageSourceXML
2013-03-28 14:29:31 -07:00
bootstraponline b6f99e3bea Add mobile 'source' getPageSourceXML
Example Ruby use:

mobile :source, type: :json
mobile :source, type: :xml

Fix #349
2013-03-28 16:09:01 -04:00
Jonathan Lipps 7b7edcfe04 don't be so eager to find alerts 2013-03-27 19:25:28 -07:00
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