Skip to content

Commit

Permalink
Merge pull request #115 from VasilisTako/fix_action_error
Browse files Browse the repository at this point in the history
Changed language selector
  • Loading branch information
TheJoin95 authored Mar 14, 2024
2 parents 96bc28a + aa4f987 commit 1bcbca8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/anchorfm-pupeteer/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ async function postEpisode(youtubeVideoInfo) {

async function setLanguageToEnglish() {
await clickSelector(page, 'button[aria-label="Change language"]');
await clickSelector(page, 'div[aria-label="Language selection modal"] a[data-testid="language-option-en"]');
await clickSelector(page, '[data-testid="language-option-en"]');
}

async function login() {
Expand Down

0 comments on commit 1bcbca8

Please sign in to comment.