質問するログイン新規登録

質問編集履歴

1

修正

2019/11/30 15:39

投稿

john_doe_
john_doe_

スコア354

title CHANGED
File without changes
body CHANGED
@@ -17,8 +17,10 @@
17
17
  # 年齢を代入してクリックしたい
18
18
  age = df['age']
19
19
  print(age)
20
- 24歳
21
20
 
21
+ 検索条件 24歳
22
+ Name: 年齢, dtype: object
23
+
22
24
  driver.find_elements_by_xpath("//*[contains(text(), age)]")[0].click()
23
25
 
24
26
  JavascriptException: Message: javascript error: Failed to execute 'getComputedStyle' on 'Window': parameter 1 is not of type 'Element'.