我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

Escape Print在代码中弹出

i am using codeception in my case when i click on next BTN there is a print pop up apear and can not complite my test i try to use the below code :

   $I->click('next'); 
   $I->wait('5');
   $I->cancelPopup('window.print');

but dose not work also i try to use cancelPopup function as below :

   1- $I->cancelPopup();
   2- $I->cancelPopup('window.print()');
   3- $I->cancelPopup('window.print');

but same case can anyone tell me how can i escape the print popub ?

近期文章

  • htaccess Url基于特定字符重写
  • PHP Mysql选择在哪里和之后的地方
  • 在用户通过移动应用中的OAuth进行身份验证后,如何从Laravel中提取数据?
  • 通过从文本文件中读取所选值,从下拉菜单中保留所选值
  • 按计划克隆json文档
  • 将textField从app提交到PHP
  • 升级后,apache和Centos 6.5上的PHP版本不同
  • PHP eval和依赖注入
  • 如何杀死从终端mac osx使用线程的php进程
  • 语法错误,格式错误的JSON SLIMCD
  • ftp_get()损坏大文件下载
  • Laravel 5:使用带有标准Paginate结果的简单分页箭头
  • json从result.php文件url解析
  • 破坏的base64中的字符集不正确
  • 通过php获取OSM中的'maxspeed'标签
  • 将PHP变量作为参数传递给XSL
  • OS X Yosemite - 无法登录MySQL服务器
  • 含义:mssql_rows_affected返回-1?
  • Jquery文件上传JSON空错误
  • XPath子串 - 后帮助/查询/评估?

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华