Skip to content

Commit

Permalink
support css selector in web view ,fix #59
Browse files Browse the repository at this point in the history
  • Loading branch information
jollychang committed Jul 30, 2015
1 parent 83f2c44 commit 0d2adf4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/AppiumLibrary/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class AppiumLibrary(
| accessibility_id | Click Element `|` accessibility_id=t | Accessibility options utilize. |
| android | Click Element `|` android=new UiSelector().description('Apps') | Matches by Android UI Automator |
| ios | Click Element `|` ios=.buttons().withName('Apps') | Matches by iOS UI Automation |
| css | Click Element `|` css=.green_button | Matches by css in webview |
Expand Down
1 change: 1 addition & 0 deletions src/AppiumLibrary/locators/elementfinder.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ def __init__(self):
'accessibility_id': self._find_element_by_accessibility_id,
'android': self._find_by_android,
'ios': self._find_by_ios,
'css': self._find_by_css_selector,
None: self._find_by_default
}

Expand Down

0 comments on commit 0d2adf4

Please sign in to comment.