Questions Tagged [Selenium]
Ask Question Selenium Is a Popular Open-Source Tool for Automating Web Browsers. When Using This Tag, Also Include Other Tags for the Specific Components You...
Selenium is a popular open-source tool for automating web browsers. When using this tag, also include other tags for the specific components you are using, e.g. selenium-webdriver for the language bindings, selenium-ide, selenium-grid, etc.
97,367
questions
0
votes
0
answers
5
views
target frame detached Selenium c#
I wrote a class to automaticly translate text with selenium. When the translate button is pushed the page doesn't reload completly, I assume this happens with Javascript. I added a wait function to ...
0
votes
0
answers
10
views
Mutliple Treeview Seleium Click Event
Automating report download by auto logging into the site and some button clicks.
Trying to access multiple treeview with specific href id in seleium python.
0
votes
0
answers
7
views
Spring causing WebDriver to 'quit()' after each test
I'm trying to get a Spring Boot Selenium app to work. I can get one test to run successfully, but when I run more than one test, the second test complains with:
Session ID is null. Using WebDriver ...
0
votes
0
answers
11
views
Can't find an element by its xpath (slenium in python)
Here's the full code
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.common.by import By
import time
words = list() ...
-1
votes
1
answer
16
views
Selenium and BeautifulSoup change the numbers inside html element
I want to extract the number of yellow cards each team got from the website
Here is my code
driver = webdriver.Chrome(service=...
0
votes
1
answer
15
views
Python Selenium Webdriver doesn't scroll into div
I wrote a script to scrape data from SubGraph APIs. It simply click the run button and gets some output code. The problem is that I dhould scroll until the end of the page to get the full output code, ...
0
votes
1
answer
29
views
How to interact with map elements in Selenium
I've recently started to work with the Selenium Chrome driver in Python, and I ran into an issue when trying to interact with a NASA map interface. I aim to follow Curiosity's route by iterating and ...
0
votes
1
answer
16
views
Selenium: close specific tab (handle) by index without switching to it
Is it possible to close a specific tab in Selenium by index wihout switching to it?
Currently I am doing this:
driver.switch_to.window(driver.window_handles[1])
driver.close()
driver.switch_to.window(...
0
votes
0
answers
11
views
Scraping top liked videos from a specific country in tiktok
I am attempting to scrape top liked Tiktok videos in a specific country. In Tiktok's Creative Center section, they do show 5 videos, but require to sign in to show more videos. Trying to sign in using ...
1
vote
1
answer
25
views
problem when write test code for selenium using java, some methods is undefined?
I am newbie with Java and Selenium and here is my problem.
I wrote a very simple test code by java and I added selenium webdriver java 3.141 as the tutorial and have no problem.
My problem is, my code ...
0
votes
0
answers
13
views
Transfering logging output both to console and log file
I am running a python script with logging enabled in it. My logs are getting displayed on the screen.
What I want:
How do I display the logs both on console and log file at the same time.
1
vote
2
answers
26
views
Selenium - How can it be used to retrieve data from indeed.com despite the strange behaviour when the popup appears?
When using Selenium to retrieve data from indeed.com, I have noticed a strange behaviour that I still cannot explain.
Introduction
The urls have the following format
-1
votes
0
answers
19
views
Pass selenium webdriver in an api call
we are using backend as API call for selenium function, how to pass driver object and keep it consistent through out the execution
python function
@app.get("/my-driver-api")
def get driver(...
0
votes
0
answers
14
views
Can I "transfer" session from reqeust.session to selenium.webdriver
I use with reqeust.session and reqeust post to send some data to the server.
I want to transfer the session from the reqeust to selenium and after that open the selenium browser and continue to use.
...
0
votes
2
answers
34
views
how to browse pages in a website using selenium
I have a website to scrap, the pages contains a list of companies, and many pages (11).
My script click on each company in the list and extract information.
The problem that i scrap just the first ...