informatica:linux:selenium
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
informatica:linux:selenium [2020/05/08 09:17] – [Padres e hijos] javi | informatica:linux:selenium [2022/12/27 09:08] (current) – jose | ||
---|---|---|---|
Line 385: | Line 385: | ||
====== Grabar el contenido de la web en un archivo ====== | ====== Grabar el contenido de la web en un archivo ====== | ||
+ | |||
+ | ===== Texto ===== | ||
+ | |||
https:// | https:// | ||
Line 395: | Line 398: | ||
f.write(html) | f.write(html) | ||
</ | </ | ||
+ | |||
+ | ===== Captura de pantalla ===== | ||
+ | |||
+ | < | ||
+ | fichero = f" | ||
+ | driver.set_window_size(1080, | ||
+ | driver.save_screenshot(" | ||
+ | driver.save_screenshot(" | ||
+ | </ | ||
+ |
informatica/linux/selenium.txt · Last modified: 2022/12/27 09:08 by jose