Positioning of page elements

from Selenium Import the webdriver 

B = webdriver.Firefox () 
B. GET ( " http://www.baidu.com " ) 
b.title ------------------ ' Baidu look, you know ' 
Print ( " Baidu "  in b.title) --- True (judgment is correct)

Positioning elements

Operating elements

 

Guess you like

Origin www.cnblogs.com/wzc27229/p/11280496.html