All Questions
Tagged with selenium-webdriver python-3.x
8,948 questions
0
votes
1
answer
53
views
Firefox Selenium WebDriver Timeout in OpenShift Pod
I'm experiencing a timeout issue when trying to run Selenium with Firefox in an OpenShift pod. I'm using Python 3.9 with Selenium to automate browser interactions with a web application.
When ...
-1
votes
2
answers
47
views
How to get attribute value from webpage by css_selector?
I'm using Python 3.12.3, Selenium 4.31.0, Firefox driver.
How do I retrieve the class attribute in this html tag?
<div class="costa-itinerary-tile FS03250425_BCN03A20" data-cc-cruise-id=&...
0
votes
1
answer
71
views
"User directory already in use" Selenium Python
I am aware that there are other questions like this one on the site, but I have found that they are trying to do a different thing and the solution is not applicable to my case. The issue is that I ...
0
votes
1
answer
65
views
selenium does not download chromedriver itself
I am building a google image scraper using python selenium. I have selenium 4.8.0, so I guessed I didn't need webdriver_manager to download chromedrivers. But selenium is giving me some errors.
...
1
vote
1
answer
19
views
Python Selenium clicking a jquery dropdown to expose more dropdowns
I'm new to Selenium and trying to undertake a live example of web-scraping a list using the following URL - https://mcscertified.com/find-an-installer/
However, I'm struggling to click on a drop-drown ...
1
vote
0
answers
24
views
Selenium Chrome headless mode times out on first run, but works fine after running in headed mode once – why
I'm using Flask to run a local web server and using Selenium with Chrome in headless mode to automate a task via Python.
However, when I run the Selenium script in headless mode, it times out when ...
0
votes
1
answer
26
views
How to access shadow-root via Selenium Python
Im trying to access a shadow-root tag via Selenium Python and I can seem to reach it. Its a dynamic picklist created in salesforce and I know our current salesforce environment is using "...
0
votes
0
answers
30
views
selenium python handle message websocket
my code:
def get_ws_messages(driver):
ws_messages = []
sleep(2)
driver.execute_cdp_cmd("Network.enable", {})
logs = driver.get_log("performance")
for entry in ...
0
votes
2
answers
67
views
How do I resolve an Element Not Interactable Exception in web automation with Selenium
I'm practicing web automation with Selenium on GitHub's website, but when I try to automate clicking on the Sign in button on the GitHub's home page, VS code throws an Element Not Interactable ...
1
vote
1
answer
71
views
py 3.12 selenium scrape hangs on Ubuntu but works in Windows
I have written this web scrapper that reads real estate web listings, but for some weird reason it fails when I run it on my Ubuntu 24.02 server but works on my Win 10 machine. I am on python 3.12.3 ...
0
votes
1
answer
65
views
Handling authentication pop-up after a ButtonClick in python selenium Edge
So I am facing following issue.
I am trying to get a report from a specific site(Its not public). The steps are open the webpage --> enter username --> goto nextPage --> enter Password --> ...
-1
votes
1
answer
72
views
How to scrape links off Google images result with selenium, python?
I'm trying to work on a project, and I need to get the links off google image results.
Here is my code:
from selenium.webdriver.common.by import By
from selenium.webdriver.common.action_chains import ...
2
votes
1
answer
157
views
Seleniumbase Python not passing detection on Linux
I have the following script in Python but when the page loads the captcha does not work
Can someone help me?
On Windows I have this code that works well for me but on Linux it doesn't work for me
...
0
votes
0
answers
13
views
How can we make an element tappable when Appium detects it and reports a successful click, but the action is not reflected in the app?
This issue is observed only on iOS 18 versions:
I'm trying to tap on an element ,which is a Cancel button, but the action is not reflected in the app. Upon checking the logs, I found that Appium ...
0
votes
0
answers
31
views
Instagram scroll through comments Selenium Python
I came across this situation, I need to scroll through the instagram comments to the end, but only this code works for Selenium:
driver.execute_script("arguments[0].scrollTop = arguments[0]....