Add glossary methods #4

Open
KaKi87 wants to merge 15 commits from Androz2091/deepl-scraper:glossary-v2 into master
Showing only changes of commit ee988e586d - Show all commits

View file

@ -96,6 +96,8 @@ module.exports = {
});
},
setGlossary: async (glossary, sourceLanguage, targetLanguage) => {
sourceLanguage = sourceLanguage.toUpperCase();
targetLanguage = targetLanguage.toUpperCase();
const
glossaryButton = `.lmt__glossary_onOffSwitch_label`,
langSelect = `.lmt__glossary_newEntry_langButton`,