0
Unable to do Mouse Move on the Firefox browser

Open 0 Answers 36 Views
​​​​​​​for(String wHandle : driver.getWindowHandles()){
		driver.switchTo().window(wHandle);
	}
	driver.manage().timeouts().implicitlyWait(120, TimeUnit.SECONDS);
	WebElement copyrightLink=driver.findElement(copyright);
	Actions act = new Actions(driver);
    act.moveToElement(copyrightLink).perform();
	acti.click().perform();
	Thread.sleep(1000);

Exception on executing above code on Mouse over operations.

 

Driver info: driver.version: RemoteWebDriver
at org.openqa.selenium.remote.http.AbstractHttpCommandCodec.encode(AbstractHttpCommandCodec.java:220)
at org.openqa.selenium.remote.http.AbstractHttpCommandCodec.encode(AbstractHttpCommandCodec.java:118)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:157)
at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:82)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:604)
at org.openqa.selenium.remote.RemoteExecuteMethod.execute(RemoteExecuteMethod.java:35)

1Comments
commented Mar 29 by stbadmin (4,970 points)
Can you post complete stacktrace? Including caused by?

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.
...