Class SeleniumComputer


  • public class SeleniumComputer
    extends org.junit.runner.Computer
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getBaseUrl()  
      protected org.junit.runner.Runner getRunner​(org.junit.runners.model.RunnerBuilder builder, java.lang.Class<?> testClass)  
      int getTimeout()  
      void setBaseUrl​(java.lang.String baseUrl)  
      void setTimeout​(int timeout)  
      • Methods inherited from class org.junit.runner.Computer

        getSuite, serial
      • Methods inherited from class java.lang.Object

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

      • SeleniumComputer

        public SeleniumComputer()
      • SeleniumComputer

        public SeleniumComputer​(java.lang.String baseUrl)
      • SeleniumComputer

        public SeleniumComputer​(java.lang.String baseUrl,
                                int timeoutInSeconds)
    • Method Detail

      • getRunner

        protected org.junit.runner.Runner getRunner​(org.junit.runners.model.RunnerBuilder builder,
                                                    java.lang.Class<?> testClass)
                                             throws java.lang.Throwable
        Overrides:
        getRunner in class org.junit.runner.Computer
        Throws:
        java.lang.Throwable
      • getBaseUrl

        public java.lang.String getBaseUrl()
      • setBaseUrl

        public void setBaseUrl​(java.lang.String baseUrl)
      • getTimeout

        public int getTimeout()
      • setTimeout

        public void setTimeout​(int timeout)