fix for menu item
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
This commit is contained in:
parent
c3d59db47a
commit
da120feef8
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue