无法使用Elementor npm模块在chrome中启动url

时间:2017-11-14 18:11:27

标签: node.js protractor elementor

  1. 大家好,

    使用以下版本的依赖项在elementor上运行windows 10控制台

    Node : 9.1.0 
    protractor : 5.2.0 
    Elementor : 2.1.0
    ChromeBrowser : 62
    

    webdriver-manager启动并在终端上运行

    当我输入elementor https://www.google.com/

    Chrome浏览器启动但未加载google.com网址 浏览器,我试图将浏览器版本降级为61并尝试静止 同样的问题如下。从控制台我得到记录器下面。请 建议我如何才能实现这一目标

    Using the selenium server at http://localhost:4444/wd/hub [15:39:18]
    I/protractor - [15:39:18] I/protractor - ------- Element Explorer
    ------- [15:39:18] I/protractor - Starting WebDriver debugger in a child 
    process. Element Explorer is still beta, please report issues
    at github.com/angular/protractor [15:39:18] I/protractor -
    [15:39:18] I/protractor - Type to see a list of locator strategies.
    [15:39:18] I/protractor - Use the list helper function to find
    elements by strategy: [15:39:18] I/protractor - e.g.,
    list(by.binding('')) gets all bindings. [15:39:18] I/protractor -
    [15:39:18] I/protractor - Debugger exiting
    

1 个答案:

答案 0 :(得分:1)

downgraded node to below version :

node -v v6.12.0

Elementor, browser.debug(), browser.pause(), browser.enterRepl() everything works fine.

Tried node version manager which nvm module to manage more than one versions of node.