Skip to main content

All Questions

0 votes
0 answers
17 views

Selenium can not be runned by NPM scripts

This is the selenium example I copied from the official page. Only differences are 2 console.log to debug. const { Builder, Browser, By, Key, until } = require('selenium-webdriver') ;(async function ...
xianshenglu's user avatar
  • 5,399
2 votes
0 answers
485 views

Healenium Implementation for Javascript WDIO

We are currently using webdriverIO version 7 for our automation. We use cucumber framework with Javascript and use npm. We use node docker image to run the scripts via Jenkins. We were thinking of ...
rohini dingankar's user avatar
1 vote
1 answer
894 views

issue while running git Actions Job related to chrome driver version

package.json dependencies : "engines": { "npm": "6.14.17", "node": "14.20.0" }, "devDependencies": { "@babel/cli":...
Asmoun's user avatar
  • 1,747
0 votes
1 answer
114 views

webdriver-manager start --detach do not detach the server in Azure DevOps

I want to run my selenium tests in Azure DevOps. We use agents on ubuntu-20.04. To achieve this I use npm. So my package.json has next scripts: "scripts": { "update_webdriver": &...
ant's user avatar
  • 1,137
1 vote
1 answer
535 views

Protractor Mac installation Issue - protractor --version zsh: command not found: protractor

I'm interested in using Protractor for e2e testing. But running into some possible installation issues on a Mac(macOS Catalina). The main problem I'm having is when trying to verify Protractor's ...
Tyler's user avatar
  • 11
0 votes
0 answers
166 views

Adding JS packages like Selenium to a Chrome Extension

I want to build a Chrome Extension that uses Selenium and other packages for JavaScript. I can install selenium-webdriver with npm in my workspace, but can we add packages like these in a Chrome ...
bhdrozgn's user avatar
  • 197
0 votes
1 answer
476 views

Gitlab CI End to End testing failing because of webdriver-manager is not recognized as an internal or external command

I am working on a nodejs project that has some End to End tests. The test are running fine on my local and it failing from my gitlab pipeline because of webdriver was not recognized. I tried ...
Raj's user avatar
  • 5
1 vote
0 answers
46 views

Process exit state 199 Error code in Protractor config [duplicate]

Error Description: I/launcher - Running 1 instances of WebDriver [16:11:17] I/direct - Using ChromeDriver directly... [16:11:18] E/launcher - unknown error: cannot find Chrome binary (Driver info: ...
Srik's user avatar
  • 11
0 votes
1 answer
6k views

Cannot install chromedriver

I'm trying to install chromedriver based on instructions here https://www.selenium.dev/selenium-ide/docs/en/introduction/command-line-runner First I installed: sudo apt install nodejs # installs npm ...
ka3ak's user avatar
  • 3,241
0 votes
1 answer
546 views

WebDriver JS enforces using local 'selenium-webdriver'

I have previously installed selenium using 'npm install -g selenium-webdriver so all my projects were using global node-modules (set up on mac os). It worked! Then I have experimented with different ...
Albert Woloszyn's user avatar
0 votes
1 answer
1k views

Unable to resolve dependencies - webdriverIO

I am trying to run my WebdriverIo Specs using (npm run test-local) and I am getting the following error even thou I am having all the dependencies in my package.json as mentioned below [0-2] Error: ...
user2952161's user avatar
1 vote
1 answer
3k views

Error: Cannot find module 'selenium-selenium'

Versions are: nvm --version 0.35.3 npm -v: 6.14.8 node -v: v14.10.0 important package.json parts: { "main": "index.js", "scripts": { "start": "./...
ManuelTS's user avatar
  • 356
1 vote
0 answers
192 views

Webdriver.io - Selenium standalone jar is giving error missing chrome dependencies

I am new to webdriver.io world, I have selenium standalone version:6.18.0 installed on my package.json. But when I am trying to start selenium standalone server by running below command I am getting ...
Hemant Varhekar's user avatar
1 vote
2 answers
2k views

Node.js Oracle Database connection error: Error : TypeError: oracle.getconnection is not a function

export class DBConnect { databaseConnection() { let connection; const oracle = require('oracledb'); try { connection = oracle.getconnection({ user : 'user', password : '...
Vijay Krishna A's user avatar
2 votes
1 answer
5k views

Chrome Driver is not getting during npm install

npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! [email protected] install: node install.js npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] install script. npm ERR! This ...
aspile's user avatar
  • 583

15 30 50 per page