Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [selenium-webdriver]

Selenium WebDriver provides the WebDriver API for controlling browsers in different programming languages ("language bindings"). When using this tag, also add a tag for the programming language you are using.

selenium-webdriver
-1 votes
0 answers
8 views

Can't read instagram followers properly

someone showed me how to do this in an old video but since Instagram changed I had to go my own way My Code: from instagramUserInfo import username, password from selenium import webdriver from ...
kalpa's user avatar
  • 1
0 votes
0 answers
7 views

Can't found item in scrapy in dynamic content

i'm webscraping a page using selenium and scrapy, the page is dynamic so i want until the item is full loaded then i extract it, the problem is that selenium can find the item but when i extract it ...
Thamer Sekhri's user avatar
0 votes
0 answers
9 views

Python requests return empty <body> using a Google Colab notebook

Trying to extract data from https://www.israelhayom.co.il/sitemaps/wp-sitemap-posts-post-2.xml I am using the following code: def extract_urls(sitemap_url): """ Extracts URLs ...
Erelephant's user avatar
0 votes
0 answers
15 views

How to let Selenium use the DEFAULT webdriver in operating system?

I would set driver in this function to any web-driver the user may using, through it's quite hard, Because lots of different web-drivers are be used. Here's code: from selenium import webdriver def ...
Cooooldwind_'s user avatar
0 votes
0 answers
12 views

Selenium python program started crashing with WinError 193

I am running code with pytest and initializing a set of frontend tests with selenium. With no changes in code my selenium chrome tests started crashing with this error, firefox tests pass with no ...
Piotr Wcisło's user avatar
-1 votes
1 answer
29 views

Change Enter line break character with shift+enter line break in Python

How can I replace newline characters (\n) with a Shift+Enter equivalent in Python to maintain paragraph structure when working with text data? Are there any specific libraries or techniques to achieve ...
Mahdi's user avatar
  • 1,005
0 votes
1 answer
19 views

Facing errors with scripts written in Selenium after updating Chrome to 127 verison

After updating my chrome to 127 version all my selenium test scripts started to raise error. Is anyone having the same issue? I saw on one of the questions solution to this case by adding script ...
Bekkkk23's user avatar
0 votes
0 answers
18 views

How to fix NullPointerException because "this.driver" is null on Java Selenium [closed]

I have these 2 basic classes to run apply the POM Pattern with Selenium in Java, but I have the following error enter image description here enter image description here I'm expecting just to locate ...
Carlos Andres Quiroga Alvarado's user avatar
-1 votes
1 answer
22 views

I am trying to add pytest to my test but I got collected 0 items message in terminal

from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.edge.service import Service import pytest @pytest.fixture() def wrong_login_test(): website = 'https:/...
Bernardo Cabrera's user avatar
0 votes
0 answers
10 views

How to Configure SE_SESSION_REQUEST_TIMEOUT, SE_NEW_SESSION_THREAD_POOL_SIZE, and SE_NODE_SESSION_TIMEOUT for Selenium Grid in Kubernetes?

I'm currently running a Selenium Grid setup on a Kubernetes cluster, with edge nodes configured to scale between a minimum of 5 replicas and a maximum of 100 replicas. My use case involves executing ...
Anvesh Muppeda's user avatar
0 votes
0 answers
20 views

JavascriptException Stale element not found after (multiple) redirects

I'm building a SeleniumBase scraper that takes a set of tasks and performs them on a website. After performing some actions on the site the script calls driver.execute_script("return window....
Victor's user avatar
  • 456
0 votes
0 answers
37 views

Seleniumbase Chrome 127 "search engine is needed" problem

In the Chrome version 127 always get a chrome popup with search engine is needed and I have to choose. I use seleniumbase but cannot hide it, disable or click. So ruin all my process... I saw some ...
tromotixc's user avatar
-1 votes
1 answer
41 views

How to get rid of "Choose your search engine" dialog in Chrome v.127 on Selenium test run?

Since Chrome Browser updated to version 127, on Selenium tests runs I get the next dialog open: How to get rid of it using C#? Do I need to make some options on driver start? I've already chosen it ...
Denis Koreyba's user avatar
0 votes
0 answers
5 views

Selenium WebDriver inside of Blazor Server app

I have a desktop app that uses webdriver to: open a browser navigate to a website log in navigate to a form fill out the top part of the form leave the window up for the user to fill out the bottom ...
AndyD273's user avatar
  • 7,229
0 votes
0 answers
14 views

Disable "You can open bookmarks, reading mode, and more from the Chrome menu" in chrome automation

