Skip to content

How to click confirm button in the pop-up #679

@Jinfengv

Description

@Jinfengv

I want to click the confirm button in the pop-up
I used xrmApp.Dialogs.ConfirmationDialog(true); but it doesn't work,can anybody help me?
QQ截图20191120163840

I used the following code and it still doesn't work
IAlert alert = client.Browser.Driver.SwitchTo().Alert();
alert.Accept();
error information: OpenQA.Selenium.NoAlertPresentException: no such alert

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions