With regard to the problem of selenium pop-up window, how to extract the content of this form of pop-up window?


a = driver.switch_to.alert
a.accept ()
if you write in this way, you will report an error Message: no alert open

Mar.09,2021

this is the dom element, not the native pop-up window of the browser. Get


driver.find_element_by_xpath ("XPath value"). Text

) through the selector.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3e75e-2c421.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3e75e-2c421.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?