Class JavaScript


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

      Constructors 
      Constructor Description
      JavaScript​(java.lang.String jsFileName)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <T> T execute​(org.openqa.selenium.SearchContext context, java.lang.Object... arguments)  
      java.lang.Object node​(org.openqa.selenium.SearchContext context)  
      • Methods inherited from class java.lang.Object

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

      • JavaScript

        public JavaScript​(java.lang.String jsFileName)
    • Method Detail

      • execute

        @Nonnull
        public <T> T execute​(org.openqa.selenium.SearchContext context,
                             java.lang.Object... arguments)
      • node

        @Nullable
        public java.lang.Object node​(org.openqa.selenium.SearchContext context)