<commit_before>var timeout = 20000;
var demoCommands = {
    getSelector: function(client) {
        if(client.globals.environment === 'xvfb_mobile')
            return this.elements.searchResult.selector;
        else
            return this.elements.filters.selector;
    },
    chooseCategory4K: function(client) {
        return this .waitForElementPresent('@category4K', timeout)
                    .click('@category4K')
    },
    clickColumnView: function(client) {
        return this .waitForElementPresent('@columnView', timeout)
                    .click('@columnView')
    },
    clickFirstElementList: function(client) {
        return this .waitForElementPresent('@firstProduct', timeout)
                    .click('@firstProduct')
    }
};
module.exports = {

    commands: [demoCommands],

    elements: {
        searchResult: {
            selector: '.nav-search-input'
        },
        filters: {
            selector: '.applied-fliter'
        },
        category4K: {
            selector: '[href="http://televisores.mercadolibre.com.ar/televisores/tv-4k/tv-led-hd"]'
        },
        columnView: {
            selector: '[href="http://televisores.mercadolibre.com.ar/televisores/tv-4k/tv-led-hd_DisplayType_G"]'
        },
        firstProduct: {
            selector: '.article'
        },
        itemTitle: {
            selector: '.list-view-item-title'
        },
        itemPrice: {
            selector: '.ch-price'
        }
    }
};<commit_msg>Add position to price selector<commit_after>var timeout = 20000;
var demoCommands = {
    getSelector: function(client) {
        if(client.globals.environment === 'xvfb_mobile')
            return this.elements.searchResult.selector;
        else
            return this.elements.filters.selector;
    },
    chooseCategory4K: function(client) {
        return this .waitForElementPresent('@category4K', timeout)
                    .click('@category4K')
    },
    clickColumnView: function(client) {
        return this .waitForElementPresent('@columnView', timeout)
                    .click('@columnView')
    },
    clickFirstElementList: function(client) {
        return this .waitForElementPresent('@firstProduct', timeout)
                    .click('@firstProduct')
    }
};
module.exports = {

    commands: [demoCommands],

    elements: {
        searchResult: {
            selector: '.nav-search-input'
        },
        filters: {
            selector: '.applied-fliter'
        },
        category4K: {
            selector: '[href="http://televisores.mercadolibre.com.ar/televisores/tv-4k/tv-led-hd"]'
        },
        columnView: {
            selector: '[href="http://televisores.mercadolibre.com.ar/televisores/tv-4k/tv-led-hd_DisplayType_G"]'
        },
        firstProduct: {
            selector: '.article:nth-of-type(1)'
        },
        itemTitle: {
            selector: '.list-view-item-title'
        },
        itemPrice: {
            selector: '.ch-price:nth-of-type(1)'
        }
    }
};
{'fraction_non_alphanumeric': 0.13209425821440424, 'fraction_numerical': 0.007965482907401261, 'mean_word_length': 1.9520078354554358, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5369410', 'n_tokens_mistral': 895, 'n_tokens_neox': 866, 'n_words': 124}