Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

if element is not visible single condtion

from selenium.common.exceptions import NoSuchElementException

try:
    element=driver.find_element_by_partial_link_text("text")
except NoSuchElementException:
    print("No element found")
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #element #visible #single #condtion
ADD COMMENT
Topic
Name
5+3 =