質問編集履歴
1
コードを修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -100,17 +100,17 @@
|
|
100
100
|
|
101
101
|
flame.send_keys(Bi)
|
102
102
|
|
103
|
-
time.sleep(5)
|
104
|
-
|
105
|
-
|
106
|
-
|
107
103
|
search = driver.find_element_by_xpath('//*[@id="wrapper"]/div[5]/div/div/div/div[1]/div/div/div/a/span/div')
|
108
104
|
|
109
105
|
search.click()
|
110
106
|
|
111
|
-
image = driver.find_element_by_xpath('/html/body/div[3]/div[2]/div[3]/div/div[1]').get_attribute("src")
|
112
107
|
|
108
|
+
|
109
|
+
time.sleep(5)
|
110
|
+
|
111
|
+
src = driver.find_element_by_xpath('/html/body/div[3]/div[2]/div[3]/div/div[1]').get_attribute("src")
|
112
|
+
|
113
|
-
|
113
|
+
print(src)
|
114
114
|
|
115
115
|
time.sleep(3)
|
116
116
|
|