ultrafunkamsterdam / undetected-chromedriver

Custom Selenium Chromedriver | Zero-Config | Passes ALL bot mitigation systems (like Distil / Imperva/ Datadadome / CloudFlare IUAM)
https://github.com/UltrafunkAmsterdam/undetected-chromedriver
GNU General Public License v3.0
9.05k stars 1.09k forks source link

blocking pop-ups #136

Open rwguerra opened 3 years ago

rwguerra commented 3 years ago

Every time i try to open a new tab using driver.execute_script("window.open('https://www.google.com');") its blocked as a popup.

I tried to add some options, but it did not worked.

Is there any way to get away with this?

import undetected_chromedriver.v2 as uc
from undetected_chromedriver.v2 import ChromeOptions
options = ChromeOptions()
options.add_argument('--disable-popup-blocking')
driver = uc.Chrome(options=options)
with driver:
    driver.get('https://www.bet365.com/')
Bl3sk commented 2 years ago

Same problem. :( btw, are u making a betting bot? Im trying to make a betting bot using Martingele system.

phoenixyjy commented 1 year ago

They havent fix this issue yet. It is still present in the newest version