disable pop-up windows python selenium

2,042 views
Skip to first unread message

Javier Ivan Montero

unread,
Nov 6, 2020, 7:35:34 AM11/6/20
to ChromeDriver Users
Greetings group, I have the following problem:
the option 'add_argument ("- disable-popup-blocking")'
it doesn't work, I leave a copy of my chrome instance, for a solution thanks a lot
chrome.py

John Chen

unread,
Nov 6, 2020, 1:39:08 PM11/6/20
to Javier Ivan Montero, ChromeDriver Users
Hello,
ChromeDriver already allows popups by default, so there is no need to do any special configuration for that. The code co.add_argument("-disable-popup-blocking") from your file wouldn't work anyway, since Chrome arguments need to start with two "-", not one.

How did you tell that disabling popup blocking didn't work? If you can send the code showing how your web page opens popup, I might be able to help further.

Thanks,
John

--
You received this message because you are subscribed to the Google Groups "ChromeDriver Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromedriver-us...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/chromedriver-users/b881f41d-cad5-46c0-ba2d-24d4fbb2faa2n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages