This is the Opera browser opened from the desktop shortcut:
This is the Opera browser launched via Selenium, and it doesn't show any warning when accessing dangerous websites:
The option to defend against malicious websites is enabled by default, but it doesn't seem to have any effect.