etaoin

vemv 2019-09-26T08:49:00.002200Z

Does etaoin/webdriver (under Chrome) have a way to actively expect an alert (which is triggered by JS code - not by a normal webdriver interaction) Currently I'm getting:

clojure.lang.ExceptionInfo: throw+: {:response {:value {:message "unexpected alert open: ..."}}}
...no much hope for a workaround, thought I'd try anyway

vemv 2019-09-26T08:49:47.002300Z

> no much hope for a workaround I say this b/c because I tried researching the topic this morning, apparently it's a feature that only Firefox has

gklijs 2019-09-26T10:52:06.002500Z

If it's a featur eonly in firefox, you probably want to use a polyfill for other browsers? Or not use it at all?

vemv 2019-09-26T12:12:44.002700Z

I don't refer to a user-facing feature, but to a Webdriver capability

Mario C. 2019-09-26T15:25:04.003Z

Is this something JS can detect?

Mario C. 2019-09-26T15:25:40.003200Z

Perhaps you can try using JS to detect it by executing some JS code that runs in the background