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

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -