Checkout our demo site to practice selenium https://magento.softwaretestingboard.com/

0 like 0 dislike
181 views
by Contributing Tester (92 points)
edited by
​​​​​​​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)

by The go-to Tester (181 points)
Can you post complete stacktrace? Including caused by?

Please log in or register to answer this question.


This site is for software testing professionals, where you can ask all your questions and get answers from 1300+ masters of the profession. Click here to submit yours now!

1.4k questions

1.6k answers

866 comments

1.9k users

...