mirror of
https://github.com/appium/appium.git
synced 2026-05-07 19:40:01 -05:00
Extract strings from apk corresponding to device language instead of default to be used with ID location strategy in Android
This commit is contained in:
@@ -77,7 +77,11 @@ describe("apidemo - find elements -", function () {
|
||||
.elementById("buttons_1_normal").text().should.become("Normal")
|
||||
.nodeify(done);
|
||||
});
|
||||
|
||||
it('should find a single element by string id', function (done) {
|
||||
driver
|
||||
.elementById("activity_sample_code").text().should.become("API Demos")
|
||||
.nodeify(done);
|
||||
});
|
||||
it('should find a single element by resource-id', function (done) {
|
||||
driver
|
||||
.elementById('android:id/home').should.eventually.exist
|
||||
|
||||
Reference in New Issue
Block a user