Mouse hover in selenium using Java -
need perform hover on electronics highlighted on below image
cd.get("http://flipkart.com/"); cd.manage().window().maximize(); actions mobile = new actions(cd); webelement electronics= cd.findelement( by.xpath(".//*[@id='container']/div/header/div[2]/div/ul/li[1]/a/span")); //electronics.click(); mobile.movetoelement(electronics); mobile.build().perform();
this post contains same question yours, please consider viewing first answer, accepted.
ps : please let me know if worked, else can search solutions! luck.
Comments
Post a Comment