2,606 questions
2
votes
4
answers
149
views
How to select a menuitem from a Bootstrap dropdown built as a button (Selenium/Python)
I am trying to select choices from a dropdown menu, using Selenium with Python. The menu might be built as a button as I had no luck trying to use Select(). It also might be a Bootstrap dropdown. Here ...
0
votes
3
answers
147
views
Using selenium assert with wait
I'm trying to use asserts in selenium java. I read that for every validation, I need to use an assert as best practice.
I stumbled upon this code example:
WebElement button = wait.until(...
Best practices
1
vote
3
replies
118
views
Using selenium waits as asserts
I'm trying to use asserts in selenium java. I read that for every validation i need to use an assert as best practice.
i stumbled upon this code example:
WebElement button = wait.until(...
-1
votes
1
answer
73
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
2
answers
117
views
How to scrape a person's name from their LinkedIn profile using Selenium and ChromeDriver in Python?
I have a Python script that uses Selenium's Chrome driver to log into LinkedIn and visit one profile. That works fine. However, I can't get the script to scrape the person's name from their profile.
I ...
1
vote
2
answers
115
views
Selenium select from dropdown menu
I'm a bit new to Selenium and am trying to build a webscraper that can select a dropdown menu and then select specific options from the menu. I've built the following code and it was working at one ...
1
vote
4
answers
95
views
Modal Popup - Selenium/Python
I am automating a confirmation request, and my code gets me all the way to the end, but when it comes to actually confirming my reservation, there is a popup modal window that appears as a layover on ...
2
votes
2
answers
100
views
Get url of second tab using selenium?
I'm trying to get the second tab url using the following code -
import time
import os, sys
from selenium import webdriver
from selenium.webdriver.chrome.options import Options
from selenium.webdriver....
-1
votes
1
answer
78
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 ...
0
votes
1
answer
61
views
Unable capture the "success" state of the elements after form submission
I'm trying to learn Java and using Selenium for my AQA tests.
Here's a dummy website that offers different kind of forms / pages / buttons to train:
https://play1.automationcamp.ir/forms.html?
I'm ...
0
votes
1
answer
67
views
Selenium Automation with C# POM Elements vs Element Methods
So I have been playing around with Selenium's POM (Page Object Model) specifically the FindsBy annotation.
[FindsBy(How = How.XPath, Using = "//a[@attribute='some_value']")]
public ...
2
votes
1
answer
75
views
Python Selenium click in webdriverwait versus find_element
I'm having trouble understanding what are the differences between these two blocks of codes. Sending clicks both work in webdriverwait and find_elements.
Code 1
from selenium import webdriver
from ...
0
votes
0
answers
45
views
Python Selenium - How to Iterate through a table column, visit URLS and scrape content on inner pages
Long story short:
I am trying to write a function that will go through a table column, and as soon as it hits an exact match to a number I give it, it will start visiting the URL on each row after the ...
0
votes
1
answer
118
views
WebDriverWait is getting the title, but javascript, or something is changing the browser's title after the page has loaded
I'm using selenium to rename and sort the medium to a folder based on the title of the page, but the page is still loading content in the background and the title of the page changes after firefox has ...
1
vote
3
answers
86
views
Selenium XPath: How do I click on the Load More button
I'm trying to scrape job listings on a career page. I'm trying to click the load more button, but cant seem to figure it out. i was wondering if someone could help me out -- I keep getting an error ...