Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/selenium/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何在selenium for android emulator中接受警报? 我试过用下面的代码在selenium for iphone中接受警报。效果很好_Android_Selenium - Fatal编程技术网

如何在selenium for android emulator中接受警报? 我试过用下面的代码在selenium for iphone中接受警报。效果很好

如何在selenium for android emulator中接受警报? 我试过用下面的代码在selenium for iphone中接受警报。效果很好,android,selenium,Android,Selenium,2.是否有任何方法可以接受android emulator的警报 caps.setCapability("autoAcceptAlerts",true); 我已附上下面的警报示例图像。 你在用什么?赛琳德机器人?阿皮姆?或者任何其他???我正在saucelab中执行我的测试用例。

2.是否有任何方法可以接受android emulator的警报

 caps.setCapability("autoAcceptAlerts",true);
  • 我已附上下面的警报示例图像。

  • 你在用什么?赛琳德机器人?阿皮姆?或者任何其他???我正在saucelab中执行我的测试用例。