-1

I have a problem. I would like to test a page and on the page has a link. When i clicked it I see javascript alert. Question: How i can to click the OK?

I work in Symfomy 2.4, codecept 2.0.7 and selenium-server-standalone-2.53.1, firefox webdriver thank you!

cweiske
  • 30,033
  • 14
  • 133
  • 194
k_peter
  • 3
  • 1

1 Answers1

0

Can't you set key press on enter?

$this->driver->getKeyboard()->pressKey('ENTER')

jeremy
  • 309
  • 2
  • 9