<commit_before>var playTarget = '.player-controls__play';
var nextTarget = '.button_round';

function onKeyPress(key) {
    if (key === NEXT) {
        var cards = document.querySelectorAll('.slider__item')
        var nextCard = cards[cards.length - 3];
        
        console.log(nextCard);
        simulateClick(nextCard.querySelector(nextTarget));
    } else if (key === PLAY) {
        simulateClick(document.querySelector(playTarget));
    }
}<commit_msg>Fix issue with forward button at Yandex.Radio<commit_after>var playTarget = '.player-controls__play';
var nextTarget = '.button_round';

function onKeyPress(key) {
    if (key === NEXT) {
        var nextCard = document.querySelector('.slider__item_next');

        console.log(nextCard);
        simulateClick(nextCard.querySelectorAll(nextTarget)[2]);
    } else if (key === PLAY) {
        simulateClick(document.querySelector(playTarget));
    }
}
{'fraction_non_alphanumeric': 0.13129102844638948, 'fraction_numerical': 0.002188183807439825, 'mean_word_length': 3.5297029702970297, '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': '1990815', 'n_tokens_mistral': 266, 'n_tokens_neox': 266, 'n_words': 52}