M
M
miteigi nemoto2020-01-09 18:03:38
Python
miteigi nemoto, 2020-01-09 18:03:38

How to block chat popups in Selenium?

How to block all sorts of chat windows like Jivosite and other modal windows in order to take a clean screenshot through Selenium?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
alex1478, 2020-01-09
@miteigi

Or as suggested above - with an ad blocker. Selenium can launch a browser with a pre-configured profile that has a blocker configured.
Or use JS to remove unnecessary blocks.

D
Dimonchik, 2020-01-09
@dimonchik2013

kill in adblock, adblock doesn't care what to cut

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question