All Projects → ColdDay → touchRobot

ColdDay / touchRobot

Licence: other
js模拟手指触碰点击,手指滑动,下拉刷新

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to touchRobot

Vuetify Swipeout
👆 A swipe out example built with Vue CLI 3 + Vuetify + Swiper.
Stars: ✭ 117 (+154.35%)
Mutual labels:  touch-events, swiper
Swiper
Most modern mobile touch slider with hardware accelerated transitions
Stars: ✭ 29,519 (+64071.74%)
Mutual labels:  touch-events, swiper
TrackPurchase
단 몇줄의 코드로 다양한 쇼핑 플랫폼에서 결제 내역을 긁어오자!
Stars: ✭ 19 (-58.7%)
Mutual labels:  puppeteer
robotframework-puppeteer
Puppeteer Web testing library for Robot Framework
Stars: ✭ 33 (-28.26%)
Mutual labels:  puppeteer
Spotify-Headless
Experimental wrapper for Spotify API to search songs and control the web player using the CLI. (Feat. Puppeteer)
Stars: ✭ 73 (+58.7%)
Mutual labels:  puppeteer
messages-web
📱 SMS gateway using your own phone!
Stars: ✭ 34 (-26.09%)
Mutual labels:  puppeteer
SlackWebhooksGithubCrawler
Search for Slack Webhooks token publicly exposed on Github
Stars: ✭ 21 (-54.35%)
Mutual labels:  puppeteer
protonmail-api
✉ Node.js API for ProtonMail
Stars: ✭ 108 (+134.78%)
Mutual labels:  puppeteer
page-modeller
⚙️ Browser DevTools extension for modelling web pages for automation.
Stars: ✭ 66 (+43.48%)
Mutual labels:  puppeteer
purescript-toppokki
A binding to puppeteer to drive headless Chrome.
Stars: ✭ 48 (+4.35%)
Mutual labels:  puppeteer
pppr
pppr is a prerender service
Stars: ✭ 18 (-60.87%)
Mutual labels:  puppeteer
puppeteer-electron-quickstart
Quickstart project to run puppeteer library from an Electron application. Using ES-6 and babel.
Stars: ✭ 52 (+13.04%)
Mutual labels:  puppeteer
getting-touchy-presentation
Everything you (n)ever wanted to know about touch and pointer events
Stars: ✭ 42 (-8.7%)
Mutual labels:  touch-events
whatsapp-tracking
Scraping the status of WhatsApp contacts
Stars: ✭ 49 (+6.52%)
Mutual labels:  puppeteer
THREE.Interactive
Fast and simple interaction manager for three.js for enabling mouse and touch events on 3D objects
Stars: ✭ 49 (+6.52%)
Mutual labels:  touch-events
puppeteer-github
GitHub automation driven by headless chrome.
Stars: ✭ 15 (-67.39%)
Mutual labels:  puppeteer
naos
📉 Uptime and error monitoring CLI
Stars: ✭ 30 (-34.78%)
Mutual labels:  puppeteer
php-chrome-html2pdf
A PHP library for converting HTML to PDF using Google Chrome
Stars: ✭ 53 (+15.22%)
Mutual labels:  puppeteer
vrt-react
Take a screenshot 📸 of React component. Push it and compare images in pull request.
Stars: ✭ 19 (-58.7%)
Mutual labels:  puppeteer
HtmlOrMarkdownConvertedToPdf
📚 NodeJS爬虫 + percollate获取网络教程并转成PDF电子书,持续更新
Stars: ✭ 62 (+34.78%)
Mutual labels:  puppeteer

touchRobot

机器模拟移动端触碰点击,手指滑动

Install

NPM

npm install touch-robot
import touchRobot from 'touch-robot';

CDN

<script type="text/javascript" src="./dist/touch-robot.min.js"></script>

Usage

var robot = new touchRobot(dom);

robot.touchLeft();

API

方法(method) 描述(description)
touchLeft 左滑
touchRight 右滑
touchTop 上滑
touchBottom 下滑
touchTo 定点滑动,参数startX,startY,endX,endY
touchClick 触碰点击

DEMO

jQuery-slide滑块验证码

demo

操作步骤

step1
    将代码在控制台粘贴执行
step2
    var robot = new touchRobot(document.querySelector('#btn'));
    robot.touchTo(0,0,400,0);

swiper轮播

demo

操作步骤

step1
    将代码在控制台粘贴执行
step2
    var robot = new touchRobot(document.querySelector('.swiper-container'))
    robot.touchLeft()
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].