mousemove with arrow donw in protractor code example

Example: mousemove with arrow donw in protractor

import { browser, element, by, ElementFinder} from 'protractor'
describe('Protractor Typescript Demo', function() {
	browser.ignoreSynchronization = true; // for non-angular websites
	browser.manage().window().maximize()
	it('Mouse Operations', function() {
		// set implicit time to 30 seconds
		browser.manage().timeouts().implicitlyWait(30000);

		browser.get("https://chercher.tech/practice/popups")
		// mouse hover on a submenu
		browser.actions().mouseMove(element(by.id("sub-menu"))).perform()
	});
});

Tags:

Misc Example