test_class.file: karate-core/src/test/java/com/intuit/karate/driver/DriverElementTest.java
test_class.identifier: DriverElementTest
test_case.body: @Test
      public void testToJson() {
          JsonUtils.toJsonDoc("{}");
          Element de = DriverElement.locatorExists(null, "foo");
          List list = Collections.singletonList(de);
          ScriptValue sv = new ScriptValue(list);
          sv.getAsString();
      }
test_case.class_method_signature: DriverElementTest.testToJson()
test_case.full_signature: @Test public void testToJson()
test_case.identifier: testToJson
test_case.invocations: toJsonDoc locatorExists singletonList getAsString
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testToJson()
focal_class.declarator: driver
focal_class.modifier: private final
focal_class.original_string: private final Driver driver;
focal_class.type: Driver
focal_class.var_name: driver
focal_class.declarator: locator
focal_class.modifier: private final
focal_class.original_string: private final String locator;
focal_class.type: String
focal_class.var_name: locator
focal_class.declarator: exists
focal_class.modifier: private
focal_class.original_string: private Boolean exists;
focal_class.type: Boolean
focal_class.var_name: exists
focal_class.file: karate-core/src/main/java/com/intuit/karate/driver/DriverElement.java
focal_class.identifier: DriverElement
focal_class.interfaces: implements Element
focal_class.class_method_signature: DriverElement.DriverElement(Driver driver, String locator, Boolean exists)
focal_class.full_signature: private  DriverElement(Driver driver, String locator, Boolean exists)
focal_class.identifier: DriverElement
focal_class.modifiers: private
focal_class.parameters: (Driver driver, String locator, Boolean exists)
focal_class.signature:  DriverElement(Driver driver, String locator, Boolean exists)
focal_class.class_method_signature: DriverElement.locatorExists(Driver driver, String locator)
focal_class.full_signature: public static Element locatorExists(Driver driver, String locator)
focal_class.identifier: locatorExists
focal_class.modifiers: public static
focal_class.parameters: (Driver driver, String locator)
focal_class.return: Element
focal_class.signature: Element locatorExists(Driver driver, String locator)
focal_class.class_method_signature: DriverElement.locatorUnknown(Driver driver, String locator)
focal_class.full_signature: public static Element locatorUnknown(Driver driver, String locator)
focal_class.identifier: locatorUnknown
focal_class.modifiers: public static
focal_class.parameters: (Driver driver, String locator)
focal_class.return: Element
focal_class.signature: Element locatorUnknown(Driver driver, String locator)
focal_class.class_method_signature: DriverElement.getLocator()
focal_class.full_signature: @Override public String getLocator()
focal_class.identifier: getLocator
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getLocator()
focal_class.class_method_signature: DriverElement.isPresent()
focal_class.full_signature: @Override public boolean isPresent()
focal_class.identifier: isPresent
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isPresent()
focal_class.class_method_signature: DriverElement.setExists(Boolean exists)
focal_class.full_signature: public void setExists(Boolean exists)
focal_class.identifier: setExists
focal_class.modifiers: public
focal_class.parameters: (Boolean exists)
focal_class.return: void
focal_class.signature: void setExists(Boolean exists)
focal_class.class_method_signature: DriverElement.getPosition()
focal_class.full_signature: @Override public Map<String, Object> getPosition()
focal_class.identifier: getPosition
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Map<String, Object>
focal_class.signature: Map<String, Object> getPosition()
focal_class.class_method_signature: DriverElement.screenshot()
focal_class.full_signature: @Override public byte[] screenshot()
focal_class.identifier: screenshot
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: byte[]
focal_class.signature: byte[] screenshot()
focal_class.class_method_signature: DriverElement.isEnabled()
focal_class.full_signature: @Override public boolean isEnabled()
focal_class.identifier: isEnabled
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isEnabled()
focal_class.class_method_signature: DriverElement.highlight()
focal_class.full_signature: @Override public Element highlight()
focal_class.identifier: highlight
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Element
focal_class.signature: Element highlight()
focal_class.class_method_signature: DriverElement.focus()
focal_class.full_signature: @Override public Element focus()
focal_class.identifier: focus
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Element
focal_class.signature: Element focus()
focal_class.class_method_signature: DriverElement.clear()
focal_class.full_signature: @Override public Element clear()
focal_class.identifier: clear
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Element
focal_class.signature: Element clear()
focal_class.class_method_signature: DriverElement.click()
focal_class.full_signature: @Override public Element click()
focal_class.identifier: click
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Element
focal_class.signature: Element click()
focal_class.class_method_signature: DriverElement.submit()
focal_class.full_signature: @Override public Element submit()
focal_class.identifier: submit
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Element
focal_class.signature: Element submit()
focal_class.class_method_signature: DriverElement.mouse()
focal_class.full_signature: @Override public Mouse mouse()
focal_class.identifier: mouse
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Mouse
focal_class.signature: Mouse mouse()
focal_class.class_method_signature: DriverElement.input(String value)
focal_class.full_signature: @Override public Element input(String value)
focal_class.identifier: input
focal_class.modifiers: @Override public
focal_class.parameters: (String value)
focal_class.return: Element
focal_class.signature: Element input(String value)
focal_class.class_method_signature: DriverElement.input(String[] values)
focal_class.full_signature: @Override public Element input(String[] values)
focal_class.identifier: input
focal_class.modifiers: @Override public
focal_class.parameters: (String[] values)
focal_class.return: Element
focal_class.signature: Element input(String[] values)
focal_class.class_method_signature: DriverElement.input(String[] values, int delay)
focal_class.full_signature: @Override public Element input(String[] values, int delay)
focal_class.identifier: input
focal_class.modifiers: @Override public
focal_class.parameters: (String[] values, int delay)
focal_class.return: Element
focal_class.signature: Element input(String[] values, int delay)
focal_class.class_method_signature: DriverElement.select(String text)
focal_class.full_signature: @Override public Element select(String text)
focal_class.identifier: select
focal_class.modifiers: @Override public
focal_class.parameters: (String text)
focal_class.return: Element
focal_class.signature: Element select(String text)
focal_class.class_method_signature: DriverElement.select(int index)
focal_class.full_signature: @Override public Element select(int index)
focal_class.identifier: select
focal_class.modifiers: @Override public
focal_class.parameters: (int index)
focal_class.return: Element
focal_class.signature: Element select(int index)
focal_class.class_method_signature: DriverElement.switchFrame()
focal_class.full_signature: @Override public Element switchFrame()
focal_class.identifier: switchFrame
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Element
focal_class.signature: Element switchFrame()
focal_class.class_method_signature: DriverElement.delay(int millis)
focal_class.full_signature: @Override public Element delay(int millis)
focal_class.identifier: delay
focal_class.modifiers: @Override public
focal_class.parameters: (int millis)
focal_class.return: Element
focal_class.signature: Element delay(int millis)
focal_class.class_method_signature: DriverElement.retry()
focal_class.full_signature: @Override public Element retry()
focal_class.identifier: retry
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Element
focal_class.signature: Element retry()
focal_class.class_method_signature: DriverElement.retry(int count)
focal_class.full_signature: @Override public Element retry(int count)
focal_class.identifier: retry
focal_class.modifiers: @Override public
focal_class.parameters: (int count)
focal_class.return: Element
focal_class.signature: Element retry(int count)
focal_class.class_method_signature: DriverElement.retry(Integer count, Integer interval)
focal_class.full_signature: @Override public Element retry(Integer count, Integer interval)
focal_class.identifier: retry
focal_class.modifiers: @Override public
focal_class.parameters: (Integer count, Integer interval)
focal_class.return: Element
focal_class.signature: Element retry(Integer count, Integer interval)
focal_class.class_method_signature: DriverElement.waitFor()
focal_class.full_signature: @Override public Element waitFor()
focal_class.identifier: waitFor
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Element
focal_class.signature: Element waitFor()
focal_class.class_method_signature: DriverElement.waitForText(String text)
focal_class.full_signature: @Override public Element waitForText(String text)
focal_class.identifier: waitForText
focal_class.modifiers: @Override public
focal_class.parameters: (String text)
focal_class.return: Element
focal_class.signature: Element waitForText(String text)
focal_class.class_method_signature: DriverElement.waitUntil(String expression)
focal_class.full_signature: @Override public Element waitUntil(String expression)
focal_class.identifier: waitUntil
focal_class.modifiers: @Override public
focal_class.parameters: (String expression)
focal_class.return: Element
focal_class.signature: Element waitUntil(String expression)
focal_class.class_method_signature: DriverElement.script(String expression)
focal_class.full_signature: @Override public Object script(String expression)
focal_class.identifier: script
focal_class.modifiers: @Override public
focal_class.parameters: (String expression)
focal_class.return: Object
focal_class.signature: Object script(String expression)
focal_class.class_method_signature: DriverElement.thisLocator()
focal_class.full_signature: private String thisLocator()
focal_class.identifier: thisLocator
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String thisLocator()
focal_class.class_method_signature: DriverElement.optional(String locator)
focal_class.full_signature: @Override public Element optional(String locator)
focal_class.identifier: optional
focal_class.modifiers: @Override public
focal_class.parameters: (String locator)
focal_class.return: Element
focal_class.signature: Element optional(String locator)
focal_class.class_method_signature: DriverElement.exists(String locator)
focal_class.full_signature: @Override public boolean exists(String locator)
focal_class.identifier: exists
focal_class.modifiers: @Override public
focal_class.parameters: (String locator)
focal_class.return: boolean
focal_class.signature: boolean exists(String locator)
focal_class.class_method_signature: DriverElement.locate(String locator)
focal_class.full_signature: @Override public Element locate(String locator)
focal_class.identifier: locate
focal_class.modifiers: @Override public
focal_class.parameters: (String locator)
focal_class.return: Element
focal_class.signature: Element locate(String locator)
focal_class.class_method_signature: DriverElement.locateAll(String locator)
focal_class.full_signature: @Override public List<Element> locateAll(String locator)
focal_class.identifier: locateAll
focal_class.modifiers: @Override public
focal_class.parameters: (String locator)
focal_class.return: List<Element>
focal_class.signature: List<Element> locateAll(String locator)
focal_class.class_method_signature: DriverElement.refsToElements(List<String> refs)
focal_class.full_signature: private List<Element> refsToElements(List<String> refs)
focal_class.identifier: refsToElements
focal_class.modifiers: private
focal_class.parameters: (List<String> refs)
focal_class.return: List<Element>
focal_class.signature: List<Element> refsToElements(List<String> refs)
focal_class.class_method_signature: DriverElement.attribute(String name)
focal_class.full_signature: @Override public String attribute(String name)
focal_class.identifier: attribute
focal_class.modifiers: @Override public
focal_class.parameters: (String name)
focal_class.return: String
focal_class.signature: String attribute(String name)
focal_class.class_method_signature: DriverElement.property(String name)
focal_class.full_signature: @Override public String property(String name)
focal_class.identifier: property
focal_class.modifiers: @Override public
focal_class.parameters: (String name)
focal_class.return: String
focal_class.signature: String property(String name)
focal_class.class_method_signature: DriverElement.getHtml()
focal_class.full_signature: @Override public String getHtml()
focal_class.identifier: getHtml
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getHtml()
focal_class.class_method_signature: DriverElement.setHtml(String html)
focal_class.full_signature: @Override public void setHtml(String html)
focal_class.identifier: setHtml
focal_class.modifiers: @Override public
focal_class.parameters: (String html)
focal_class.return: void
focal_class.signature: void setHtml(String html)
focal_class.class_method_signature: DriverElement.getText()
focal_class.full_signature: @Override public String getText()
focal_class.identifier: getText
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getText()
focal_class.class_method_signature: DriverElement.setText(String text)
focal_class.full_signature: @Override public void setText(String text)
focal_class.identifier: setText
focal_class.modifiers: @Override public
focal_class.parameters: (String text)
focal_class.return: void
focal_class.signature: void setText(String text)
focal_class.class_method_signature: DriverElement.getValue()
focal_class.full_signature: @Override public String getValue()
focal_class.identifier: getValue
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getValue()
focal_class.class_method_signature: DriverElement.setValue(String value)
focal_class.full_signature: @Override public void setValue(String value)
focal_class.identifier: setValue
focal_class.modifiers: @Override public
focal_class.parameters: (String value)
focal_class.return: void
focal_class.signature: void setValue(String value)
focal_class.class_method_signature: DriverElement.relationLocator(String relation)
focal_class.full_signature: private Element relationLocator(String relation)
focal_class.identifier: relationLocator
focal_class.modifiers: private
focal_class.parameters: (String relation)
focal_class.return: Element
focal_class.signature: Element relationLocator(String relation)
focal_class.class_method_signature: DriverElement.getParent()
focal_class.full_signature: @Override public Element getParent()
focal_class.identifier: getParent
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Element
focal_class.signature: Element getParent()
focal_class.class_method_signature: DriverElement.getChildren()
focal_class.full_signature: @Override public List<Element> getChildren()
focal_class.identifier: getChildren
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: List<Element>
focal_class.signature: List<Element> getChildren()
focal_class.class_method_signature: DriverElement.getFirstChild()
focal_class.full_signature: @Override public Element getFirstChild()
focal_class.identifier: getFirstChild
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Element
focal_class.signature: Element getFirstChild()
focal_class.class_method_signature: DriverElement.getLastChild()
focal_class.full_signature: @Override public Element getLastChild()
focal_class.identifier: getLastChild
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Element
focal_class.signature: Element getLastChild()
focal_class.class_method_signature: DriverElement.getPreviousSibling()
focal_class.full_signature: @Override public Element getPreviousSibling()
focal_class.identifier: getPreviousSibling
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Element
focal_class.signature: Element getPreviousSibling()
focal_class.class_method_signature: DriverElement.getNextSibling()
focal_class.full_signature: @Override public Element getNextSibling()
focal_class.identifier: getNextSibling
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Element
focal_class.signature: Element getNextSibling()
focal_class.class_method_signature: DriverElement.rightOf()
focal_class.full_signature: @Override public Finder rightOf()
focal_class.identifier: rightOf
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Finder
focal_class.signature: Finder rightOf()
focal_class.class_method_signature: DriverElement.leftOf()
focal_class.full_signature: @Override public Finder leftOf()
focal_class.identifier: leftOf
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Finder
focal_class.signature: Finder leftOf()
focal_class.class_method_signature: DriverElement.above()
focal_class.full_signature: @Override public Finder above()
focal_class.identifier: above
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Finder
focal_class.signature: Finder above()
focal_class.class_method_signature: DriverElement.below()
focal_class.full_signature: @Override public Finder below()
focal_class.identifier: below
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Finder
focal_class.signature: Finder below()
focal_class.class_method_signature: DriverElement.near()
focal_class.full_signature: @Override public Finder near()
focal_class.identifier: near
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Finder
focal_class.signature: Finder near()
focal_method.body: public static Element locatorExists(Driver driver, String locator) {
          return new DriverElement(driver, locator, true);
      }
focal_method.class_method_signature: DriverElement.locatorExists(Driver driver, String locator)
focal_method.full_signature: public static Element locatorExists(Driver driver, String locator)
focal_method.identifier: locatorExists
focal_method.modifiers: public static
focal_method.parameters: (Driver driver, String locator)
focal_method.return: Element
focal_method.signature: Element locatorExists(Driver driver, String locator)