Class Page.QuerySelectorOptions

  • Enclosing interface:
    Page

    public static class Page.QuerySelectorOptions
    extends Object
    • Field Detail

      • strict

        public Boolean strict
        When true, the call requires selector to resolve to a single element. If given selector resolves to more than one element, the call throws an exception.
    • Constructor Detail

      • QuerySelectorOptions

        public QuerySelectorOptions()
    • Method Detail

      • setStrict

        public Page.QuerySelectorOptions setStrict​(boolean strict)
        When true, the call requires selector to resolve to a single element. If given selector resolves to more than one element, the call throws an exception.