172 questions
0votes
1answer
20views
How to use uc_gui_click_captcha() in sb_cdp
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 = ...
0votes
0answers
38views
How to handle proxies authentication pop-up using seleniumbase
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 ...
1vote
1answer
61views
SeleniumBase not entering @ in email field when logging into a website
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 ...
1vote
2answers
123views
How to use oxylabs proxy in seleniumbase?
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: ...
1vote
0answers
63views
SeleniumBase disable download notifications
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'...
0votes
1answer
185views
Trying to use chrome with seleniumbase and uc=true option
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 ...
0votes
1answer
35views
Printing progress bar during scenario for step that might take awhile
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 ...
0votes
0answers
86views
SeleniumBase empty html when using proxy on ubuntu
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 ...
0votes
1answer
201views
SeleniumBase in CDP mode - how to disable network?
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 ...
0votes
0answers
58views
In SeleniumBase using sb, how to disable video from loading and playing?
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 ...
1vote
1answer
237views
SeleniumBase CDP mode execute_script and evaluate with javascript gives error "SyntaxError: Illegal return statement"
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(...
0votes
1answer
112views
SeleniumBased in CDP Mode fails web driver fingerprint
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}...
1vote
1answer
75views
How to set window size in Selenium Base in CDP Mode?
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 ...
1vote
1answer
46views
WebGL not supported by browser in Seleniumbase
I'm experimenting with the seleniumbase recorder: from seleniumbase import BaseCase BaseCase.main(__name__, __file__) class RecorderTest(BaseCase): def test_recording(self): ...
0votes
0answers
57views
SessionNotCreatedException in Seleniumbase
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 ...