Class Console

  • All Implemented Interfaces:
    ContextHelper

    public class Console
    extends Object
    implements ContextHelper
    This helper writes in the log as browsers object console.log(), console.error(), console.warn() in Automation Scripting. Usage is with an uppercase "C". If logs info or trace are deactivated, Dev mode has to be set to display Automation scripting logs.
    Since:
    7.10
    • Field Detail

      • infoEnabled

        protected static boolean infoEnabled
      • traceEnabled

        protected static boolean traceEnabled
    • Constructor Detail

      • Console

        public Console()
    • Method Detail

      • error

        public void error​(String inWhat)
      • warn

        public void warn​(String inWhat)
      • log

        public void log​(String inWhat)
      • info

        public void info​(String inWhat)
      • trace

        public void trace​(String inWhat)