回答編集履歴

2

実行環境の補足、コードの修正

2018/02/12 23:38

投稿

退会済みユーザー
test CHANGED
@@ -3,6 +3,8 @@
3
3
 
4
4
 
5
5
  以下のように、chromedriver(Headlessモード)を使うと取得できたので、おそらくPhantomJSの問題だと考えられます。
6
+
7
+ (python3.6.1, selenium==3.5.0で実行)
6
8
 
7
9
 
8
10
 
@@ -19,6 +21,8 @@
19
21
  options = Options()
20
22
 
21
23
  options.add_argument("--headless")
24
+
25
+ options.add_argument("--disable-gpu")
22
26
 
23
27
  driver = webdriver.Chrome(executable_path='chromedriverのpath',chrome_options=options)
24
28
 

1

リンクの修正

2018/02/12 23:38

投稿

退会済みユーザー
test CHANGED
@@ -48,6 +48,6 @@
48
48
 
49
49
 
50
50
 
51
- [^1]: <https://github.com/ariya/phantomjs/issues/15287>
51
+ [^1]: [When PhantomJS will be support ES6?](https://github.com/ariya/phantomjs/issues/15287)
52
52
 
53
- [^2]: <https://github.com/SeleniumHQ/selenium/blob/master/py/CHANGES>
53
+ [^2]: [selenium/CHANGES at master](https://github.com/SeleniumHQ/selenium/blob/master/py/CHANGES)