You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/11/23 16:02:14 UTC

[jira] [Commented] (NUTCH-2460) use the headless option of firefox and chrome in protocol-selenium

    [ https://issues.apache.org/jira/browse/NUTCH-2460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16264536#comment-16264536 ] 

ASF GitHub Bot commented on NUTCH-2460:
---------------------------------------

hussein-alahmad opened a new pull request #245: fix for NUTCH-2460 contributed by Hussein Alahmad
URL: https://github.com/apache/nutch/pull/245
 
 
   use the headless option of firefox and chrome in protocol-selenium
   
   the --headless option is added to firefox in version 55 or later , and in chrome in version 59 or later ...
   this is much better than relying on xvfb and its associates .
   we can add it as a property in the config file .
   I'm trying it on my local machine , and will create a pull request when I finish testing it 
   
   I've tested it using firefox 57.0 , gecodriver 0.19.1 and selenium 3.7.1
   
   Important note : you need to add the following property to nutch-default.xml or nutch-site.xml for the headless option to work
   
   <property>
           <name>selenium.firefox.headless</name>
           <value>true</value>
           <description>A Boolean value representing if firefox should
               run headless . make sure that firefox version is 55 or later,
               and selenium webDriver version is 3.6.0 or later. The default value is false.
               Currently this option exist for - 'firefox' </description>
   </property>

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> use the headless option of firefox and chrome in protocol-selenium
> ------------------------------------------------------------------
>
>                 Key: NUTCH-2460
>                 URL: https://issues.apache.org/jira/browse/NUTCH-2460
>             Project: Nutch
>          Issue Type: Improvement
>          Components: plugin, protocol
>            Reporter: hussein Al_Ahmad
>            Priority: Minor
>
> the --headless option is added to firefox in version 55 or later , and in chrome in version 59 or later ...
> this is much better than relying on  xvfb and its associates .
> we can add it as a property in the config file .
> I'm trying it on my local machine , and will create a pull request when I finish testing it .



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)