informatica:linux:selenium:ejemplos
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
informatica:linux:selenium:ejemplos [2020/05/01 08:39] – jose | informatica:linux:selenium:ejemplos [2020/07/04 00:22] (current) – jose | ||
---|---|---|---|
Line 93: | Line 93: | ||
o = driver.find_element_by_xpath(xpath) | o = driver.find_element_by_xpath(xpath) | ||
o.click() | o.click() | ||
+ | |||
+ | ====== Grabar todo el contenido de una web ====== | ||
+ | < | ||
+ | content = driver.page_source | ||
+ | with open(' | ||
+ | f.write(content) | ||
+ | </ |
informatica/linux/selenium/ejemplos.txt · Last modified: 2020/07/04 00:22 by jose