from selenium import webdriverimport timedriver=webdriver.Chrome()driver.get("http://www.126.com")print('Before login========')#打印当前页面titletitle=driver.titleprint(title)#打印当前页面URLnow_url=driver.current_urlprint(now_url)driver.switch_to.default_content()driver.switch_to_frame(0)driver.find_element_by_xpath("//div[@class='u-input box']/input[@name='email']")
添加回答
举报
0/150
提交
取消