Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

close a popup selenium python

driver.find_element_by_xpath('//div[contains(@class,"ui-dialog") and @aria-describedby="dialogContent2"]//button[@title="Close"]').click()
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #close #popup #selenium #python
ADD COMMENT
Topic
Name
5+4 =