回答編集履歴
1
参考となるサイトを追記しました。
answer
CHANGED
@@ -10,4 +10,10 @@
|
|
10
10
|
number = driver.find_element_by_css_selector('span.count > span')
|
11
11
|
```
|
12
12
|
|
13
|
-
上記例で、1つめの`<li></li>`内の **'ABCD'** に対して、number へ **'5'** が代入されるかと。
|
13
|
+
上記例で、1つめの`<li></li>`内の **'ABCD'** に対して、number へ **'5'** が代入されるかと。
|
14
|
+
|
15
|
+
---
|
16
|
+
|
17
|
+
<ご参考>
|
18
|
+
- [Selenium API(逆引き)・・・Selenium APIを利用目的から検索できます](https://www.seleniumqref.com/api/webdriver_gyaku.html)
|
19
|
+
- [Selenium Python(ABC順)・・・SeleniumのPython APIをABC順に検索できます](https://www.seleniumqref.com/api/webdriver_abc_python.html)
|