Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
105 views

I am trying to convert a selenium driver to seleniumbase CDP driver as codes below: from selenium import webdriver from selenium.webdriver.chrome.options import Options opts = Options() opts....
chen li's user avatar
0 votes
1 answer
77 views

I used to use pure Selenium previously and back then I added Cookie to my webdriver object in webdriver init fixture like this: @pytest.fixture(scope="session") def webdriver_fixture(...
ReGuardian's user avatar
0 votes
0 answers
45 views

on this page I am trying to find list of href elements (see picture). With links = sb.find_elements(By.XPATH, "//div[@class='dropdownPanel']/a") I found many more results. But when i try ...
Rok Golob's user avatar
1 vote
1 answer
56 views

Suppose I have multiple div elements like the following: <div style="background-color:#FFF4A3;"> <h2>London</h2> <p>London is the capital city of England.</p&...
robertspierre's user avatar
0 votes
1 answer
112 views

on this page I want to parse few elements. I would like to get text in circles and use attribute value to click sometimes. That code returns anything. With this code I want to get all attribute ...
Rok Golob's user avatar
3 votes
1 answer
88 views

I have a table header element: <th><input type="image" src="../../..//images/icons/cell_state_header_icon.png" onclick="javascript:__doPostBack('ctl00$left_pane$...
robm's user avatar
  • 1,217
2 votes
2 answers
127 views

Nothing needed sorry for thepost
R.Merritt's user avatar
  • 497
1 vote
1 answer
85 views

I have a small annoyance with seleniumbase: after importing it, printing to the Shell window will always add strange characters like "[0m" for some reason. See the image to show what I mean. ...
DoctorEvil's user avatar
0 votes
1 answer
53 views

We have a long-running process that creates RemoteWebDriver and works with Chrome browser; it is destroyed (.close() and .quit()) when needed. Now we're planning to migrate to SeleniumBase, and I ...
Daniel Protopopov's user avatar
0 votes
2 answers
160 views

I am currently writing a program in Python using SeleniumBase, however, I want to click a button via the text inside it and it is not working. This is an example code block: from seleniumbase import ...
Zak Virgo's user avatar
0 votes
1 answer
287 views

How do I use uc_gui_click_captcha when using sb_cdp? It's possible with the context manager but how do I do it with sb_cdp? from seleniumbase import sb_cdp url = "https://example.com" sb = ...
Hal's user avatar
  • 131
0 votes
2 answers
433 views

I'm trying to use an authenticated proxy with seleniumbase (I'm using python) while running the browser in undetected Chrome (uc=True). However, despite trying multiple approaches, I'm unable to get ...
john Lennon's user avatar
1 vote
1 answer
70 views

I am trying to log in to apollo.io using seleniumbase. When I open the page the program should enter the email, password and click the log in button, but for some reason it doesn't enter the @ in the ...
SolidOpt's user avatar
  • 113
2 votes
2 answers
334 views

Currently I built a script using seleniumbase. It works well, but due to the website policy, I had to use proxy. I purchased a premium proxy from oxylabs.io and generated this kind of endpoint: ...
Maksym's user avatar
  • 23
1 vote
0 answers
110 views

I'm using SeleniumBase in headless mode with xvfb support: with SB(uc=True, headless=True, xvfb=True) as sb: ... I have no Chrome window but sometimes I can see Download complete messages. What I'...
Egor's user avatar
  • 167
0 votes
1 answer
447 views

I am trying to scrape a site that has a cloudflare bot check I currently use import undetected_chromedriver as uc and portable CHROME.EXE however this seems to not get me around the bot check , so ...
RobM's user avatar
  • 835
0 votes
1 answer
57 views

I am using behave 1.2.6 in Python via seleniumbase to test changes to our IAM system. I have a scenario like the following: Scenario Outline: Create User Given Open User Creation Page And ...
Albert Chin's user avatar
0 votes
1 answer
106 views

