informatica:linux:selenium:ejemplos
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
informatica:linux:selenium:ejemplos [2020/05/01 08:38] – jose | informatica:linux:selenium:ejemplos [2020/05/01 08:39] – jose | ||
---|---|---|---|
Line 88: | Line 88: | ||
xpath = "// | xpath = "// | ||
o = driver.find_element_by_xpath(xpath) | o = driver.find_element_by_xpath(xpath) | ||
+ | o.click() | ||
Podemos seleccionar por texto, pero cuidado con las webs multidioma: | Podemos seleccionar por texto, pero cuidado con las webs multidioma: | ||
xpath = "// | xpath = "// | ||
o = driver.find_element_by_xpath(xpath) | o = driver.find_element_by_xpath(xpath) | ||
+ | o.click() |
informatica/linux/selenium/ejemplos.txt · Last modified: 2020/07/04 00:22 by jose