Class Locator.ClearOptions

  • Enclosing interface:
    Locator

    public static class Locator.ClearOptions
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.Boolean force
      Whether to bypass the actionability checks.
      java.lang.Boolean noWaitAfter
      Actions that initiate navigations are waiting for these navigations to happen and for pages to start loading.
      java.lang.Double timeout
      Maximum time in milliseconds.
    • Constructor Summary

      Constructors 
      Constructor Description
      ClearOptions()  
    • Field Detail

      • force

        public java.lang.Boolean force
        Whether to bypass the actionability checks. Defaults to false.
      • noWaitAfter

        public java.lang.Boolean noWaitAfter
        Actions that initiate navigations are waiting for these navigations to happen and for pages to start loading. You can opt out of waiting via setting this flag. You would only need this option in the exceptional cases such as navigating to inaccessible pages. Defaults to false.
    • Constructor Detail

      • ClearOptions

        public ClearOptions()
    • Method Detail

      • setNoWaitAfter

        public Locator.ClearOptions setNoWaitAfter​(boolean noWaitAfter)
        Actions that initiate navigations are waiting for these navigations to happen and for pages to start loading. You can opt out of waiting via setting this flag. You would only need this option in the exceptional cases such as navigating to inaccessible pages. Defaults to false.