Skip to content

Commit

Permalink
fix: changed language selector to fix action error
Browse files Browse the repository at this point in the history
  • Loading branch information
VasilisTako committed Mar 13, 2024
1 parent 96bc28a commit aa4f987
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 aa4f987

Please sign in to comment.