Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

click page object

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);
    }) 

})
 
PREVIOUS NEXT
Tagged: #click #page #object
ADD COMMENT
Topic
Name
7+8 =