fix for menu item

Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
This commit is contained in:
Churikova Tetiana 2019-09-20 15:59:31 +02:00
parent c3d59db47a
commit da120feef8
No known key found for this signature in database
GPG Key ID: 0D4EA7B33B47E6D8
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ class ClearButton(BaseButton):
class BlockButton(BaseButton):
def __init__(self, driver):
super(BlockButton, self).__init__(driver)
self.locator = self.Locator.accessibility_id('block-contact')
self.locator = self.Locator.xpath_selector('(//*[@text="Block this user"])[2]')
class LeaveButton(BaseButton):