Dapatkan lokasi

const assert = require('assert')

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

    it('should demonstrate the getLocation function', async () => {
       await browser.url('https://v5.webdriver.io')
       
       const logo = await $('#search_input_react')
       const location = await logo.getLocation();
       console.log(location);

       const xLocation = await logo.getLocation('x')
       console.log("Xlocation" +xLocation);
    })
})
Vivacious Vicuña