Pastikan teks ada di halaman selenium python
body_text = driver.find_element_by_tag_name('body').text
assert 'my text' in body_text
Precious Pelican
body_text = driver.find_element_by_tag_name('body').text
assert 'my text' in body_text