mirror of
https://github.com/appium/appium.git
synced 2026-01-26 04:09:05 -06:00
Add class name as a valid strategy for non-Web platforms
This commit is contained in:
@@ -201,13 +201,13 @@ exports.checkValidLocStrat = function(strat, includeWeb, cb) {
|
||||
'xpath',
|
||||
'id',
|
||||
'name',
|
||||
'dynamic'
|
||||
'dynamic',
|
||||
'class name'
|
||||
];
|
||||
if (includeWeb) {
|
||||
validStrats = validStrats.concat([
|
||||
'link text',
|
||||
'css selector',
|
||||
'class name',
|
||||
'partial link text'
|
||||
]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user