Oops! Looks like we ran into a bit of a snag with the process_metrics

During our recent Protractor tests, we have been encountering warnings in the console:

[12252:14584:1207/223118.187:ERROR:process_metrics.cc(105)] NOT IMPLEMENTED
[12252:14584:1207/223118.187:ERROR:process_metrics.cc(105)] NOT IMPLEMENTED
[12252:14584:1207/223318.188:ERROR:process_metrics.cc(105)] NOT IMPLEMENTED

These warnings seem to occur sporadically and do not impact the test execution.

However, they do clutter the output console, making it challenging to monitor the tests and results provided by jasmine/protractor.

Is there a method to disable these chromedriver warnings?

We are currently using Protractor 5.2.2, ChromeDriver 2.34.


We have come across the --silent flag that can be utilized with the chromedriver executable, but we haven't been able to figure out how to configure Protractor to apply this flag when launching chromedriver.

Answer №2

To make chromedriver run silently, add the --silent flag to your configuration file. Here is an example:

capabilities: {
    browserName' : 'chrome',
        'chromeOptions' : {
            args: ['--silent']
        }
    }
}

Answer №3

"A bug in Chrome v63 triggered this warning message.

Switching to v64 (64.0.3282.167 updated this morning) will fix the issue."

Similar questions

If you have not found the answer to your question or you are interested in this topic, then look at other similar questions below or use the search

Node: permit the event loop to run during lengthy tasks and then return

Currently, I am facing an issue with a function that works like this: function longFunc(par1,par2) { var retVal = [], stopReq = false; function evtLs() { stopReq = true; } something.on("event", evtLs); for(var i=0; ...

Tallying the Number of Accordion Toggle Clicks

Let me present a scenario where I have some accordions and would like to keep track of how many times the user expands each one. Could you guide me on how to implement this particular feature? Appreciate your support, Kevin ...

Debating the use of cameras in Three.js

Creating a camera in code typically looks like this: var camera = new THREE.PerspectiveCamera( FOV, ASPECT_RATIO, NEAR_PLANE, FAR_PLANE ); But what exactly do these values represent? ...

Interactive particles in three.js PointCloud

I am trying to visualize 3D data points by using three.js to read in data from a csv-file. I want to be able to click on specific points in the PointCloud to display other measurement data related to those points. I have tried implementing code that I foun ...

What steps should I take to establish a simple automation framework or template using Selenium WebDriver in Java?

Could you please provide guidance on the necessary files and applications to download/install in order to set up a basic webdriver automation environment? My IDE is Eclipse, and I am aiming to perform automation testing on Firefox browser. Any advice or s ...

Python Selenium: Troubleshooting Firefox profile issues

I am currently utilizing Python version 2.7.3 along with selenium version 2.48.0 on a Raspbian OS running on a headless device. The version of Iceweasel/Firefox installed is 38.4. My import statement for selenium looks like this: from selenium import web ...

I am looking to concatenate the existing URL with the language segment using jQuery

Looking to update the URL when clicking on a language name? Simply add the current path after the language section. For example, change the URL https://example.com/de_DE/about-us/ to https://example.com/us_EN/about-us/ and vice versa. I attempted this code ...

PHP server-side detects empty AJAX post requests

I am encountering an issue while making an AJAX request to a PHP controller using jQuery ajax. The problem arises when attempting to access the posted data in PHP, as the $_POST variable is empty. Below is the function causing the trouble: function GetSer ...

"Selenium DatePickers: A Tool for Effort

I'm relatively new to this so please forgive any misinformation. I have a class that has two DatePickers elements, where I need to select the first one and pick the dates, then move on to the second one. My approach was to search for the class and r ...

The error "Uncaught TypeError: Cannot read property 'render' of undefined" occurs when using Three.js along with OrbitControls

I am having an issue with my rotating cube class. Whenever I try to rotate or zoom the cube, I encounter an error message saying "Cannot read property 'render' of undefined". I suspect that the problem lies within the scopes. Below is my class im ...

Interactive section for user input

I am looking to add a commenting feature to my website that allows for dynamic editing. Essentially, I want users to be able to click on an "Edit" span next to a comment and have it transform into an editable textarea. Once the user makes their changes and ...

Error message: NGINX combined with Express.js and socket.io, page not found

I currently have a node/express.js/socket.io application set up on an Ubuntu Server running on port 3002. I've made sure to open all ports on the machine for accessibility. When accessing the app directly at 11.111.111.1:3002/, everything runs smooth ...

Disable automatic focusing for a material-ui popover component

I am struggling to create a search match list that updates as the user types in their query. However, I am facing an issue where the input element loses focus to the pop-up. I have attempted to programmatically set the focus using refs, but I am unable to ...

angular does not update dynamically created dropdowns with populated arrays

Upon loading the page, my initial dropdown functions correctly. However, the child dropdown is loaded from localstorage after the first dropdown. The issue arises when I load the second dropdown and set it to the default value - at this point, I am unabl ...

Looking for a drag-and-drop solution using Vanilla Javascript, no need for jQuery

Looking for assistance with creating a click-and-drag solution for a background image using Vanilla Javascript. I came across a jQuery solution on Codepen, but I need help translating it into Vanilla Javascript. Draggable.create(".box", { ...

JavaScript - Utilizing an image file in relation to a URL pathway

Is there a way to reference an image URL using a relative path in a JavaScript file similar to CSS files? To test this, I created two divs and displayed a gif in the background using CSS in one and using JavaScript in the other: -My file directory struct ...

Unable to locate properties "offsetHeight" or "clientHeight" within a React/Next.js project developed in TypeScript

I have a unique customized collapsible FAQ feature that adjusts its height based on whether it's expanded or collapsed. import { useState, useRef, useEffect } from "react"; export default FAQItem({title, description}: FAQItemProps) { cons ...

Trouble with the display:none attribute in Firefox and Chrome

<tr style="height:5px" id="TRRSHeaderTrialBar" name="TRRSHeaderTrialBar" style='display:none'> <tr id="TREmail" name="TREmail" style="height:1px;" nowrap style='display:none'> Using the code snippet above to hide the bar w ...

What are some alternative ways to redirect multiple pages in a Navbar component in React Js without encountering the 'useNavigate()' error?

How can I resolve this error while working with react js? Error: useNavigate() is only allowed within a <Router> component. ▶ 3 stack frames were collapsed. Navbar C:/Users/dell/OneDrive/Desktop/ReactJs/react-learning/src/components/Navbar.js:9 ...

pause in execution between iterations of a for loop

Challenge I'm currently working on a function that processes a list of strings by printing each one on a new line, with CSS animations that gradually display the string over a few seconds. However, I'm struggling to make sure that the next strin ...