回答編集履歴
2
語句修正
answer
CHANGED
@@ -1,6 +1,5 @@
|
|
1
|
-
普段は ruby なので、```Selenium::WebDriver::Firefox::Profile```で、使用するプロファイル名を指定でき
|
1
|
+
普段は ruby なので、```Selenium::WebDriver::Firefox::Profile```で、使用するプロファイル名を指定できたと思っています。
|
2
2
|
|
3
|
-
|
4
3
|
きっと 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 あたりで、できないでしょうか?
|
5
4
|
|
6
5
|
|
1
追記
answer
CHANGED
@@ -1,4 +1,11 @@
|
|
1
1
|
普段は ruby なので、```Selenium::WebDriver::Firefox::Profile```で、使用するプロファイル名を指定できるんですね。
|
2
2
|
|
3
3
|
|
4
|
-
きっと 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 あたりで、できないでしょうか?
|
4
|
+
きっと 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 あたりで、できないでしょうか?
|
5
|
+
|
6
|
+
|
7
|
+
テストしていませんが、マニュアルを見る限りでは、こんな感じでしょうか?
|
8
|
+
```Python
|
9
|
+
fp = webdriver.FirefoxProfile('プロファイル')
|
10
|
+
driver = webdriver.Firefox(fp)
|
11
|
+
```
|