On the local computer, SeleniumBase works correctly with the proxy argument passed, but on ubuntu it outputs an empty html document with the proxy argument. Below I attach the code of the simplest ...
Vit Kos's user avatar
0 votes
1 answer
365 views

When using SeleniumBase in CDP mode, I am trying to disable the network before I do some custom parsing stuff. I have tried sb.execute_cdp_cmd('Network.disable', {}) but it doesn't seem to do anything ...
sudoExclamationExclamation's user avatar
0 votes
0 answers
79 views

The below simple example shows my problem. The link: https://finance.yahoo.com/ contains a video which autoplays. It's not an mp4 or similar video file. I think it's a stream. I am trying to prevent ...
sudoExclamationExclamation's user avatar
1 vote
1 answer
505 views

I am using SeleniumBase in CDP Mode. I am having a hard time figuring out if this a python issue or SeleniumBase issue. The below simple example shows my problem: from seleniumbase import SB with SB(...
sudoExclamationExclamation's user avatar
0 votes
1 answer
245 views

The below example: from seleniumbase import SB with SB(uc=True, locale_code="en", headless=True) as sb: link = "https://antoinevastel.com/bots/" print(f"\nOpening {link}...
sudoExclamationExclamation's user avatar
1 vote
1 answer
303 views

I am using SeleniumBase in CDP Mode. I am trying to figure out how to set the window size in CDP Mode AFTER the website is loaded? If I use the non CDP function sb.set_window_size(x,y), then it gets ...
sudoExclamationExclamation's user avatar
1 vote
1 answer
98 views

I'm experimenting with the seleniumbase recorder: from seleniumbase import BaseCase BaseCase.main(__name__, __file__) class RecorderTest(BaseCase): def test_recording(self): ...
user1592380's user avatar
  • 36.9k
0 votes
0 answers
100 views

I am currently creating a program in Python which uses the seleniumbase library for web automation. It works as intended for the most part, however, occasionally, I receive the error ...
Zak Virgo's user avatar
0 votes
1 answer
239 views

I have the following script in Python but when the page loads the captcha does not work Can someone help me? On Windows I have this code that works well for me but on Linux it doesn't work for me ...
Oswuell's user avatar
  • 121
2 votes
1 answer
220 views

I have the following script in Python but when the page loads the captcha does not work Can someone help me? On Windows I have this code that works well for me but on Linux it doesn't work for me ...
Oswuell's user avatar
  • 121
1 vote
1 answer
810 views

I am currently writing a python program which uses a seleniumbase web bot with CDP mode activated: with SB(uc=True, test=True, xvfb=True, incognito=True, agent=<user_agent>, headless=True) as sb:...
Zak Virgo's user avatar
0 votes
0 answers
189 views

I am using SeleniumBase in UC mode to launch a website. When I run my script as a .py file in PyCharm, it works fine. However, after converting it to an .exe file using PyInstaller and running the ....
donaldekpe's user avatar
1 vote
0 answers
57 views

Description: I am experiencing an issue where the SeleniumBase Driver initialization works perfectly when the code is executed manually using python3, or when Flask is run manually. However, when the ...
BHAUTIK A. MANGUKIYA's user avatar
1 vote
0 answers
72 views

The following is a seleniumbase python script I'm working on, and need some advice on how to use the get_page_source() method. The second print(html) is not correct because the screen changed, and it ...
George's user avatar
  • 11
0 votes
0 answers
61 views

There are a few ressources on how to run selenium in Streamlit cloud with chromium, and this example with google-chrome-stable. But I couldn't find any specific instructions for seleniumbase. ...
abdelgha4's user avatar
  • 481
1 vote
2 answers
289 views

I am trying to capture responses using Selenium and undetected, this is working normally using those two: import undetected_chromedriver as uc capabilities = DesiredCapabilities.CHROME capabilities[&...
Matteo's user avatar
  • 2,722
1 vote
1 answer
415 views

I am currently creating an application which involves 2 webdrivers. One webdriver uses the undetected_chromedriver library and one uses seleniumbase in UC mode: driver1 = undetected_chromedriver....
Zak Virgo's user avatar
0 votes
1 answer
620 views

I’m using SeleniumBase with Undetected ChromeDriver (UC) to bypass captchas. The script works perfectly on my macOS (local machine) using Chrome. However, when I run the same code inside a Docker ...
Arthur's user avatar
  • 1
1 vote
1 answer
483 views

I'm working on a web scraping script using SeleniumBase on an Ubuntu virtual machine (VM), and I'm running into issues with headless mode and xvfb. This script works perfectly on my local Windows ...
Rai's user avatar
  • 67
0 votes
0 answers
134 views

I am writing an application in python which is currently using undetected-chromedriver for a web bot. I am trying to switch to seleniumbase, by creating a 'Driver' object. My driver at the moment ...
Zak Virgo's user avatar
2 votes
1 answer
380 views

Is it possible to launch seleniumbase in UC mode in google colab? I ran the cell with this code (no other cells were ran with that colab runtime before): !sudo apt update && sudo apt upgrade !...
Archive the Archive's user avatar
0 votes
1 answer
138 views

I'm using SeleniumBase in Python to automate interactions on a webpage. My script runs perfectly in non-headless mode, but when I set it to headless (headless=True or headless2=True), it fails to find ...
Rai's user avatar
  • 67
0 votes
0 answers
125 views

I'm using Selenium to scrape service reading data from the Servipag website with a script that retries up to 5 times in case of errors. The page structure hasn't changed, and this function was ...
Rai's user avatar
  • 67
1 vote
0 answers
37 views

I'm trying to host my scraper on the cloud using a docker file since I can't install a desktop env on my vps. I can't find any examples for seleniumbase and it must run in headful mode for the ...
Hope's user avatar
  • 11
0 votes
0 answers
60 views

This is a general question about selenium. When I open the dev tools on a certain website and search for an Xpath, I can locate the elements I'm looking for, so I know the Xpath is valid and does what ...
Junglemath's user avatar
1 vote
0 answers
205 views

I'm currently using SeleniumBase with UC mode to launch a web page. After starting a browser instance in one script, I would like to reuse that instance in another script within the same project. ...
Donald Ekpe's user avatar
1 vote
0 answers
150 views

I'm still a beginner in coding and I wrote a simple script to scrape some data from a real estate website and it worked just fine for a few weeks, but now it simply stopped working because it can't ...
Gabriel Moraes's user avatar
1 vote
0 answers
3k views

I crossposted this to the UC github discussions: I'm a hack hobbyist so please forgive my lack of codiing skills. Yesterday my chromedriver and uc (I think) updated and I'm now getting a Timeout ...
johnv929's user avatar
0 votes
1 answer
245 views

I run the newest seleniumbase. I need the uc mode for the login and etc. I got this only after the newest chromium released (130). driver = Driver(uc_cdp=True, incognito=True)' driver.get("https:...
tromotixc's user avatar
2 votes
1 answer
325 views

I'm currently running a scrapy spider using a seleniumbase middleware and for some reason it is scraping chrome-extension URLs. I'm scraping the https://www.atptour.com website and at no point does my ...
Jossy's user avatar
  • 1,121
0 votes
1 answer
1k views

with SB(uc=True, Headless=True) as sb: for url in urls: sb.uc_open_with_reconnect(url, 5) sb.uc_gui_handle_captcha() time.sleep(2) has_next_page = True I'm facing ...
Hafiz pambudi's user avatar
1 vote
1 answer
561 views

I attempted to scrape a website that has a bot-blocker from cloudflare using this code: with SB(uc=True, headless2=True) as sb: for url in urls: sb.uc_open_with_reconnect(url, 5) ...
Hafiz pambudi's user avatar
0 votes
1 answer
102 views

I have a MVC application written in C# and hosted on IIS. In my C# code, I am trying to call a Python script to access the Scopus website and retrieve user information. The Python script works ...
Abdul Hadi's user avatar
  • 1,228