Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
seleniumbase
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
seleniumbase
9mo ago
Looks like that one hasn't received any major updates in awhile.
2.
▲
by
seleniumbase
9mo ago
The secret ingredient is to use Playwright's `connect_over_cdp()` method to connect to an existing browser that is already stealthy. Playwright can then perform its usual actions without being detected by anti-bot services. Example set
3.
▲
Stealthy Playwright Mode: Bypass CAPTCHAs and Bot-Detection [video]
(youtube.com)
5 points
by
seleniumbase
9mo ago
|
4 comments
4.
▲
by
seleniumbase
11mo ago
Mix in some Python, PyAutoGUI, SeleniumBase, ThreadPoolExecutor, and then you get some serious multi-threaded CAPTCHA-bypass.
5.
▲
High-speed CAPTCHA-bypass with Python / PyAutoGUI [video]
(youtube.com)
8 points
by
seleniumbase
11mo ago
|
1 comments
6.
▲
Web-scraping past bot-detection from GitHub Actions (e.g. Walmart prices)
(github.com)
11 points
by
seleniumbase
1y ago
|
0 comments
7.
▲
by
seleniumbase
2y ago
You can set `browser="firefox"`, but there's no stealth mode for it.
8.
▲
by
seleniumbase
2y ago
Here's an example that bypasses Kasada on the Hyatt website: https://github.com/seleniumbase/SeleniumBase/blob/master/exa...
9.
▲
by
seleniumbase
2y ago
It's OK. No offense was taken. It almost looked like the conversation was expanding into a "Python vs Java" debate, but (thankfully) it did not. I've seen both worlds. I've seen advantages to both. I decided to stay
10.
▲
by
seleniumbase
2y ago
Thank you!
11.
▲
by
seleniumbase
2y ago
The biggest issue with going from a home machine to a server is that you may lose having a "residential IP address", which is something that you'll want to have in order to prevent automation from being blocked outright. Henc
12.
▲
by
seleniumbase
2y ago
The "Python vs Java" debate is probably one for a different Hacker News post. :)
13.
▲
by
seleniumbase
2y ago
SeleniumBase CDP Mode uses `DOM.scrollIntoViewIfNeeded` ( https://chromedevtools.github.io/devtools-protocol/tot/DOM/#... ), so it only scrolls when elements are offscreen, rather than always scrolling. This re
14.
▲
by
seleniumbase
2y ago
Patching chromedriver is a lot easier than patching the browser. Plus, if you're just using a regular Chrome browser for the automation, then there's nothing to patch. Automated CDP calls aren't detectable if they don't
15.
▲
by
seleniumbase
2y ago
There are live demos on YouTube of SeleniumBase bypassing CAPTCHAs (if you want see first): https://www.youtube.com/watch?v=Mr90iQmNsKM
16.
▲
by
seleniumbase
2y ago
There's actually a lot of examples being used for testing ( https://github.com/seleniumbase/SeleniumBase/tree/master/exa... ), which are run regularly (locally and in GitHub Actions). Plus, a lot of m
17.
▲
by
seleniumbase
2y ago
There's a reCAPTCHA on the Pokemon website. This SeleniumBase example bypassed it: https://github.com/seleniumbase/SeleniumBase/blob/master/exa...
18.
▲
by
seleniumbase
2y ago
Call it "legacy code" if you'd like. That specific part is from a less common feature for setting options when running on a Selenium Grid. The new CDP Mode isn't compatible with The Grid (since CDP Mode makes direct CDP
19.
▲
by
seleniumbase
2y ago
That patches chromedriver, (which gets renamed to uc_driver), but patching by itself isn't enough to bypass bot-detection. SeleniumBase also sets specific Chrome options and modifies methods to use the Chrome Devtools Protocol.
20.
▲
by
seleniumbase
2y ago
With SeleniumBase, you can bypass CAPTCHAs with one line of code: `sb.uc_gui_click_captcha()`
21.
▲
by
seleniumbase
2y ago
That method came from code that I accepted in a PR from December 31, 2019: https://github.com/seleniumbase/SeleniumBase/pull/459 Not a true representation of most of the code today.
22.
▲
by
seleniumbase
2y ago
SeleniumBase modifies the webdriver so that it doesn't get detected when used alongside the CDP stealth mode and methods. It'll download chromedriver for you. Not sure what you mean by the multiple branches, as there's just t
23.
▲
SeleniumBase: Python APIs for web automation and bypassing bot-detection
(github.com)
177 points
by
seleniumbase
2y ago
|
67 comments
24.
▲
The virtual device farm for rendering websites on multiple devices
(seleniumbase.io)
104 points
by
seleniumbase
6y ago
|
27 comments
25.
▲
SeleniumBase lets you load JavaScript packages into any website
(github.com)
5 points
by
seleniumbase
6y ago
|
0 comments
26.
▲
Generating HTML charts with Python and Highcharts
(github.com)
3 points
by
seleniumbase
6y ago
|
0 comments
27.
▲
Creating HTML presentations using Python
(github.com)
3 points
by
seleniumbase
6y ago
|
0 comments
28.
▲
Using Python to load JavaScript packages into any website
(dev.to)
6 points
by
seleniumbase
6y ago
|
0 comments
29.
▲
Using Python and Selenium for mobile-device testing on Chromium-based browsers
(github.com)
7 points
by
seleniumbase
6y ago
|
0 comments
30.
▲
by
seleniumbase
6y ago
Here's the main website: https://github.com/seleniumbase/SeleniumBase
More ›