Class MapElement.ConfigurationObjectReference

    • Method Detail

      • path

        public String path​(String path,
                           Object... args)
        Creates a path to a nested object as Javascript expression, based on the current path
        Parameters:
        path - the nested path
        args - variable arguments to be interpolated into the path, works like String.format(String, Object...)
      • get

        public Object get​(String path,
                          Object... args)
        Extracts a value from the wrapped object by executing a Selenium Javascript call and returning the result. The return type depends on how Selenium converts the Javascript values into Java types. See the more specific methods for returning values in specific types.
        Parameters:
        path - the nested path to the value to extract
        args - variable arguments to be interpolated into the path, works like String.format(String, Object...)
      • getBoolean

        public boolean getBoolean​(String path,
                                  Object... args)
      • getTypeName

        public String getTypeName()
      • exists

        public boolean exists()