Questions tagged [nodejs]

Node.js is an event-based, non-blocking, asynchronous I/O framework that uses Google's V8 JavaScript engine and libuv library.

9 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
1answer
34 views

How to stress test a web application relying on Socket.IO?

I developed a web application in typescript reyling on a node.js server. Now I want to monitor the load time behaviour under stress accessing it on my public development server by virtual users. The ...
2
votes
0answers
908 views

Selenium running Firefox instead of IE or Edge

I am trying to get Nightwatchjs tests running with Chrome, Firefox, IE, Edge, and mobile web browsers (iOS, Android, etc). I'm having difficulty getting Selenium to open up a non-Firefox browser. ...
1
vote
1answer
30 views

IE 11 auto accepts the alert pop up

So I am on an edit page and when I click the cancel button to stay on the edit page the IE driver automatically accepts the leave page in alert pop up. I even added the IE capabilities saying: ...
1
vote
1answer
2k views

When I tried to install opencv4nodejs I am getting an error

I am new to appium using javascript and to install appium I am following this link Setting up appium with javascript So when I installed appium-doctor and ran it I got an error. info AppiumDoctor ...
1
vote
1answer
101 views

Selenium steps not running in order of promise

I'm writing a test to check our ratequote form on https://militaryvaloan.com/va-rates, I've been mostly successful getting it to work however I'm having trouble keeping the event listeners in order. ...
1
vote
0answers
444 views

How can I debug karma tests without changing PhantomJS to Chrome in Visual Studio Code

I have karma tests that during execution runs PhantomJS. Unfortunately when some of those tests fail, error messages are not very helpful. Thus, I would like to debug them. However, most sources ...
1
vote
0answers
3k views

WebdriverIO browser.scroll() always scrolls to the top?

I am using WebdriverIO and I want to scroll to an element. But no matter if I'm using element.scroll() or browser.scroll(0,yLocation) it will always scroll to the top of the page. Is it possible ...
0
votes
1answer
703 views

When I run my appium script I am getting error “TypeError [ERR_INVALID_ARG_TYPE]”which I am not able to understand

I wrote a script to automate my app using appium with java-script(nodejs), but when I run it I am getting error. This is the code which I have written. var webdriverio = require('webdriverio'); var ...
-1
votes
2answers
123 views

Getting error in selenium with node.js automation

I am working on automation. I am using Selenium with nodejs code. I am just beginning to learn selenium with nodejs. I am trying to open a application, but I am getting error. Here is my sample code.....