Protractor + double click an element? -
i want double element in protractor; using below not doing double click, instead single click.
browser.actions().doubleclick(element(by.xpath("//*[@id='optionstagginglist']/div[1]/div[1]/div[1]/table/tbody/tr/td[1]")).getattribute(1)).perform()
is there missing?
the below code worked:
var ele = element(by.xpath("//*[@id='optionstagginglist']//td[1]")) browser.actions().click(ele).click(ele).perform();
Comments
Post a Comment