Is there a way to set viewport in current version of WebDriverIO i.e. V6(async)? I want to set responsive dimensions for the inner browser and not outer browser size.
I tried to zoom out using :
await browser.executeAsync((done) => { done(document.body.style.zoom = '25%'); });
so that I can view the whole page view on the screen entirely but the actions like clicking on the elements doesn't happen because the css properties changes and it gives me following error:
element click intercepted: Element ... is not clickable at point (561, 72). Other element would receive the clickI tried to zoom out using :