All Questions
197 questions
1
vote
2
answers
884
views
How to get all links with python selenium in a tbody
Here's my python script that allows to search the https://whatsmyname.app/ site and then retrieve the links with this:
link = driver.find_elements(by=By.XPATH, value="/html/body/div/div/div[3]/...
1
vote
1
answer
555
views
Finding a specific span element with a class using Selenium
The html below is stored in a selenium WebDriver variable
<td colspan="2" class="pi_mailing_address"><strong>Mailing Address</strong>
<div>
...
0
votes
1
answer
146
views
How to find an element in Selenium (Python) using ends with and click the corresponding radio button?
I want to click the radio button of the item that matches my grant number. The issue is that the HTML seems to have some numbers before it that I don't know until I search. For example, if I search ...
1
vote
4
answers
216
views
How to identify a certain text inside each element in an iteration of elements using Selenium and C#?
I've been learning automation with C# for some weeks now, though I'm progressing in a slow manner. I'm currently trying to do a certain test using a mock page (automationexercise.com).
The page mocks ...
1
vote
1
answer
1k
views
Find element and click using VBA Selenium
I was trying to select the highlighted Xpath in this Photo below.
Afterwards I was trying to click on the element.
Code trials:
On Error Resume Next
Set Element = GC.FindElementByXPath("//*a[@...
0
votes
1
answer
131
views
How can I print the entire content of a list object?
when I execute
wait = WebDriverWait(driver, 20) # Adjust the timeout value as needed
parent_div = wait.until(EC.visibility_of_all_elements_located((By.CSS_SELECTOR, ".el-table-box")))
print(...
0
votes
1
answer
515
views
Selenium IDE click and type command not clicking or typing in the selected textbox element
When using the click or type command in Selenium IDE to click or type in a text box it will just do nothing until the command times out. I'm currently using the selenium IDE extension, it doesn't work ...
-1
votes
1
answer
796
views
How to locate a date element using the xpath from the calendar
I'm trying to locate the webelement for the future date but unable to do so. I am finding more than one matching web elements for the same.
I tried:
//*[contains(@class,'flatpickr-day nextMonthDay') ...
1
vote
1
answer
44
views
VBA Selenium can't find correct locator strategy
I am trying to click on the "Exporter toutes les versions de chaque indisponibilité (.csv)" link on the following site:
https://www.edf.fr/groupe-edf/ambition-neutralite-co2-pour-edf-a-l-...
1
vote
1
answer
39
views
How to scrap dynamic HTML table with differencet class name for each row containing nested elements?
I want to create a dataframe by scrapping the table here which has different class name for each row and contains nested elements.
table_rows = driver.find_elements(By.CLASS_NAME, "bgColor-white&...
0
votes
1
answer
605
views
Which option finds elements based on the driver's underlying CSS selector engine in WebDriver Selenium
Select the variation which finds elements based on the drivers underlying CSS selector engine in Web driver Selenium and why?
By.cssSelector ;
By.cssSelection ;
By.cssSelector()
By.cssSelected
I'm ...
1
vote
2
answers
860
views
How to scrape all the prices using Selenium and Python
I'm trying to get ticket prices from Viagogo with not luck. The scrip seems quite simple, and works with other websites but not for Viagogo. I have no issue in getting the text in the title from here.
...
1
vote
1
answer
169
views
python selenium- how to get only some of the information inside a <a> HTML element?
The website bellow will she the scores of a all the soccer matches and this one is an example, im trying to get the teams that have played and the scores.
photo
this is the code for the one above:
...
0
votes
1
answer
148
views
python selenium: clicking buttons with various html element/css attributes
i'm trying to create python automation scripts using selenium to make appointment times, however i'm having some trouble with clicking on certain elements. to confirm an appointment the steps are ...
2
votes
1
answer
522
views
Finding elements by class name inside a loop, selenium
I need to scrape in python a page that has some classes that are number like class1, class2, class3, ... classN and I would like to locate the text contained in all those classes.
I tried using ...