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.

2
votes
1answer
26 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 ...
1
vote
1answer
976 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
83 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. ...
0
votes
1answer
332 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 ...
0
votes
1answer
622 views

How to drag and drop the image using dragAnddrop() in javascript using selenium webdriver?

Without using test framework i have to write this test case to drag and drop to upload the image. please help me if any one know this stuff.If any framework is available also let me know please.
-1
votes
1answer
50 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.....
2
votes
0answers
813 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
0answers
425 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
2k 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 ...