- IE driver need to start with "ignoreZoomSettings" true
IE driver need to start with "ignoreZoomSettings" true
Got this error when using WebDriver for IE: "
org.openqa.selenium.remote.SessionNotFoundException". Turns out I was using IE to visit the same site I'm testing, and I adjusted zooming to 120% there. Fix for this problem is easy, simply change IE web driver creation to this:
DesiredCapabilities caps = DesiredCapabilities.internetExplorer();
driver = new InternetExplorerDriver(caps);
|Figure: Return Object as Shown in Eclipse Variables View|