All Questions
Tagged with selenium-webdriver node.js
1,875 questions
1
vote
0
answers
135
views
Selenium 4 (Node.js): How to Capture Network Requests? (getDevTools, createCDPConnection)
Selenium 4 (Node.js) - TypeError: driver.manage(...).getDevTools is not a function
I'm trying to capture network requests and responses in Selenium 4 using Node.js and Chrome. I'm encountering the ...
1
vote
0
answers
66
views
this.driver.createCDPSession Selenium NodeJS cant call cdp session
i've been trying to block some request in selenium nodejs
i create CDPSession, but it's not callable
async launchBrowser(UA) {
try {
await this.startProxyServer();
...
1
vote
1
answer
174
views
Executing JavaScript on Chrome 130+ with Selenium 3
On project I work on we are still on Selenium 3.6 (nodejs) which for the specifics of the application requires executing JavaScript code and this worked until Chrome 130. It's worth mentioning this is ...
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 ...
0
votes
0
answers
35
views
how do i manipulate my javascript based automation framework to mouse over i.e the pointer to hover over a menu item?
I am currently experimenting with the automation UI test framework called Nightwatch.js.
I am trying to get my test to manipulate the mouse to hover over a menu item with submenus.
It keeps failing.
I ...
1
vote
0
answers
43
views
Developing a Continuous Sequence Recorder Using Selenium and WebSocket
I want to create a sequence recorder application. My goal is to take a URL from the user on the client side and open it in a browser on the server side. The user interacts with the server-side browser ...
0
votes
0
answers
23
views
My Slack bot running a Google virtual machine via Docker is running into issues
I am building a Slack bot running on a virtual environment, but Slack wants me to update my browser.
Here is my Dockerfile:"
# Use a specific selenium/node-chrome base image
FROM selenium/node-...
0
votes
0
answers
17
views
How do I move the mouse instantly in Selenium WebDriver Chrome? Node.js
ActionChains only moves the mouse smoothly from (0, 0) to the position.
I tried setting the parameter 'duration' in actions.move to 0, but that will make the mouse movement only smoother.
I want the ...
0
votes
0
answers
26
views
NoSuchElementError: no such element: Unable to locate element: {"method":"xpath","selector":"//select[@id='InputPrefix']"}
when i created seperate stepdefinition classes like Given, When,Then the automation script usin findElement etc.. is not reading in when and then step.js but its reading in given.js file what mistake ...
0
votes
0
answers
310
views
bypass microsoft sing up captcha "funcaptcha" using 2captcha
so i go a result when i send the request and then i tried to inject it and post and some other metohds but no one worked right
is there any spisefic method or something i miss maybe ?
i was try to ...
1
vote
1
answer
309
views
Trouble accessing Chrome's remote debugging port 9223 with Selenium WebDriver in headless mode
I'm trying to set up a Selenium WebDriver with Chrome in headless mode and remote debugging enabled. I'm using the following code to start Chrome and set up the WebDriver:
const { Builder, By, until, ...
1
vote
1
answer
91
views
Firefox Browser blocking execution of asynchronous JavaScript?
I wrote simple Tests for my webapplication in the Selenium Framework, which works completly fine for Chrome and Edge.
But only in Firefox the asynchronous Script gets timeouted, could be an issue with ...
0
votes
1
answer
36
views
How to consecutively call asynchronous functions in Javascript
everyone, in my school, i have a project that i code javascript to automated test a page
i use webdriver to text
but i have a error : TypeError: loginPageInstance.inputUsername(...).inputPassword is ...
0
votes
1
answer
101
views
WebDriverError: Error forwarding the new session Error forwarding the request Operation timed out
I'm encountering the following error when trying to run my selenium testcase using selenium grid. It's really just a modified selenium example from their docs.
ChromeDriver is 123.0.6312.58
Chrome is ...
0
votes
1
answer
85
views
Start a SeleniumWebDriver Instance when Google Chrome has been already opened
I want to be able to run an automation that uses SeleniumWebDriver with Node.js.
The thing is I can't start the automation if Google Chrome is already opened and being used by the user.
For the ...