57,837 questions
0
votes
1
answer
32
views
Can't close cookie pop up on website with selenium webdriver
I am trying to use selenium to click the Accept all or Reject all button on a cookie pop up for the the website autotrader.co.uk, but I cannot get it to make the pop up disappear for some reason.
This ...
-1
votes
2
answers
53
views
How to get the background color of a web page using selenium with python [closed]
Using this code:
import re
def rgba_to_hex(rgba_str):
# Extract the numbers from the rgba string
match = re.match(r'rgba?\((\d+), (\d+), (\d+)(?:, [\d.]+)?\)', rgba_str)
if not match:
...
0
votes
1
answer
28
views
how can i fix selenium edge driver error: session not created?
I am a newbie and trying to write a picture parser, starting to learn parsing have a code that gives an error, how can I fix it
def setup_browser():
options = EdgeOptions()
options....
0
votes
1
answer
27
views
Great-Tables: Not being able to GT.save() de final figure as .png
I'm making a few tables on python using the fairly new great-tables library, but I'm not being able to properly .save() the table as PNG. In total I made 3 tables, 2 last week and one I just finished. ...
0
votes
1
answer
28
views
How to locate popup via Selenium
I am trying to programmatically download a file from a webpage. I can navigate to the page and click the 'Download' button, but that button opens a new window to set the download location and click ...
-1
votes
0
answers
37
views
How to iterate through <tbody> with Selenium in Python?
I am trying to iterate through a list of <tr> elements in a <tbody> element. None of my print statements return anything and the output says the element is not found, but I don't know ...
0
votes
0
answers
25
views
Selenium Manager installs x86-64 in Docker on Raspberry Pi (ARM64) — How to force ARM64 version?
I have a .NET Core application that uses selenium to click a button.
It runs in a docker.
I would like to run this docker on my raspberry pi5
For this I install chromium in my docker like this:
RUN ...
0
votes
1
answer
37
views
Python amazon automation Chromedriver discovery error
import unittest
from selenium import webdriver
from selenium.webdriver.chrome.options import Options
from selenium.webdriver.common.by import By
from selenium.webdriver.common.keys import Keys
from ...
1
vote
2
answers
58
views
How do I get element value with GetAttributeAsync in Playwright
I am converting a old Selenium/C# test suite to Playwright/C# and it is going very well apart from one little issue, which is....
In the Selenium suite this code correctly returns the value from a ...
0
votes
0
answers
31
views
Rotating Authenticate Proxy In Selenium Using Chrome Driver
import zipfile
import json
import os
from selenium import webdriver
from selenium.webdriver.chrome.options import Options
from selenium.webdriver.common.by import By
import time
def ...
-3
votes
0
answers
35
views
Similar to Python Tkinter but in JavaScript [closed]
Is there any way of doing something similar to Python/Tkinter but in JavaScript?!
As soon as i hit the icon, i run my Automation...
I've been researching and read something about React and Electron ...
2
votes
2
answers
47
views
Switching to Iframe with rotating ID Selenium
I am trying to access the login iframe from https://www.steelmarketupdate.com/. Previously I was able to access this via XPATH
client.switch_to.frame(client.find_element(By.XPATH, "/html/body/div[...
0
votes
3
answers
61
views
Parse XML file using selenium and bs4?
i try to parse a xml-file using the following code:
import time
from bs4 import BeautifulSoup
from selenium import webdriver
from selenium.webdriver.chrome.options import Options
from selenium....
0
votes
0
answers
16
views
Web automation with Java SSO login and Selenium
I'm automating a website, but this website takes the session of the logged-in user via SSO. If I'm already logged in to the email and I access the page, it automatically takes me to the dashboard. ...
0
votes
0
answers
49
views
How can I run multiple tests in the same Chrome window
I have seen several posts around this, but none that really answer how to do it. We are currently using Selenium and Java to test our applications in Chrome. We are moving to a single sign-on (SSO) ...