79259685

Date: 2024-12-07 00:01:13
Score: 1
Natty:
Report link

this is probably because seleniuv-webdriver changed their internal name from 'alertBehavior' to 'unhandledPromptBehavior'

you should instead create Capabilities object directly, then call setAlertBehavior(), or if constructing a config object, use the import Capability.UNHANDLED_PROMPT_BEHAVIOR as the key (from selenium-webdriver/lib/capabilities)

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Trung Nguyen