Unable to execute webdriverIO scripts on Chrome browser with version 108

After updating my Chrome browser to Version 108.0.5359.72, I encountered a problem while running webdriverIO scripts. Despite updating the driver, I kept receiving the following error message: "ERROR webdriver: WebDriver Error: Could not start a new session. Error while creating a session with the driver service. Stopping driver service: The driver server process died prematurely."

I attempted to resolve this issue by running npm install chromedriver@108 --save-dev, but unfortunately received the following errors: "npm ERR! code ETARGET npm ERR! notarget No matching version found for chromedriver@108. npm ERR! notarget In most cases you or one of your dependencies are requesting npm ERR! notarget a package version that doesn't exist.

A complete log of this run can be found in:rIO>, which did not provide a solution to the problems I was experiencing.

Answer №1

The version of ChromeDriver currently available on NPM is 107.0.3, which is why you may not be able to access version 108.

npm install --save-dev chromedriver@latest

This solution should hopefully resolve your 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

Alternative to Webpack for modifying global variables in preloaded modules

Is there a way to shim moment.js in webpack similar to how it is done in browserify? I have developed a widget using npm and webpack, which will be included in another application. The other app already has moment.js loaded via a script tag. I want to av ...

The JavaScript function does not recognize the global variable when invoked within an onClick event

When a button is clicked in an HTML form, I want to show the user input by calling a JavaScript function. However, I am facing an issue where the function does not recognize the variable unless it is defined inside it. Here is the HTML and JS code snippet ...

Bootstrap cards have a fixed width and do not wrap

I've been diving into Django and although I'm fairly new to CSS, I managed to put together a page displaying various products using Bootstrap cards. https://i.sstatic.net/xme5m.png It appears that my code should have wrapped these cards pr ...

Encountering issues with certain Bootstrap components while integrating with ReactJS

I'm currently experimenting with Bootstrap components such as Modals and Popovers, but I'm facing an issue where nothing is being displayed. Specifically, when I attempt to click on the button to show the modal Fading or popover, nothing happens. ...

Link text click functionality not responding as expected

Whenever I attempt to access a website using TestNG, a security page pops up requiring me to click on a link labeled "Continue to this website (not recommended)." This action is performed successfully through TestNG coding, but unfortunately, it results in ...

JavaScript Regular Expression Assistance Domain Snatcher

I am in the process of developing a JavaScript Regex and I am struggling to find the right pattern to match a specific domain. Let me provide an example for better understanding. I need a regex that can identify any domain that exclusively contains (text. ...

Pause and wait for the completion of the Ajax call within the function before assigning the object to an external variable

In my quest to leverage JavaScript asynchronously to its full potential, I am looking for a way to efficiently handle received data from API calls. My goal is to dynamically assign the data to multiple variables such as DataModel01, DataModel02, DataModel0 ...

Error Arises When React Components Are Nested within Objects

I'm encountering a peculiar issue with my component. It works perfectly fine when retrieving data from State at a high level, but as soon as I try to access nested objects, it throws an error: "TypeError: Cannot read property 'name' of undef ...

Activate a drop-down feature to refresh the page with a link attached

When I click on a different language, the drop down does not change to that specific language. My code was functioning properly until I added an href attribute to it. Here, you can see my JavaScript function which handles the language selection logic: $(d ...

I am encountering difficulties with searching inside elements using Python Selenium

Struggling to find elements inside another element, the expected functionality is not there. I am dealing with a table where I need to iterate and update records if a certain cell in a row is empty. I have a list of web elements to go through for iteratio ...

View saved local storage information

I have an inquiry regarding saving data using localStorage for a shopping cart feature. I am able to list the data on one page through console.log but am facing difficulties in calling the data on another page. Can anyone assist with this? The Product page ...

Skipping certain key-value pairs during the conversion from JSON to Excel Worksheet using the XLSX library in JavaScript

I have a set of objects in JSON format within my JavaScript code and I am looking to transform this data into an Excel worksheet. Within the JSON structure, there are certain key-value pairs that I do not wish to include in the Excel output. For instance, ...

Transforming data structures into arrays using Javascript

Could someone help me with converting the following code snippet? const words = {told: 64, mistake: 11, thought: 16, bad: 17} I need it to be transformed into: const words = [ {text: 'told', value: ...

Tips for tracking advertisement views and saving them in a database

We recently placed our website advertisement on 2 different websites and are interested in tracking the number of clicks or hits we receive from those ads. We would like to store this data in our database. Can anyone suggest a method for accomplishing th ...

Blend the power of Dynamic classes with data binders in Vue.js

Recently, I've been working on a v-for loop in HTML that looks like this: <ul v-for="(item, index) in openweathermap.list"> <li>{{item.dt_txt}}</li> <li>{{item.weather[0].description}}</li> <li>{{item.w ...

Using Vue.js to alter the CSS class property

I am exploring Vue.js and looking to modify a CSS class property. Here is the HTML code utilizing the specified class: <div class="customTimer"></div> Here is the corresponding CSS code: .customTimer { width: 100%; height: 1 ...

Is there an issue with passing data from middleware to controller in restify when using req.data?

exploring the project demo structure middleware auth.js routes user.js controllers userController.js auth.js exports.authUser=(req,res,next)=>{ ... //received user value successfully req.user=user; return next(); } user.js (route) server.g ...

Selenium testing shows that all certificates are trusted for HTTPS in Firefox, but Internet Explorer is having issues

I've been experimenting with functional testing using Selenium RC. Whenever the test reaches the login page of our website and switches to HTTPS, I encounter various issues. Despite my attempts to adjust settings, every browser gets disrupted. By u ...

There seems to be an issue with Bootstrap: the property this._config is

Here is the button I have: <button class="kv_styleclass_0 btn btn-outline-success btn-lg" data-bs-toggle="modal" data-bs-target="formModal" type="button"> Become a participant </button ...

I'm having trouble getting my home.js to render in the outlet component

After using Material-UI to create navbar.js, I encountered an issue where the other component was not rendering in the <Outlet/> Component RootLayout.js import { Outlet } from "react-router-dom"; import NavBar from "../component/NavBa ...