Webdriver findElements By xpath

后端 未结 3 702
悲&欢浪女
悲&欢浪女 2020-12-31 22:57

1)I am doing a tutorial to show how findElements By xpath works. I would like to know why it returns all the texts that following the

element with a
3条回答
  •  萌比男神i
    2020-12-31 23:44

    Instead of

    css=#container
    

    use

    css=div.container:nth-of-type(1),css=div.container:nth-of-type(2)
    

提交回复
热议问题