I'm getting this error:
UnknownError: null
at new bot.Error ...
From: Task: ActionSequence.perform ...
when I try to run this code:
browser.actions().mouseMove(browser.findElement(protractor.By.css(selector))).perform();
Worked fine in 1.x for me but now not working in 2.x. Any ideas?
Not sure. Could you show me more of the stacktrace? And are you sure the only difference is 1.x -> 2.x? Are you able to create a minimal reproduction?
does this work for you
browser.actions().mouseMove(element(by.css(selector))).perform();
@bvasilchik
That works great! Thanks. Looks like it just isn't supporting legacy commands anymore?
I am using Protractor 4.0.8 and 2.5.2 Jasmine framework(Integrated with Visual Studio) however the below syntax is not working.
browser.actions().mouseMove(element(by.css('a[href*="task/search"]'))).perform();
Please can someone provide your help in making this work
@Arav4prot Did you get solution for this?
Most helpful comment
I am using Protractor 4.0.8 and 2.5.2 Jasmine framework(Integrated with Visual Studio) however the below syntax is not working.
browser.actions().mouseMove(element(by.css('a[href*="task/search"]'))).perform();
Please can someone provide your help in making this work