回答編集履歴
2
語句修正
test
CHANGED
@@ -1,6 +1,4 @@
|
|
1
|
-
普段は ruby なので、```Selenium::WebDriver::Firefox::Profile```で、使用するプロファイル名を指定でき
|
1
|
+
普段は ruby なので、```Selenium::WebDriver::Firefox::Profile```で、使用するプロファイル名を指定できたと思っています。
|
2
|
-
|
3
|
-
|
4
2
|
|
5
3
|
|
6
4
|
|
1
追記
test
CHANGED
@@ -5,3 +5,17 @@
|
|
5
5
|
|
6
6
|
|
7
7
|
きっと Python でも指定するオプションがあるのではないかと [Selenium with Python Documents](http://selenium-python.readthedocs.io/) を読んでいたら [webdriver.FirefoxProfile](http://selenium-python.readthedocs.io/api.html#module-selenium.webdriver.firefox.firefox_profile) というのがありましたので、webdriver.FirefoxProfile あたりで、できないでしょうか?
|
8
|
+
|
9
|
+
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
テストしていませんが、マニュアルを見る限りでは、こんな感じでしょうか?
|
14
|
+
|
15
|
+
```Python
|
16
|
+
|
17
|
+
fp = webdriver.FirefoxProfile('プロファイル')
|
18
|
+
|
19
|
+
driver = webdriver.Firefox(fp)
|
20
|
+
|
21
|
+
```
|