How do I get hold of modal window and do some action on it using selenium.
I have on url which opens a modal window (probably javascript). The window has two input fields and two buttons. I need to enter data in the input fields and click one of the button.