In current Chrome/Chromedriver version (127, but this started some versions before), when running tests with Selenium, a "tooltip" with the following text appears: You can open bookmarks, ...
Mate Mrše's user avatar
  • 8,272
0 votes
0 answers
14 views

Elements in chrome browser are not clickable when opened with selenium, unless I leave the browser displayed

I am try to get get data from a site using selenium webdriver. Everything works well when I leave the browser opened/displayed on the screen, but when I minimise the browser tabs, nothing is clickable,...
Godsfavour's user avatar
0 votes
1 answer
45 views

Can't scrape all the data from a lazy-loading table using Selenium

I'm trying to scrape three fields (player, logo, dkprice) from a table located in the middle of a webpage. To see all the data in that table, it is necessary to scroll down to the bottom of it. I've ...
SMTH's user avatar
  • 187
0 votes
2 answers
40 views

How to click on a chevron for 'more results' with selenium?

I am scraping a web page with Selenium searching for results. This is working fine, I do get the results I want, but not all results, only 12 out of hundreds. To get the additional results, I must ...
Stefan's user avatar
  • 13
-1 votes
2 answers
28 views

Python Selenium Actions Chains work but stop my program in Firefox

I sometimes use ActionsChains with any problems, today he work but stop my program do you know why? scrolling_bar = driver.find_element(By.CSS_SELECTOR, "#scrolling_bar") start = ...
Laslo Laslo's user avatar
0 votes
2 answers
283 views

I got this error! OSError: [WinError 193] %1 is not a valid Win32 application

I trying to run an Python file today and got this error below! Anyone know what's issue and the solution to fix it? Traceback (most recent call last): File "C:\Users\Al PC\PycharmProjects\Fe\...
acube's user avatar
  • 27
-2 votes
1 answer
43 views

Azure Repo Setup for Nexus Repo

We have our own company framework for testing and all jar are stored in nexus repo. Whenever running my automation framework,all required jars are getting downloaded from nexus repo via pom dependancy....
techieqa's user avatar
0 votes
0 answers
16 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 ...
R Rubika's user avatar
0 votes
0 answers
32 views

Selenium Web Scraping on Google Maps: Clicking on all markers/points in view

I'm fairly new to Selenium and am looking to learn how to use it to click on all the markers or points on Google Maps in my view only. I’ve tried following some examples, but they either only work ...
i suck at programming's user avatar
0 votes
1 answer
30 views

Selenium WebDriverWait Fails to Detect Form Element for Submitting Answer on Embedded Video with Selenium

I have been programming a bot using Selenium to automate a tutorial series my school forces me to do. In this tutorial there is one video which halfway through prompts the user with a form and some ...
Aidan Rooney's user avatar
0 votes
0 answers
13 views

84 I am working on selenium automation project using Python. I am getting an error .NoSuchElementException:

from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.common.keys import Keys from selenium.common.exceptions import ...
Hell King's user avatar
0 votes
0 answers
10 views

SpecFlow isn't able to find test results in test results file

I'm trying to set up SpecFlow. I have set up my configuration to create .trx files for test results so that I can upload them to Azure DevOps using SpecFlow. I assume I set something up incorrectly in ...
Cole's user avatar
  • 35
0 votes
0 answers
11 views

Selenium not bypassing cloudfare on linux

I am writing a discord bot that web scrapes dexscreener.com with some filter periodically and outputs the tokens in a discord channel. When I run the code on my windows machine it works fine but when ...
Aditya Rawat's user avatar
0 votes
0 answers
10 views

Firefox pointing to Firefox Private Browsing Version in Selenium

In Selenium, when I am giving the path of My Firefox Path(which is located inside AppData) in My Selenium Automation Code, & executing it's opening the Firefox Browser. But the version it's ...
AGB's user avatar
  • 23
0 votes
0 answers
15 views

What is the easiest way to save an captcha image from a .php page?

I've been trying to extract captcha images from a .php page but have had no luck so far, is there a simple(ish) way to do this? I've been trying with python with selenium so far and would like to keep ...
B G's user avatar
  • 1
0 votes
1 answer
25 views

Selenium Nodejs - Trying To Select Button

The HTML <button class="RCK Hsu USg adn gn8 L4E kVc iyn S9z Vxj aZc Zr3 hA- Il7 hNT BG7" tabindex="0" type="submit"> <div class="KS5 hs0 mQ8 un8 tkf ...
KraveXL's user avatar
  • 315

15 30 50 per page
1
2 3 4 5
1926