wda_lib
A simple ruby lib of binding methods for WebDriverAgent
Install
gem install wda_lib
Usage example
A simple test to show all actions on WDA IntegrationApp Single devices
Example of multiple devices
Options
Update: I have to disable selenium-webdriver gem since wda_lib was using selenium-webdriver 3.0 beta which has conflict with Appium's one(2.x), I did try to downgrade for wda_lib, but doesn't work currently, need more time to give a try to find a way to handle it.
This lib is also providing access of selenium-webdriver method find_element and find_elements. You can do:
element = app.find_element(:link_text, 'label=Attributes')
Then you can use all methods for selenium element object:
element.click
element.name
element.size
element.rect
element.location
Doc
Use yard to generate locale documentations.
yard doc
yard server
Open wda doc in your browser.
TODO
Add more tests...
Contributing
Welcome to get your contributions, to help improving the lib.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Added some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request