Skip to content

Modal Dialog error, but no Alert was found #153

Description

@capetoider

I've been having problem with these...

Sometimes a alert shows, I click ok and then all code I try gives the err 26 = UnexpectedALertOpenError Modal dialog present

I've tried to driver.SwitchToAlert.Accept (or Dismiss, or even just to check if there is one) and when I try: err 27 = NoAlertPresentError No alert is present.

Since there are logins and passwords to be entered, my approach was to: open and leave a msgbox in excel for them to click ok after entering the credentials... but there is one place where a popup happens and i just cant get around this...

I already clicked the damn thing but the error doesnt disappear. I even tried pressing and holding esc in the page to account for any hidden ones to no avail...

Even closing and reopening (manually) the page doesnt clear the error.

The code becomes unusable, I have to end and do everything again.

(PS: cant share link, it's a intranet one)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions