Contains a library for supporting automatically frame switching inside page (or any other abstractions) classes. It's very easy to use with page object pattern.
In order to use project you need:
-
add FrameSwitcher dependency in your pom.xml
<dependency> <groupId>com.github.RomanKhachko.fsp</groupId> <artifactId>FSP-main</artifactId> <version>2.0.3</version> </dependency>
-
add following plugin to a build section
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
<complianceLevel>${java.version}</complianceLevel>
<aspectLibraries>
<aspectLibrary>
<groupId>com.github.RomanKhachko.fsp</groupId>
<artifactId>FSP-main</artifactId>
</aspectLibrary>
</aspectLibraries>
</configuration>
<executions>
<execution>
<goals>
<goal>compile</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
<properties>
<java.version>1.8</java.version>
</properties>
*Please note, you can specify any version of java here, but not lower than 1.6*
2.0.3
Please, take a look at a sample project with examples of usage.