xpath中div[]赋值变量该怎么做?
driver.find_element_by_xpath("/html/body/div/div/div/div/div/div/div/div/div/div/div").click()想把后面的div变成div该怎么写譬如错误写法
```python
for a in range(3,7):
driver.find_element_by_xpath("/html/body/div/div/div/div/div/div/div/div/div/div/div").click()
直接赋值? 赋值
页:
[1]