Class WindowsCloser


  • @ParametersAreNonnullByDefault
    public class WindowsCloser
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      WindowsCloser()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <T> T runAndCloseArisedWindows​(org.openqa.selenium.WebDriver webDriver, com.codeborne.selenide.impl.WindowsCloser.SupplierWithException<T> lambda)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WindowsCloser

        public WindowsCloser()
    • Method Detail

      • runAndCloseArisedWindows

        @CheckReturnValue
        public <T> T runAndCloseArisedWindows​(org.openqa.selenium.WebDriver webDriver,
                                              com.codeborne.selenide.impl.WindowsCloser.SupplierWithException<T> lambda)
                                       throws java.io.FileNotFoundException
        Throws:
        java.io.FileNotFoundException