20 lines
561 B
Markdown
20 lines
561 B
Markdown
# Selenium
|
|
|
|
## Move the mouse to element(s) then click at the end
|
|
|
|
```python
|
|
e1 = driver.find_element_by_xpath('//*[@id="nav"]/ol/li[5]/a')
|
|
e2 = e1.find_element_by_xpath('../ul/li[1]/a')
|
|
actions.move_to_element(e1).move_to_element(e2).perform()
|
|
e2.click()
|
|
```
|
|
|
|
https://stackoverflow.com/questions/43161987/python-selenium-how-to-move-mouse-on-element-which-shows-drop-down-menu
|
|
|
|
https://stackoverflow.com/questions/920910/sending-multipart-html-emails-which-contain-embedded-images
|
|
|
|
class this all up!
|
|
|
|
|
|
add image to a class and iterate through adding each one
|