An issue arises even with the proper configuration in place: "SessionNotCreatedError: session cannot be established as Chrome version needs to fall within the range of 70 to 73."

During my automated testing with selenium-webdriver, I encountered an issue while building a driver using chromedriver. Everything was functioning perfectly until one day, when I ran a test and received the following error message:

SessionNotCreatedError: session not created: Chrome version must be between 70 and 73
(Driver info: chromedriver=73.0.3683.20 (8e2b610813e167eee3619ac4ce6e42e3ec622017),platform=Mac OS X 10.14.3 x86_64)

Despite my package.json displaying that it is using chromedriver^73.0.0.0, I attempted to uninstall the previous version v2.45, only to receive a similar error message.

I have made numerous attempts to resolve the issue by running npm uninstall and install commands, as well as installing locally, but these efforts did not provide a solution. While updating to v74 may work, I specifically need to remain on version v73 for some reason.

If anyone has insight on how to solve this problem, please share your knowledge.

Answer №1

It appears that there may be a compatibility issue between your current version of Chrome browser and the driver. To resolve this, consider downgrading your Chrome browser.

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

Refresh the page and witness the magical transformation as the div's background-image stylish

After browsing the internet, I came across a JavaScript script that claims to change the background-image of a div every time the page refreshes. Surprisingly, it's not functioning as expected. If anyone can provide assistance, I would greatly appreci ...

Step-by-step guide on choosing a date using the Telerik (kendo) date picker

I am currently facing an issue when trying to select a specific day using the pickDay() method. Despite specifying 4, it consistently selects 1 instead. Interestingly, when I print date[DAY_OF_MONTH], it does show 4. The method is called with the followin ...

Using onclick events, manipulating innerHTML, and dynamically generating tables

Below is the code snippet: window.onload=function(e){ //Created by Firestar001 var X; var Y; var board=""; var rizzalt=document.getElementById("rezzalt"); var letters = new Array; letters = ["A","B","C","D","E","F","G","H","I","J"]; for(a=0; a<=9 ...

Transition from FadeOut to loading content and displaying it

Is there a way to simply display the content after loading without using fadeIn? $(function() { $('.hovers').click(function(event) { var target = $(this).attr('href'); window.location.hash = target; $.ajax({ url: ...

Issue with Submit Button Functionality in Django Form Submission

I'm currently facing an issue with an HTML template I built using Bootstrap. My problem lies in the fact that I have a JavaScript function that dynamically adds rows to a Django form with specific fields whenever I need to. However, when I add a row, ...

Guide on adding user input values (type=text) into HTML using JavaScript function outcome

I'm looking for a way to use the output of a JavaScript function as the value for an input field in HTML. Currently, I have a JavaScript function that generates a random string: function generateRandomString(length) { let result = ''; ...

The flow of Ajax execution halts once the initial calculation is completed

I have been developing an AJAX code that calculates fees. The code works well initially, but it stops functioning when I try to perform a second operation. <script> var weight = document.getElementById("weight").value; var ship_type = document.g ...

Creating dynamic email content with Node.js using SendGrid templating

How can I properly format SendGrid's content using Node.js? I'm currently working on sending emails from a contact form within an application using SendGrid. I have a Google Cloud Function set up that I call via an HTTP post request. Although I ...

When attempting to install the package [email protected] using npm, an error is thrown with the message: "Syntax

Whenever I attempt to run $ npm install to install all modules for the project, or when trying to install ember v 2.18 with $ npm install <a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="680d050a0d1a285a465950">[email pro ...

Interactive Timekeeping Tool with AngularJS Alarm Feature

I have successfully implemented the functionality to display the system time and date. Additionally, I have set up textboxes for users to input the time they want to set as their first alarm. My current goal is to trigger a particular action once the syst ...

Executing a PHP script after successful execution of another script

tag, I am encountering the following script: Two minor issues: With the button being disabled after a click, it wont allow to click again if for instance an error is returned as shown above. It should only disable it after the input has been released $fo ...

unable to locate composer version following npm installation

Every time I try to install Composer by running the command: % npm install composer I get the following output: + <a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="cfaca0a2bfa0bcaabd8ffbe1fee1ff">[email protected]</a ...

Can React components receive props or data when they are inserted into regular HTML code?

I have a project where I need to make updates to an old-fashioned website. The current layout is table-based and coded by hand. My idea to streamline the process is to use React to minimize repetitive coding tasks. Specifically, I want to loop through an a ...

The npm-default error is currently inaccessible

After updating the npm in openSUSE 42.2 Leap, I encountered an error: npm-default is unavailable. Upon investigation within npm: #!/bin/sh PROG=$(basename $0) PROG_VERSION=${NODE_VERSION:--default} if [ ! -x /usr/bin/${PROG}${PROG_VERSION} ]; then ...

The peculiar formatting issue with the jQuery datepicker that arises when adding more months

When adjusting the numberOfMonths parameter to a higher value such as 6, I noticed that the datepicker display appears unusual with the background extending further than expected. Take a look at my demonstration on jsfiddle: http://jsfiddle.net/zw3z2vjh/ ...

Using async/await to handle the callback function

Here is a function that saves a user in the database: exports.saveUser = ({ first_name, last_name, email, password }) => { const query = "insert into users (first_name, last_name, email, password_hash) values ($1, $2, $3, $4) RETURNING *"; ...

What are the steps to create a zip file of the globally installed npm mysql package?

As a novice, I am in the process of developing a chat bot with Amazon Lambda and am trying to upload the npm-mysql package as a zip file to AWS lambda. Could someone advise me on how to create a zip file of the npm-mysql package that is globally installe ...

What is the solution to rectifying the issue with graphql codegen?

Upon running the command "yarn graphql-codegen," an error occurred and I am unsure how to resolve it: % yarn graphql-codegen yarn run v1.22.4 warning package.json: No license field $ /Users/xxx/node_modules/.bin/graphql-codegen ✔ Parse Configuration ⚠ ...

JavaScript completely transforms the HTML code for each element in an array

I'm having trouble adjusting the inner HTML of specific "div" elements using JavaScript. When I try to change the HTML of a single element in an array, it ends up changing all elements instead. let div_length = 2; const divs = new Array(div_length).f ...

Steps for assigning values to a JavaScript array using its indices

Question: Dynamically creating keys in javascript associative array Typically, we initialize an array like this: var ar = ['Hello', 'World']; To access its values, we use: alert(ar[0]); // Hello However, I am looking to assign ...