The different Selenium SDKs of Applitools (Java, Ruby, C#, Python, PHP, Javascript) comes with a built in wrapper for the Selenium WebDriver EyesWebDriver.
This wrapper can be retrieved from the eyes.Open(driver, appName, testName, viewportSize); method and it has two main functionalities and usages.
1. Record clicks on elements by Selenium and which in turn can be played back in Applitools Dashboard.
2. Handling nested iFrames - When visually validating websites with nested iframes, synchronizing Applitools Eyes with the different transitions between iFrames (driver.switchTo().frame("iFrame1");) is required.
Applitools EyesWebDriver helps you to achieve just that simply by performing switches through it.
Applitools EyesWebDriver helps you to achieve just that simply by performing switches through it.
To achieve these goals instead of initializing the test with: eyes.Open(driver, appName, testName, viewportSize); ,
initialize the test as follow: driver = eyes.Open(driver, appName, testName, viewportSize);