Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

selenium assert text on page python

body_text = driver.find_element_by_tag_name('body').text
assert 'my text' in body_text
 
PREVIOUS NEXT
Tagged: #selenium #assert #text #page #python
ADD COMMENT
Topic
Name
8+8 =