playwright/test/assets/detect-touch.html

13 lines
271 B
HTML
Raw Normal View History

2019-11-19 05:18:28 +03:00
<!DOCTYPE html>
<html>
<head>
<title>Detect Touch Test</title>
<script src='modernizr.js'></script>
</head>
<body style="font-size:30vmin">
<script>
document.body.textContent = Modernizr.touchevents ? 'YES' : 'NO';
</script>
</body>
</html>