Haga clic en el objeto de la página

const assert = require('assert')
const mainPage = require('../pageobjects/mainpage.js');

describe('v5.webdriver.io', () => {

    it('should demonstrate the click command', async () => {

        await browser.url('https://v5.webdriver.io');
        await mainPage.clickGuidButton('click with metod');

        await browser.pause(2000);
    }) 

})
Vivacious Vicuña