jahan
2017-11-19 14:01:12 +08:00
elem = driver.find_element_by_class_name('tv-header__device-signin js-header__signin')
#elem_1 = driver.find_element_by_link_text('#signin')
print("elem as follows:", elem)
#print(elem_1)
elem_2 = driver.find_element(By.CLASS_NAME, 'tv-unauth-header')
print("elem_2 as follows:", elem_2)
elem_3 = driver.find_element(By.CLASS_NAME, 'tv-unauth-header__text-input js-go-to-chart-field')
print("elem_3 as follows:", elem_3)
找到了这几个靠近这个区域的,不过觉得不是 username 和 password 的输入哈