All Questions
Tagged with selenium or selenium-webdriver
157,828 questions
0
votes
0
answers
16
views
Selenium throws error on PrintToPdf and Print methods in C#
I tried running the below code and it throws error. The error is: {"code":-32000,"message":"Printing is not available"}. Kindly provide suggestions.
public Task<byte[]&...
0
votes
0
answers
24
views
Can't find elements when a pdf is opened in tab (chromedriver)
When I open a PDF file via a normal link (e.g., https://unec.edu.az/application/uploads/2014/12/pdf-sample.pdf), Chrome opens the PDF in the same tab with Chrome's integrated PDF viewer component.
In ...
1
vote
1
answer
29
views
Chrome 141 + Xvfb + Selenium: black screenshots after upgrade (worked on Chrome 132)
I’m using Python + Selenium + pyvirtualdisplay (Xvfb) to run Chrome and capture a series of screenshots via ffmpeg.
The series of screenshots is blank while only the last screenshot is proper. As the ...
0
votes
2
answers
40
views
ScrollDown using Selenium
i try to scrolldown on a website using selenium with the following code:
(i would like to scroll down on the left side of the website where you can see the entries)
from selenium import webdriver
from ...
0
votes
1
answer
37
views
Web element going stale between FluentWait and performing action
I have inherited a bunch of flaky (Scala) selenium test - I am not a Selenium expert.
I am experiencing intermittent StaleElementReferenceExceptions between waiting for a WebElement and performing ...
-2
votes
1
answer
63
views
Webscraping, cannot find page element [closed]
I'm currently trying to scrape the links off of a webpage: https://www.mfat.govt.nz/en/media-and-resources?categories=ministry_statements_speeches,news&page=1
My goal is to collect all of the ...
0
votes
0
answers
48
views
Snapchat Enter Selenium not detecting [closed]
i have a script that
logs in
searches for a name
arrows down then enter (not working)
how do i fix this? It would be nice if it is completely headless
def send_snap_to_recipient(driver: webdriver....
-4
votes
0
answers
49
views
TestNG Parallel Execution Issue: Sequential Classes Violating Order Across Parallel Threads [closed]
I'm encountering an issue where the sequential order of classes within a single block is being violated when the entire suite is run in parallel. This is causing prerequisite tests (Registration) to ...
-1
votes
0
answers
131
views
i keep getting a twitter login error using seleium
I use selenium to login (and post) to twitter, to bypass API rate limits. recently (few days), I'm getting the error, right after typing the username:
Could not log you in now. Please try again later....
2
votes
1
answer
44
views
How to run the AdGuard extension in WebDriver?
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.chrome.service import Service
from selenium.webdriver.chrome.options import Options
from selenium....
-1
votes
1
answer
49
views
Selenium script marks all search results as “not found” because details load only after clicking a link [closed]
I’m using Python + Selenium + ChromeDriver to check a list of titles (from a CSV file) against an online library catalog.
My script searches each title and tries to determine if a specific library has ...
0
votes
0
answers
85
views
How to convert a selenium driver to seleniumbase CDP driver?
I am trying to convert a selenium driver to seleniumbase CDP driver as codes below:
from selenium import webdriver
from selenium.webdriver.chrome.options import Options
opts = Options()
opts....
0
votes
0
answers
52
views
Error when trying to generate Allure reports
I am working on an automation with Selenium, Java, Maven, Junit. I want to use Alleru reports but when I try to run the mvn allure:server command, it generates the following error.
mvn allure:serve
[...
0
votes
0
answers
48
views
new verison of chromedriver returns org.openqa.selenium.SessionNotCreatedException: Could not start a new session
I moved the application to a new server and now the following error occurs every time you use selenium
e=org.openqa.selenium.SessionNotCreatedException: Could not start a new session. Response code ...
0
votes
1
answer
54
views
Issue with selecting element from dropdown list
I'm trying to test a travel website. When I enter the city code, the correct airport should be picked from the list. However, it enters the city code and does not proceed to pick up the city from the ...