Selecting users when creating group chat

Signed-off-by: Serhy <sergii@status.im>
This commit is contained in:
Serhy 2019-02-14 16:25:45 +02:00
parent e9bc937f9a
commit 8812c0f8bc
No known key found for this signature in database
GPG Key ID: 5D7C4B9E2B6F500B
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ class EnterUrlEditbox(BaseEditBox):
class UsernameCheckbox(BaseButton): class UsernameCheckbox(BaseButton):
def __init__(self, driver, username): def __init__(self, driver, username):
super(UsernameCheckbox, self).__init__(driver) super(UsernameCheckbox, self).__init__(driver)
self.locator = self.Locator.xpath_selector("//*[@text='%s']/../../android.widget.CheckBox" % username) self.locator = self.Locator.xpath_selector("//*[@text='%s']" % username)
class InviteFriendsButton(BaseButton): class InviteFriendsButton(BaseButton):