回答編集履歴

3

誤記訂正

2021/11/05 00:01

投稿

otn
otn

スコア85901

test CHANGED
@@ -8,7 +8,7 @@
8
8
 
9
9
  ```Python
10
10
 
11
- found = driver.find_elements_by_xpath("//*[@class='selectable msg-text-box _compile ng-scope' or @class='message-input-inner comment-input trigger-input ng-binding ng-scope']")
11
+ found = driver.find_element_by_xpath("//*[@class='selectable msg-text-box _compile ng-scope' or @class='message-input-inner comment-input trigger-input ng-binding ng-scope']")
12
12
 
13
13
 
14
14
 

2

誤記訂正

2021/11/05 00:01

投稿

otn
otn

スコア85901

test CHANGED
@@ -12,7 +12,7 @@
12
12
 
13
13
 
14
14
 
15
- toppost = found.find_element_by_xpath("//*[contains(text(),'APPLE')])
15
+ toppost = found.find_element_by_xpath("//*[contains(text(),'APPLE')]")
16
16
 
17
17
  ```
18
18
 

1

誤記訂正

2021/11/03 11:08

投稿

otn
otn

スコア85901

test CHANGED
@@ -20,7 +20,7 @@
20
20
 
21
21
  ```Python
22
22
 
23
- found = driver.find_elements_by_xpath("//*[(@class='selectable msg-text-box _compile ng-scope' or @class='message-input-inner comment-input trigger-input ng-binding ng-scope') and contains(text(),'APPLE')])
23
+ found = driver.find_elements_by_xpath("//*[(@class='selectable msg-text-box _compile ng-scope' or @class='message-input-inner comment-input trigger-input ng-binding ng-scope') and contains(text(),'APPLE')]")
24
24
 
25
25
  ```
26
26