1

Is there is any option to close application choice pop up in Chrome, which occurs after clicking any call number button in mobile emulation?

enter image description here

  • What about clicking cancel ? – Michael Durrant May 12 '18 at 19:19
  • I mean automatically, using any Selenium actions, or Chrome built-in options. This popup is not alert, so Selenium's driver.switch_to_alert() doesn't work here. – ornichola May 12 '18 at 19:26
  • I understand it is not an alert. That is why I suggest clicking cancel on whatever part of the DOM it occupies. – Michael Durrant May 12 '18 at 19:42
  • It seems like Chrome only popup, not an web app part, so it doesn't occur in DOM. It also block any touch interactions with web site while popup is shown. – ornichola May 12 '18 at 19:57
  • have you tried using driver.switch_to_alert().accept or driver.switch_to_alert().dismiss ? – NarendraR May 14 '18 at 11:35
1

This is not an alert. It looks like browser notification.

Try this Browser level notification

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.