import { Browser , Element } from 'webdriverio' ; import { showKeys , showText , sleep } from '../util' ; export async function showZoomLevel ( browser ) { await showKeys ( 'Zoom in' , 2000 , browser , 'top' , [ 'Ctrl' , '+' ] ) ; await sleep ( 2000 ) ; await showKeys ( 'Zoom out' , 2000 , browser , 'middle' , [ 'Ctrl' , '-' ] ) ; await sleep ( 2000 ) ; await showKeys ( 'Reset zoom level' , 2000 , browser , 'bottom' , [ 'Ctrl' , 'Zero' ] ) ; await sleep ( 2000 ) ; }