seleniumbase / SeleniumBase

📊 Python's all-in-one framework for web crawling, scraping, testing, and reporting. Supports pytest. UC Mode provides stealth. Includes many tools.
https://seleniumbase.io
MIT License
5.19k stars 961 forks source link

CF dont passed in this url : https://nowsecure.nl/#relax and http://fenom.com #2027

Closed reactiver001 closed 1 year ago

reactiver001 commented 1 year ago

Hello I test all example but dont work , only work if click manual in captcha ,

Example :

from seleniumbase import Driver import time

driver = Driver(uc=True) driver.get("https://nowsecure.nl/#relax") page_source = driver.page_source

Print the page source

print(page_source) time.sleep(6) driver.quit()

Its possible automatic and dont click manual ? Thanks

mdmintz commented 1 year ago

This worked for me:

from seleniumbase import Driver
import time

driver = Driver(uc=True)
driver.get("https://nowsecure.nl/#relax")
time.sleep(3)
page_source = driver.page_source
print(page_source)
driver.quit()

Perhaps you didn't wait long enough before getting the page source. Any type of driver command, (such as driver.page_source), can be detected.

reactiver001 commented 1 year ago

Hello , i try now and dont work , have this :

If try manual work good. thanks

Just a moment...

nowsecure.nl

Checking if the site connection is secure

nowsecure.nl needs to review the security of your connection before proceeding.