Adapt to newer webdriver api
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { sleep, showKeys, showText } from '../util'
|
||||
import { Browser } from 'webdriverio'
|
||||
|
||||
export async function showZoomLevel(browser: Browser<void>) {
|
||||
export async function showZoomLevel(browser: Browser) {
|
||||
await showKeys('Zoom in', 2000, browser, 'top', ['Ctrl', '+'])
|
||||
await sleep(2000)
|
||||
await showKeys('Zoom out', 2000, browser, 'middle', ['Ctrl', '-'])
|
||||
|
||||
Reference in New Issue
Block a user