57,716 questions
-4
votes
0
answers
40
views
Get info from a site using selenium, without the website simulator [closed]
I am currently learning Selenium, and I am wondering is there a way to use Selenium to get information for example text of some paragraph without the whole website simulator running?
0
votes
1
answer
65
views
Selenium Headless vrs Non Headless. I can't get Selenium to set a field while using headless mode
I saw I needed to add a window size however that did not fix my issue
here is the working Non headless code
# _-_-_- Non Headless -_-_-_
from selenium import webdriver
from selenium.webdriver.common....
0
votes
0
answers
25
views
Python Selenium: How can I specify a "no timeout" WebDriverWait?
I'm using Selenium WebDriverWait in a Python function decorated with @timeout(). Since timeout is handled at the function level, I really don't need WebDriverWait to timeout. Is there a way to have ...
3
votes
2
answers
173
views
How to reliably download 1969 “Gazzetta Ufficiale” PDFs (Italian Official Gazette) with Python?
I’m trying to programmatically download the full “pubblicazione completa non certificata” PDFs of the Italian Gazzetta Ufficiale – Serie Generale for 1969 (for an academic article). The site has a ...
-3
votes
0
answers
56
views
POJO class retains old values during multiple test execution [closed]
I am having pojo class with Lombok @data annotation. pojo classes are static in calling classes. So When I execute multiple selenium tests say test 1 and test 2, during test 2 execution, pojo fields ...
0
votes
0
answers
25
views
Google detecting Appium clicks [closed]
We're building an app that runs automated tests using Appium on an Android emulator. Part of what we’re testing involves opening Google Chrome and clicking on links to some of our business pages.
The ...
1
vote
2
answers
65
views
Loading unpacked Chrome extension with Selenium 4.34.2
I am trying to load an unpacked Chrome extension that is stored (as an unpacked folder) in the same folder where my script is running. This is the extension.
import time
from selenium import webdriver
...
0
votes
0
answers
104
views
dfi.export and style/ clipping issues when running selenium in a docker container (works on windows directly) [closed]
Basically when I run my same jupyter notebook in a docker container
quay.io/jupyter/base-notebook:python-3.12.8
the base notebook is Debian
some of the plots at the top of the output are being clipped ...
0
votes
0
answers
38
views
How do I kill any hanging instances of safaridriver
We have a new test selenium/C# test suite which runs against a app on a Mac using Safari Driver.
Every now and then a test will fail and the next text will not start because safari is still running ...
-1
votes
0
answers
31
views
captchafox, problem with sending response from solver to service [closed]
I want to solve a captcha on the gmx.com portal. It has a captcha called CAPTCHAFOX. The problem is that I can't manually submit the captcha solution to the website. Does anyone have a solution? Maybe ...
0
votes
1
answer
93
views
Why is RelativeBy not accepted in find_elements?
versions: selenium 4.33.0 and python 3.13.5
Selenium 4 provides RelativeBy that can be produced with locate_with method. Information can be found here under relative locators, and python api doc.
...
1
vote
0
answers
106
views
azure function with selenium not working gives internal server 500 error
Here my http_trigger test function seems to run smoothly and is able to write files as expected to my azure blob storage, however when I test extract_signals which uses now a full blown headless ...
-1
votes
1
answer
67
views
How to find this HTML element with Selenium/Java [closed]
I've tried several ways, but I just cannot seem to get Selenium to resolve to this HTML element on a page:
<button class="btn__primary--large from__button--floating" data-litms-control-...
0
votes
0
answers
86
views
PDF download automatization in Python [closed]
So I'm currently working on a project that download pdf files from a website. Most of pages are university/college pages, so I need to download the pdfs of lectures and worksheets. Sometimes the pdfs ...
-3
votes
1
answer
49
views
How to get text of a div element with selenium in python? [closed]
I keep trying to find the text of this div and it keeps coming up with this:
selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":&...