Uploaded image for project: 'Arquillian'
  1. Arquillian
  2. ARQ-2212

Customization of Chrome's log level through arquillian.xml doesn't seem to be possible any more

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • None
    • drone_2.5.1
    • Configuration
    • None
    • Hide

      Tried the following in arquillian.xml (separately and in combination):

      <property name="chromeLogLevel">INFO</property>
      <property name="loggingPrefs">browser=INFO,driver=INFO</property>

      <property name="goog
      :loggingPrefs">browser=INFO,driver=INFO</property>
      <property name="chromeArguments">--goog:loggingPrefs=driver:INFO,browser:INFO</property>

       

      <property name="chromeCapability">
      {
      "goog:loggingPrefs": {
      "browser": "INFO",
      "driver": "INFO"
      }}
      </property>

       

      Along with this in Java:

      LogEntries le = driver.manage().logs().get(LogType.BROWSER);
      List<LogEntry> fle = le.getAll();
      for (LogEntry logEntry : fle)

      { String msg = logEntry.getMessage(); logger.info(logEntry.getLevel() +": "+ msg); }
      Show
      Tried the following in arquillian.xml (separately and in combination): <property name="chromeLogLevel">INFO</property> <property name="loggingPrefs">browser=INFO,driver=INFO</property> <property name="goog :loggingPrefs">browser=INFO,driver=INFO</property> <property name="chromeArguments">--goog:loggingPrefs=driver:INFO,browser:INFO</property>   <property name="chromeCapability"> { "goog:loggingPrefs": { "browser": "INFO", "driver": "INFO" }} </property>   Along with this in Java: LogEntries le = driver.manage().logs().get(LogType.BROWSER); List<LogEntry> fle = le.getAll(); for (LogEntry logEntry : fle) { String msg = logEntry.getMessage(); logger.info(logEntry.getLevel() +": "+ msg); }
    • Undefined

    Description

      Using Selenium 3.
      This might be related to the change to goog:loggingPrefs on Chrome's side.

      Attachments

        Activity

          People

            Unassigned Unassigned
            haqer1 Resat SABIQ (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: