且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何切换到iFrame,在Selenium中不起作用

更新时间:2023-02-15 14:53:43

.find_elements_by_xpath返回列表,从其中删除s,您想要的是.find_element_by_xpath选择第一个元素.

.find_elements_by_xpath return list, remove s from it, what you want is .find_element_by_xpath to select first element.