Jonathan Lipps
9cd9907db6
Merge pull request #200 from bootstraponline/fix_undefined
...
Fix undefined issues
2013-02-20 10:10:04 -08:00
bootstraponline
57015e52f8
Fix undefined issues
...
TypeError: Cannot read property 'name' of undefined
TypeError: Cannot read property 'code' of undefined
2013-02-20 13:08:20 -05:00
Jonathan Lipps
e1c9a62729
Merge pull request #196 from bootstraponline/fix_null
...
Fix null value
2013-02-19 11:02:50 -08:00
bootstraponline
2c47fa2b49
Fix null value
...
getElementsByXpath returns value: null when xpObj === false
2013-02-18 14:02:09 -05:00
Jonathan Lipps
c584ff283a
Merge pull request #195 from bootstraponline/fix_null
...
Fix null check
2013-02-18 10:57:41 -08:00
bootstraponline
2a9c75d8f6
Fix null check
...
Selenium::WebDriver::Error::JavascriptError: 'null' is not an object (evaluating 'el[key]().indexOf')
This happens when an element exists that doesn't have the proper value.
> execute_script "[$('text')[0].name()]"
=> [nil]
2013-02-18 13:52:25 -05:00
Sebastian Tiedtke
bd72ec246c
Merge pull request #194 from jlipps/master
...
add xpath support
2013-02-15 16:46:30 -08:00
Jonathan Lipps
45efbf6d9d
round out xpath finding logic
2013-02-15 16:41:07 -08:00
Jonathan Lipps
75641cafec
initial searching by xpath logic
2013-02-15 15:45:21 -08:00
Jonathan Lipps
ed6fb344a5
initial searching by xpath logic
2013-02-15 15:44:30 -08:00
Jonathan Lipps
cef7cea3dd
no difference between 'all' and 'desc' in root context
2013-02-15 13:05:01 -08:00
Jonathan Lipps
6fdcb30ed4
rewrite xpath parsing to return kind of descendance
2013-02-15 13:00:49 -08:00
Jonathan Lipps
bd5e0693ea
test organization
2013-02-15 11:53:14 -08:00
Jonathan Lipps
50dfbae0d3
more xpath parsing and unit tests for it
2013-02-15 11:52:22 -08:00
Jonathan Lipps
a063ac950b
initial work getting xpath regexes working
2013-02-14 16:50:39 -08:00
Jonathan Lipps
7bb3ee58b2
Merge pull request #190 from gaige/fdfix
...
Fix #148 leaving domain sockets open
2013-02-14 15:19:30 -08:00
Gaige B Paulsen
63bdcd282d
Fix #148 leaving domain sockets open
...
In order to make sure the domain socket closes, we need to close() the
socket server itself, which requires paying attention to its creation
and
2013-02-14 18:12:22 -05:00
Gaige B Paulsen
ed432ee127
Fix #148 leaving domain sockets open
...
In order to make sure the domain socket closes, we need to close() the
socket server itself, which requires paying attention to its creation
and
2013-02-14 18:01:15 -05:00
Jonathan Lipps
4df09746a3
Merge pull request #189 from bootstraponline/comment
...
Remove commented code
2013-02-14 13:18:26 -08:00
Jonathan Lipps
d7ff5c0df0
backwards compatibility fix for pyappium
2013-02-14 12:17:12 -08:00
bootstraponline
64714f3915
Remove commented code
2013-02-14 13:30:46 -05:00
Jonathan Lipps
ab18a9c57d
Merge pull request #187 from bootstraponline/fix_186
...
Fix 186
2013-02-14 10:16:55 -08:00
Adam Christian
01e316a820
Merge pull request #188 from jlipps/master
...
handle when app can't be built better
2013-02-14 10:16:27 -08:00
Jonathan Lipps
a01da0811b
better handling of building app that doesn't exist
2013-02-14 10:14:19 -08:00
bootstraponline
0412eae8f8
Fix style
2013-02-14 13:12:27 -05:00
Jonathan Lipps
aaa19e7777
add style guide link to README
2013-02-14 09:25:39 -08:00
Gaige B Paulsen
ba033c349c
Add support for setValueImmediate
...
This new mobile: command restores the ability to manually set the value
of all objects, including UITextField using the direct setValue() JS in
UIAutomation.
By default, POST /value will generate keypress events in a UITextView,
as is in line with the webdriver specification. With this additon, you
can now use the 'old' appium method of setting directly with setValue
by using:
mobile:setvalue [{ element: elementID, value: value }]
2013-02-14 10:44:25 -05:00
Gaige B Paulsen
8ce29bbe89
Object leak removal, and some work at removing the file descriptor leaks coming from the unix domain sockets.
2013-02-14 10:42:59 -05:00
Gaige B Paulsen
7d0e2c2daa
Change /value to send keys as per spec when used with text fields
2013-02-14 10:41:51 -05:00
Jonathan Lipps
743e24301d
bump version for npm publish
2013-02-13 19:11:45 -08:00
Jonathan Lipps
9191e800ca
make sure no logs ever show up in git
2013-02-13 19:06:26 -08:00
Sebastian Tiedtke
21e9dba6a1
Merge pull request #185 from jlipps/master
...
hideKeyboard method
2013-02-13 18:48:15 -08:00
Jonathan Lipps
388baad37e
add mobile: hideKeyboard method for hiding keyboard based on key name
2013-02-13 18:46:04 -08:00
Sebastian Tiedtke
e00c12298e
Merge pull request #184 from jlipps/master
...
basic 'reset' script
2013-02-13 17:10:42 -08:00
Jonathan Lipps
023a434526
add reset to README
2013-02-13 17:06:38 -08:00
Jonathan Lipps
bdb8479f2a
first stab at a 'reset everything' shell script
2013-02-13 17:04:47 -08:00
Santiago Suarez Ordoñez
847859599e
Merge pull request #183 from jlipps/master
...
hide error logging that's meaningless
2013-02-13 15:47:35 -08:00
Jonathan Lipps
76e5b6544b
fix this test, no need to escape anymore
2013-02-13 15:45:20 -08:00
Jonathan Lipps
e5b2b8ae88
don't show errors from debugger if they're meaningless
2013-02-13 15:45:20 -08:00
Jonathan Lipps
0a98f4e758
Merge pull request #181 from bootstraponline/fix_wrap
...
Status is never undefined
2013-02-13 15:43:27 -08:00
Santiago Suarez Ordoñez
a575c7b88f
Merge pull request #182 from jlipps/master
...
more helpful error handling for find strategies
2013-02-13 15:14:10 -08:00
Jonathan Lipps
fec770c0fa
better messages when we try to use a strategy that doesn't exist
2013-02-13 14:47:34 -08:00
bootstraponline
9ac362b31d
Status is never undefined
2013-02-13 17:12:04 -05:00
Sebastian Tiedtke
8d7a46a89d
Fix: Don't just execute a single test
2013-02-13 14:11:57 -08:00
Santiago Suarez Ordoñez
c51422d42b
log some more info to figure out what's going on with these messages
2013-02-13 14:08:10 -08:00
Jonathan Lipps
8aeeb56ffb
Merge pull request #178 from sourishkrout/master
...
Added getElementsByName support.
2013-02-13 13:17:05 -08:00
Sebastian Tiedtke
f0c438809e
Merge branch 'master' of github.com:appium/appium
2013-02-13 11:46:40 -08:00
Sebastian Tiedtke
93bc164ffb
Added test for getElementsByName.
2013-02-13 11:45:37 -08:00
Sebastian Tiedtke
5a079e75af
Added elements with same accessiblity label for multi elem lookup.
2013-02-13 11:44:01 -08:00
Sebastian Tiedtke
4c119b3516
Internally we won't need this method any longer.
2013-02-13 11:33:15 -08:00