User
User

Reputation: 1

Pop up blocker in Selenium

I'm facing the pop up blocker issue while open the popup window from parent button Click.

Error Reference

I tried the following things but I'm facing the same Error.

1.In internet option->privacy tab I unchecked "Turn On block pop up" option. 2.under security tab I tried with uncheck the Enable protected mode. 3.added my website in the popup allowing site also under "turn on block popup"

Note :

1.I'm able to open the popup by manually without any interruption. 2.I'm using IE and C# .

Upvotes: 0

Views: 1210

Answers (1)

Mahmud Riad
Mahmud Riad

Reputation: 1165

You should set the capabilities for IE Like below.

caps.setCapability("browserstack.ie.enablePopups", "true");

Upvotes: 1

Related Questions