alert property

Alert alert

Switches to the currently active modal dialog for this particular driver instance.

In implementation, just getting alert won't trigger anything. Call alert.text or other action to really switch to alert.

Implementation

Alert get alert => Alert(_client, _handler);