@@ -0,0 +1,1504 @@
+/*%0A * #%25L%0A * wcm.io%0A * %25%25%0A * Copyright (C) 2018 wcm.io%0A * %25%25%0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A *%0A *      http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A * #L%25%0A */%0Apackage io.wcm.qa.galenium.interaction;%0A%0Aimport org.openqa.selenium.WebDriver;%0Aimport org.openqa.selenium.WebDriver.TargetLocator;%0Aimport org.openqa.selenium.WebElement;%0A%0Aimport io.wcm.qa.galenium.selectors.Selector;%0Aimport io.wcm.qa.galenium.util.GaleniumContext;%0A%0Apublic final class IFrame %7B%0A%0A  private IFrame() %7B%0A    // do not instantiate%0A  %7D%0A%0A  public static void switchTo(Selector selector) %7B%0A    switchTo(Element.findOrFailNow(selector));%0A  %7D%0A%0A  public static void switchTo(WebElement iFrameElement) %7B%0A    switchTo().frame(iFrameElement);%0A  %7D%0A%0A  public static void switchToDefault() %7B%0A    switchTo().defaultContent();%0A  %7D%0A%0A  public static void switchToParent() %7B%0A    switchTo().parentFrame();%0A  %7D%0A%0A  private static WebDriver getDriver() %7B%0A    return GaleniumContext.getDriver();%0A  %7D%0A%0A  private static TargetLocator switchTo() %7B%0A    return getDriver().switchTo();%0A  %7D%0A%0A%7D%0A

add IFrame interaction class