如何在编程中为 Angular 应用程序和 HTML 创建 DragEvent?
使用 Protractor API 创建 DragEvent。官方 状态
The browser.get method loads a page. Protractor expects Angular to be present on a page, so it will throw an error if the page it is attempting to load does not contain the Angular library. (If you need to interact with a non-Angular page, you may access the wrapped web driver instance directly with browser.driver).
也使用以下模式
browser
.actions()
.dragAndDrop(myEle, {x:100,y:100})
.perform();
广告
数据结构
网络
RDBMS
操作系统
Java
iOS
HTML
CSS
Android
Python
C 语言程序设计
C++
C#
MongoDB
MySQL
Javascript
PHP