Questions tagged [selenium-webdriver-python]
73 questions
0
votes
1 answer
Filling date field with Selenium WebDriver
I am trying to fill out a registration form using Selenium for practice as I am beginning to familiarize myself with this library.
It is the registration form on this website: https://www.fast2sms.com/
What I am currently trying
I start with…

Datajack
- 88
- 3
- 16
0
votes
2 answers
How do I open/close tabs with Selenium (Python)?
I have tried all the methods in similar questions and only one of them worked which was to use javascript.
driver.execute_script("window.open('')")
#this works
…

Nayan Gautam
- 122
- 1
- 5
0
votes
1 answer
My xpath is not working - invalid selector: Unable to locate an element with the xpath expression
how to select the route number.
![]()
Learner
0
votes
1 answer
Using Selenium to Retrieve dataI've been teaching myself Python and Selenium to automate a claim submission. I've managed to stumble through with lots searching and trial and error. However, I haven't been able to solve this last step. After the claim is submitted a claim…
0
votes
0 answers
ElementI'm new to selenium and facing issue while selecting an option from the dropdown.
HTML Code:
0
votes
2 answers
Is there a better way to fetch text from HTML table using selenium?I've been trying to fetch the text circled in the attached image below.
Table Image
Website URL
My…
![]()
Jacob Ukokobili
0
votes
1 answer
Selenium Python firefox webdriverFirefoxProfile profile = new FirefoxProfile();
profile.setPreference("network.proxy.type", 1);
profile.setPreference("network.proxy.http", "localhost");
profile.setPreference("network.proxy.http_port", 3128);
WebDriver driver = new…
0
votes
1 answer
Selenium script that works perfectly in headed mode fails to work in headless mode (Python)I am trying to download a file using Selenium (Chrome Driver). I used a test website that contains a small sample audio file to download. The script works fine when used in a headed mode and the file downloads but fails in headless mode. I looked at…
![]()
Jitesh Malipeddi
-1
votes
1 answer
cannot scroll to the top from down until it reaches the top of the page using Selenium PythonI have a page which scrolls from the bottom (the latest feeds) to the top (the older feeds). I am trying to get Selenium to scroll all the way to the top so I can get all the information. Currently, I am using this for testing and it worked, but I…
![]()
hkay
-1
votes
1 answer
How to open the site https://gem.gov.in/ with Python Selenium using undetected_chromedriverI need to open this website https://gem.gov.in/ with Python Selenium
I have tried to do it this way:
import undetected_chromedriver as uc
import time
driver =…
![]()
TiBrains
-1
votes
1 answer
Python Selenium: Closing a new tab with driver.close() is probably causing "no such window: target window already closed; web view not found" errorRecently I have started working with multiple tabs in Selenium and I have encountered a strange problem. When I'm executing this code:
WebDriverWait(driver,…
![]()
BigEd94
-1
votes
2 answers
How do I scrape multiple URLs using Selenium WebDriver?How do I scrape multiple URLs using Selenium web driver?
Below is my code scraping a title from one amazon link. I want to add more links and scrape multiple titles. Thank you.
import selenium
from selenium import webdriver
PATH = "C:\Program Files…
![]()
Jay
-1
votes
2 answers
How to log into a website without input field and button ID using Selenium and PythonI'm creating a program that will help students track their marks, for that I need to web scrap the site where all our grades are stored. The idea was to automate the login and then there will be a separate script that will get the information that I…
![]()
andrromedos
|