MCPcopy Create free account
hub / github.com/seleniumbase/SeleniumBase / initialize_word_list

Method initialize_word_list

examples/wordle_test.py:11–14  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

9 word_list = []
10
11 def initialize_word_list(self):
12 txt_file = "https://seleniumbase.github.io/cdn/txt/wordle_words.txt"
13 word_string = requests.get(txt_file, timeout=3).text
14 self.word_list = ast.literal_eval(word_string)
15
16 def modify_word_list(self, word, letter_status):
17 new_word_list = []

Callers 1

test_wordleMethod · 0.95

Calls 1

getMethod · 0.45

Tested by

no test coverage detected